edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition
Class TransientIdEntry

java.lang.Object
  extended by org.opensaml.util.storage.AbstractExpiringObject
      extended by edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.TransientIdEntry
All Implemented Interfaces:
Serializable, org.opensaml.util.storage.ExpiringObject

public class TransientIdEntry
extends org.opensaml.util.storage.AbstractExpiringObject

Storage service entry used to store information associated with a transient ID.

See Also:
Serialized Form

Field Summary
private  String id
          Transient id.
private  String principalName
          Principal for which the token was issued.
private  String relyingPartyId
          Relying party the token was issued to.
private static long serialVersionUID
          Serial version UID.
 
Constructor Summary
TransientIdEntry(long lifetime, String relyingParty, String principal, String randomId)
          Constructor.
 
Method Summary
 String getId()
          Gets the ID.
 String getPrincipalName()
          Gets the principal the token was issued for.
 String getRelyingPartyId()
          Gets the relying party the token was issued to.
 
Methods inherited from class org.opensaml.util.storage.AbstractExpiringObject
getExpirationTime, isExpired, onExpire
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

relyingPartyId

private String relyingPartyId
Relying party the token was issued to.


principalName

private String principalName
Principal for which the token was issued.


id

private String id
Transient id.

Constructor Detail

TransientIdEntry

public TransientIdEntry(long lifetime,
                        String relyingParty,
                        String principal,
                        String randomId)
Constructor.

Parameters:
lifetime - lifetime of the token in milliseconds
relyingParty - relying party the token was issued to
principal - principal the token was issued for
randomId - the random ID token
Method Detail

getPrincipalName

public String getPrincipalName()
Gets the principal the token was issued for.

Returns:
principal the token was issued for

getRelyingPartyId

public String getRelyingPartyId()
Gets the relying party the token was issued to.

Returns:
relying party the token was issued to

getId

public String getId()
Gets the ID.

Returns:
ID


Copyright © 1999-2012. All Rights Reserved.