org.n52.security.authentication.loginmodule
Class CredentialCache.SAMLCredentialCacheEntry

java.lang.Object
  extended by org.n52.security.authentication.loginmodule.CredentialCacheEntry
      extended by org.n52.security.authentication.loginmodule.CredentialCache.SAMLCredentialCacheEntry
Enclosing class:
CredentialCache

public static class CredentialCache.SAMLCredentialCacheEntry
extends CredentialCacheEntry

An implementation of CredentialCacheEntry that contains SAMLCredential instances.

Author:
drewnak

Constructor Summary
CredentialCache.SAMLCredentialCacheEntry(java.lang.String id, SAMLCredential cachedEntry)
          Creates a cache entry for a SAML credential that is linked to a string denoting, e.g. another credential. credential.
 
Method Summary
 Credential getCredential()
           
 java.lang.Object getCredentialCopy()
           
 java.lang.String getId()
           
 boolean internallyExpires()
           
 boolean isInternallyExpired()
           
 
Methods inherited from class org.n52.security.authentication.loginmodule.CredentialCacheEntry
getEntryTime, isEntryFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialCache.SAMLCredentialCacheEntry

public CredentialCache.SAMLCredentialCacheEntry(java.lang.String id,
                                                SAMLCredential cachedEntry)
Creates a cache entry for a SAML credential that is linked to a string denoting, e.g. another credential. credential.

Parameters:
idCred - String that is used to identify a SAML credential.
cachedEntry - the SAML credential that is cached.
Method Detail

getId

public java.lang.String getId()

internallyExpires

public boolean internallyExpires()
Returns:
true if the credential itself is only valid for a limited amount of time, false otherwise.

isInternallyExpired

public boolean isInternallyExpired()
Returns:
true if the credential itself is expired, false otherwise. Should always return false if CredentialCacheEntry.internallyExpires() returns false.

getCredentialCopy

public java.lang.Object getCredentialCopy()

getCredential

public Credential getCredential()


Copyright © 2004-2009 52north.org. All Rights Reserved.