AuthenticationUtils#
- public class AuthenticationUtils#
Useful static methods, mainly for parsing and serializing SessionTokens by the means of web cookies and producing session timeout cookies.
- Author:
tf
Fields#
Methods#
getRoles#
- public static Collection<String> getRoles(Subject user)#
isAnonymous#
- public static boolean isAnonymous(Subject user)#
isAnonymous#
isFromOneTimeTokenRealm#
- public static boolean isFromOneTimeTokenRealm(Subject subject)#
isResponsibleAgentExistent#
- public static boolean isResponsibleAgentExistent(ResponsibleAgent agent)#