public boolean hasRole(String roleIdentifier) { return hasPrincipals() && securityManager.hasRole(getPrincipals(), roleIdentifier); }
public boolean hasRole(String roleIdentifier) { return hasPrincipals() && securityManager.hasRole(getPrincipals(), roleIdentifier); }
@Override public boolean hasRole(PrincipalCollection subjectPrincipal, String roleIdentifier) { return delegate.hasRole(subjectPrincipal, roleIdentifier); }
public boolean hasRole(String role) { return _securityManager.hasRole(_principals, role); }
public boolean hasRole(String roleIdentifier) { return hasPrincipals() && securityManager.hasRole(getPrincipals(), roleIdentifier); }
if (!sm.hasRole(subject.getPrincipals(), constraint.value())) return constraint; break;