public abstract class AbstractEncryptedProxyGrantingTicketStorageImpl extends Object implements ProxyGrantingTicketStorage
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, wait
cleanUp
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)
ProxyGrantingTicketStorage
save
in interface ProxyGrantingTicketStorage
proxyGrantingTicketIou
- used as the keyproxyGrantingTicket
- used as the valuepublic final String retrieve(String proxyGrantingTicketIou)
ProxyGrantingTicketStorage
retrieve
in interface ProxyGrantingTicketStorage
proxyGrantingTicketIou
- used as the keyprotected abstract void saveInternal(String proxyGrantingTicketIou, String proxyGrantingTicket)
Copyright © 2006–2018 Jasig. All rights reserved.