public class PrivilegeHolderImpl extends java.lang.Object implements PrivilegeHolder
| Constructor and Description |
|---|
PrivilegeHolderImpl(boolean status) |
PrivilegeHolderImpl(boolean status,
java.lang.String reqAuthLevel,
java.lang.String reqAuthType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRequireAuthenticationLevel()
Optional:
This is called if multi level authentication is supported when
hasPermission method return false. |
java.lang.String |
getRequireAuthenticationType()
Optional:
This is called if multi level authentication is supported when
hasPermission method return false. |
boolean |
hasPermission()
Retrieve the boolean value of privilege check.
|
public PrivilegeHolderImpl(boolean status)
public PrivilegeHolderImpl(boolean status,
java.lang.String reqAuthLevel,
java.lang.String reqAuthType)
public boolean hasPermission()
PrivilegeHolderhasPermission in interface PrivilegeHolderpublic java.lang.String getRequireAuthenticationLevel()
PrivilegeHolderhasPermission method return false.getRequireAuthenticationLevel in interface PrivilegeHolderpublic java.lang.String getRequireAuthenticationType()
PrivilegeHolderhasPermission method return false.getRequireAuthenticationType in interface PrivilegeHolder