Interface SSOIServerCredentials
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
OidcSSOIServerCredentials,SAMLSSOIServerCredentials
public interface SSOIServerCredentials extends java.io.SerializableThis interface represents the credentials for SSO. Implementations of this interface will be used to establish session with the IServer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSSOIServerCredentials.GroupThis interface represents the user group information
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSESSION_ATT_NAMEThe key used to store/retrieve SSO credentials from HTTP session
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDisplayName()The display name of the userjava.lang.StringgetDistinguishedName()The distinguished name of the userjava.lang.StringgetEmail()The email of the userjava.util.List<SSOIServerCredentials.Group>getGroups()The groups of the user.java.lang.StringgetIdToken()The id token of the user, for OIDC authenticationjava.lang.StringgetUserId()The id of the user.booleanisValid()Whether the credential is valid
-
-
-
Field Detail
-
SESSION_ATT_NAME
static final java.lang.String SESSION_ATT_NAME
The key used to store/retrieve SSO credentials from HTTP session- See Also:
- Constant Field Values
-
-
Method Detail
-
getUserId
java.lang.String getUserId()
The id of the user.- Returns:
-
getGroups
java.util.List<SSOIServerCredentials.Group> getGroups()
The groups of the user.- Returns:
-
getDistinguishedName
java.lang.String getDistinguishedName()
The distinguished name of the user- Returns:
-
isValid
boolean isValid()
Whether the credential is valid- Returns:
-
getDisplayName
java.lang.String getDisplayName()
The display name of the user- Returns:
-
getEmail
java.lang.String getEmail()
The email of the user- Returns:
-
getIdToken
java.lang.String getIdToken()
The id token of the user, for OIDC authentication- Returns:
-
-