edu.internet2.middleware.shibboleth.idp.session.impl
Class ServiceInformationImpl

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.idp.session.impl.ServiceInformationImpl
All Implemented Interfaces:
ServiceInformation, Serializable

public class ServiceInformationImpl
extends Object
implements ServiceInformation

Information about a service a user has logged in to.

See Also:
Serialized Form

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 static long serialVersionUID
          Serial version UID.
 
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.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

entityID

private String entityID
Entity ID of the service.


authenticationInstant

private long authenticationInstant
Instant the user was authenticated to the service.


methodInfo

private AuthenticationMethodInformation methodInfo
Authentication method used to authenticate the user to the service.

Constructor Detail

ServiceInformationImpl

public ServiceInformationImpl(String id,
                              org.joda.time.DateTime loginInstant,
                              AuthenticationMethodInformation method)
Default constructor.

Parameters:
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

getEntityID

public String getEntityID()
Gets the unique identifier for the service.

Specified by:
getEntityID in interface ServiceInformation
Returns:
unique identifier for the service

getLoginInstant

public org.joda.time.DateTime getLoginInstant()
Gets the time the user logged in to the service.

Specified by:
getLoginInstant in interface ServiceInformation
Returns:
time the user logged in to the service

getAuthenticationMethod

public AuthenticationMethodInformation getAuthenticationMethod()
Gets the authentication method used to log into the service.

Specified by:
getAuthenticationMethod in interface ServiceInformation
Returns:
authentication method used to log into the service

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object


Copyright © 1999-2012. All Rights Reserved.