org.n52.security.authentication.loginmodule
Class CredentialCache.SAMLCredentialCacheEntry
java.lang.Object
org.n52.security.authentication.loginmodule.CredentialCacheEntry
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.