/** * Get the security role names by principal * * @param userName the user name * @return the role name * @throws IllegalArgumentException for a null role name */ public Set<String> getSecurityRoleNamesByPrincipal(String userName) { return getDelegate().getSecurityRoleNamesByPrincipal(userName); }
/** * Get the security role names by principal * * @param userName the user name * @return the role name * @throws IllegalArgumentException for a null role name */ public Set<String> getSecurityRoleNamesByPrincipal(String userName) { return getDelegate().getSecurityRoleNamesByPrincipal(userName); }
if(ad != null && runAsPrincipal != null) extraRoles.addAll(ad.getSecurityRoleNamesByPrincipal(runAsPrincipal));
if(getAssemblyDescriptor() != null) extraRoles = getAssemblyDescriptor().getSecurityRoleNamesByPrincipal(principalName);
if(getAssemblyDescriptor() != null) extraRoles = getAssemblyDescriptor().getSecurityRoleNamesByPrincipal(principalName);
if(getAssemblyDescriptor() != null) extraRoles = getAssemblyDescriptor().getSecurityRoleNamesByPrincipal(principalName);