public abstract class AbstractEncryptedProxyGrantingTicketStorageImpl extends Object implements ProxyGrantingTicketStorage
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENCRYPTION_ALGORITHM |
| Constructor and Description |
|---|
AbstractEncryptedProxyGrantingTicketStorageImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
retrieve(String proxyGrantingTicketIou)
Method to retrieve a ProxyGrantingTicket based on the
ProxyGrantingTicketIou.
|
protected abstract String |
retrieveInternal(String proxyGrantingTicketIou) |
void |
save(String proxyGrantingTicketIou,
String proxyGrantingTicket)
Method to save the ProxyGrantingTicket to the backing storage facility.
|
protected abstract void |
saveInternal(String proxyGrantingTicketIou,
String proxyGrantingTicket) |
void |
setCipherAlgorithm(String cipherAlgorithm)
Note: you MUST call this method before calling setSecretKey if you're not using the default algorithm.
|
void |
setSecretKey(Key key) |
void |
setSecretKey(String key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanUppublic static final String DEFAULT_ENCRYPTION_ALGORITHM
public AbstractEncryptedProxyGrantingTicketStorageImpl()
public final void setSecretKey(String key) throws NoSuchAlgorithmException, InvalidKeyException, InvalidKeySpecException
public final void setSecretKey(Key key)
public final void setCipherAlgorithm(String cipherAlgorithm)
cipherAlgorithm - the cipher algorithm.public final void save(String proxyGrantingTicketIou, String proxyGrantingTicket)
ProxyGrantingTicketStoragesave in interface ProxyGrantingTicketStorageproxyGrantingTicketIou - used as the keyproxyGrantingTicket - used as the valuepublic final String retrieve(String proxyGrantingTicketIou)
ProxyGrantingTicketStorageretrieve in interface ProxyGrantingTicketStorageproxyGrantingTicketIou - used as the keyprotected abstract void saveInternal(String proxyGrantingTicketIou, String proxyGrantingTicket)
Copyright © 2006-2014 Jasig. All Rights Reserved.