Package org.keycloak.adapters.saml
Class SamlSession
- java.lang.Object
-
- org.keycloak.adapters.saml.SamlSession
-
- All Implemented Interfaces:
Serializable,KeycloakAccount
public class SamlSession extends Object implements Serializable, KeycloakAccount
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SamlSession()SamlSession(SamlPrincipal principal, Set<String> roles, String sessionIndex, XMLGregorianCalendar sessionNotOnOrAfter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)SamlPrincipalgetPrincipal()Set<String>getRoles()StringgetSessionIndex()XMLGregorianCalendargetSessionNotOnOrAfter()inthashCode()
-
-
-
Constructor Detail
-
SamlSession
public SamlSession()
-
SamlSession
public SamlSession(SamlPrincipal principal, Set<String> roles, String sessionIndex, XMLGregorianCalendar sessionNotOnOrAfter)
-
-
Method Detail
-
getPrincipal
public SamlPrincipal getPrincipal()
- Specified by:
getPrincipalin interfaceKeycloakAccount
-
getRoles
public Set<String> getRoles()
- Specified by:
getRolesin interfaceKeycloakAccount
-
getSessionIndex
public String getSessionIndex()
-
getSessionNotOnOrAfter
public XMLGregorianCalendar getSessionNotOnOrAfter()
-
-