Package org.pac4j.saml.credentials
Class SAML2Credentials
- java.lang.Object
-
- org.pac4j.core.credentials.Credentials
-
- org.pac4j.saml.credentials.SAML2Credentials
-
- All Implemented Interfaces:
Serializable
public class SAML2Credentials extends Credentials
Credentials containing the nameId of the SAML subject and all of its attributes.- Since:
- 1.5.0
- Author:
- Michael Remond
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SAML2Credentials.SAMLAttribute
static class
SAML2Credentials.SAMLConditions
static class
SAML2Credentials.SAMLNameID
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<SAML2Credentials.SAMLAttribute>
getAttributes()
List<String>
getAuthnContexts()
SAML2Credentials.SAMLConditions
getConditions()
String
getIssuerId()
SAML2Credentials.SAMLNameID
getNameId()
String
getSessionIndex()
int
hashCode()
String
toString()
-
Methods inherited from class org.pac4j.core.credentials.Credentials
getUserProfile, setUserProfile
-
-
-
-
Method Detail
-
getNameId
public final SAML2Credentials.SAMLNameID getNameId()
-
getSessionIndex
public final String getSessionIndex()
-
getAttributes
public final List<SAML2Credentials.SAMLAttribute> getAttributes()
-
getConditions
public SAML2Credentials.SAMLConditions getConditions()
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classCredentials
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classCredentials
-
getIssuerId
public String getIssuerId()
-
-