if ( System.getSecurityManager() == null ) {
_logger.log(Level.FINE, "SecurityManager is disabled so cannot check against policy");
return true;
}
CORBAObjectPermission perm = new CORBAObjectPermission("*", method);
// Create a ProtectionDomain for principal on current thread.
com.sun.enterprise.security.SecurityContext sc =
com.sun.enterprise.security.SecurityContext.getCurrent();
Set principalSet = sc.getPrincipalSet();