|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityContextStorageService
Defines the interface for storing, retrieving, and clearing a SecurityContext to/from a means of storage. Implementors of this interface will represent different methods of of handling the storage of a SecurityContext.
Method Summary | |
---|---|
void |
clearSecurityContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Clears the security context from storage. |
SecretKeySpec |
getSecureKey()
Retrieves the secret key if one is used in this security context store. |
SecurityContext |
retreiveSecurityContext(javax.servlet.http.HttpServletRequest request)
Retrieve the security context. |
void |
storeSecurityContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext securityContext)
Store the security context. |
Method Detail |
---|
void storeSecurityContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SecurityContext securityContext) throws ContextStoreException
request
- HttpServletRequestresponse
- HttpServletResponsesecurityContext
- SecurityContext
ContextStoreException
- ContextStoreException
SecurityContext retreiveSecurityContext(javax.servlet.http.HttpServletRequest request) throws ContextStoreException
request
- HttpServletRequest
ContextStoreException
- ContextStoreException
void clearSecurityContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- HttpServletRequestresponse
- HttpServletResponseSecretKeySpec getSecureKey() throws ForceEncryptionException
ForceEncryptionException
- ForceEncryptionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |