|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.controller.security.DefaultSecurityContext
public class DefaultSecurityContext
Abstract definition of a security context.
| Constructor Summary | |
|---|---|
DefaultSecurityContext(RequestContext context)
Public constructor |
|
| Method Summary | |
|---|---|
UserSession |
getLoggedSession()
Get the service session |
protected RequestContext |
getRequestContext()
Get the internal request manager reference. |
boolean |
isLoggedIn()
Check if the current user is logged in |
void |
setLoggedIn(UserSession userSession)
Check the given user as logged in |
void |
setLoggedOut()
Check the current user as logged out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSecurityContext(RequestContext context)
| Method Detail |
|---|
protected final RequestContext getRequestContext()
public final UserSession getLoggedSession()
SecurityContext
getLoggedSession in interface SecurityContextpublic final boolean isLoggedIn()
SecurityContext
isLoggedIn in interface SecurityContextpublic final void setLoggedIn(UserSession userSession)
SecurityContext
setLoggedIn in interface SecurityContextpublic final void setLoggedOut()
SecurityContext
setLoggedOut in interface SecurityContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||