|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticatedSession
An interface to optionally authenticated sessions maintaining client data between requests.
| Method Summary | |
|---|---|
void |
access()
Updates the accessed time information for this session. |
Principal |
getUserPrincipal()
Gets the authenticated principal that is associated with this session. |
boolean |
isValid()
Checks whether the session is valid. |
HttpSession |
registerUserPrincipal(Principal principal)
Registers the authenticated principal that is associated with this session or a joined one. |
| Methods inherited from interface javax.servlet.http.HttpSession |
|---|
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval |
| Method Detail |
|---|
boolean isValid()
Principal getUserPrincipal()
HttpSession registerUserPrincipal(Principal principal)
principal - the authenticated principal.
void access()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||