|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.shibboleth.idp.session.impl.ServiceInformationImpl
public class ServiceInformationImpl
Information about a service a user has logged in to.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
ServiceInformationImpl(String id,
org.joda.time.DateTime loginInstant,
AuthenticationMethodInformation method)
Default constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public String getEntityID()
getEntityID in interface ServiceInformationpublic org.joda.time.DateTime getLoginInstant()
getLoginInstant in interface ServiceInformationpublic AuthenticationMethodInformation getAuthenticationMethod()
getAuthenticationMethod in interface ServiceInformationpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic 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 ServiceInformation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||