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 static long |
serialVersionUID
Serial version UID.
|
| 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.
|
int |
hashCode() |
private static final long serialVersionUID
private String entityID
private long authenticationInstant
private AuthenticationMethodInformation methodInfo
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 ServiceInformationCopyright © 1999-2012. All Rights Reserved.