Beispiel
public class
BeanClass
implements
javax.ejb.EntityBean {
private static
Policy p;
private static
Policy p2;
public void
manageSecurity(){
//..
p = p2.getPolicy();
p2 = p;
Policy p3 = p;
}
//other methods that must implement the interface
}
Lösung
Nehmen Sie keinen Zugriff auf oder keine Änderung von Objekten 'java.security.*' (Policy, Security, Provider, Principal, KeyStore) vor.