public interface SecurityManagerService
| Modifier and Type | Method and Description | 
|---|---|
String | 
getOriginalPrincipalName()
Returns the original principal of the current request. 
 | 
String | 
getPrincipalName()
Returns the current principal name. 
 | 
Set<String> | 
getPrincipalRights()
Returns the set of rights of the current principal. 
 | 
boolean | 
hasPrincipalAnyRight(List<String> rights)
Answer whether the current principal is active and has any of the given rights 
 | 
boolean | 
hasPrincipalRight(String right)
Returns true if the current principal has the given right. 
 | 
boolean | 
isPrincipalEnabled()
Returns true if the current principal is enabled. 
 | 
String getPrincipalName()
String getOriginalPrincipalName()
RunAs.boolean isPrincipalEnabled()
Set<String> getPrincipalRights()
boolean hasPrincipalRight(String right)
right - boolean hasPrincipalAnyRight(List<String> rights)
rights - the rights person is required to have (at least one of them) or null if none is requiredCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.