Interface SpecialUserIdentity
-
- All Known Implementing Classes:
SpecialUserIdentityImpl
public interface SpecialUserIdentityInterface representing concerns of determining if token corresponds to the 'special' user. Encapsulates consumption of AuthD.isSpecialUser to aid in unit-tests. Note that the SSOToken returned from AccessController.doPrivileged(AdminTokenAction.getInstance()) corresponds to the 'special' user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSpecialUser(SSOToken token)
-
-
-
Method Detail
-
isSpecialUser
boolean isSpecialUser(SSOToken token)
- Parameters:
token- corresponding to authenticated user- Returns:
- true if the user is a special user; false is returned if it is not the case, or if an exception occurred making this determination.
-
-