public class ServiceInformationImpl extends Object implements ServiceInformation
| Modifier and Type | Field and Description |
|---|---|
private long |
authenticationInstant
Instant the user was authenticated to the service.
|
private String |
entityID
Entity ID of the service.
|
private AuthenticationMethodInformation |
methodInfo
Authentication method used to authenticate the user to the service.
|
private String |
nameIdentifier
Name identifier used to identify the user at the service.
|
private String |
nameIdentifierFormat
Name identifier format.
|
private String |
nameQualifier
Name qualifier for the name identifier.
|
private static long |
serialVersionUID
Serial version UID.
|
private String |
SPNameQualifier
SP Name qualifier for the name identifier.
|
| Constructor and Description |
|---|
ServiceInformationImpl(String id,
org.joda.time.DateTime loginInstant,
AuthenticationMethodInformation method)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AuthenticationMethodInformation |
getAuthenticationMethod()
Gets the authentication method used to log into the service.
|
String |
getEntityID()
Gets the unique identifier for the service.
|
org.joda.time.DateTime |
getLoginInstant()
Gets the time the user logged in to the service.
|
String |
getNameIdentifier()
Gets the principal name identifier for the service.
|
String |
getNameIdentifierFormat()
Gets the principal name identifier format.
|
String |
getNameQualifier()
Gets the name qualifier for the name identifier.
|
String |
getSPNameQualifier()
Gets the SP name qualifier for the name identifier.
|
int |
hashCode() |
void |
setSAML2NameIdentifier(NameID nameIdentifier)
Sets the name identifier for the principal known by the service.
|
void |
setShibbolethNameIdentifier(NameIdentifier nameIdentifier)
Sets the name identifier for the principal known by the service.
|
private static final long serialVersionUID
private String entityID
private long authenticationInstant
private AuthenticationMethodInformation methodInfo
private String nameIdentifier
private String nameIdentifierFormat
private String SPNameQualifier
private String nameQualifier
public ServiceInformationImpl(String id, org.joda.time.DateTime loginInstant, AuthenticationMethodInformation method)
id - unique identifier for the service.loginInstant - time the user logged in to the service.method - authentication method used to log into the service.public String getEntityID()
getEntityID in interface ServiceInformationpublic org.joda.time.DateTime getLoginInstant()
getLoginInstant in interface ServiceInformationpublic AuthenticationMethodInformation getAuthenticationMethod()
getAuthenticationMethod in interface ServiceInformationpublic void setSAML2NameIdentifier(NameID nameIdentifier)
nameIdentifier - public void setShibbolethNameIdentifier(NameIdentifier nameIdentifier)
nameIdentifier - public String getNameIdentifier()
getNameIdentifier in interface ServiceInformationpublic String getNameIdentifierFormat()
getNameIdentifierFormat in interface ServiceInformationpublic String getNameQualifier()
getNameQualifier in interface ServiceInformationpublic String getSPNameQualifier()
getSPNameQualifier in interface ServiceInformationCopyright © 1999-2014. All Rights Reserved.