Пример #1
0
 public boolean isCallerInRole(final String roleName) throws IllegalStateException {
   return utilities
       .getSecurityManager()
       .isCallerInRole(
           securityMetaData.getSecurityRoles(), securityMetaData.getSecurityRoleLinks(), roleName);
 }
Пример #2
0
 public Principal getCallerPrincipal() {
   return utilities.getSecurityManager().getCallerPrincipal();
 }
Пример #3
0
 public ServerSecurityManager getSecurityManager() {
   return utilities.getSecurityManager();
 }
Пример #4
0
 public SimpleSecurityManager getSecurityManager() {
   return utilities.getSecurityManager();
 }