Interface PrincipalManager
- All Known Subinterfaces:
PrincipalManagerService
- All Known Implementing Classes:
PrincipalManagerImpl
public interface PrincipalManager
Interface to the principal store.
-
Method Summary
Modifier and TypeMethodDescriptiongetPrincipal(long key, boolean withRoles) Returns the principal from the underlying store.getPrincipal(String name, boolean withRoles) Returns the principal from the underlying store.getRolesFor(String principal) voidupdateTwoFactorData(String username, String secret)
-
Method Details
-
getAnonymousPrincipal
Principal getAnonymousPrincipal() -
getPrincipal
-
getPrincipal
Returns the principal from the underlying store. ThewithRolesargument specifies whether the principal's roles should also be loaded. -
getRole
-
getAllRoles
-
getRolesFor
-
updateTwoFactorData
-