|
||||||||||
| 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 storage service. Implementors of this interface will represent different methods
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. |
boolean |
isContextStored(javax.servlet.http.HttpServletRequest request)
Detects whether or not there is a security context stored via this storage method. |
SecurityContext |
retreiveSecurityContext(javax.servlet.http.HttpServletRequest request)
Retrieves the security context. |
void |
storeSecurityContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext securityContext)
Stores 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 - HttpServletResponse
SecretKeySpec getSecureKey()
throws ForceEncryptionException
ForceEncryptionException - ForceEncryptionExceptionboolean isContextStored(javax.servlet.http.HttpServletRequest request)
request - HttpServletRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||