public interface AuthSessionWithUserCacheQualifier extends AuthenticationSession
AuthenticationSession
which provides an additional user cache qualifier for the WGAPI.
This allows it to return dynamic user rights depending on some custom condition, unknown to the WGAPI (for example: The DNS hostname of the request).
The qualifier returned by getCacheQualifier()
should be unique for that custom condition (for example: That DNS hostname).
The WGAPI will use the qualifier to build a separate user cache for it to cache user rights.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheQualifier()
Return the additional cache qualifier for WGAPI
|
getDistinguishedName, getGroups, getMailAddress, getNames, getSessionToken, isValid, logout