public class SynchroSecurityContext extends Object
Use to store security data, used by the syncrhonization process, specially in SynchroInterceptor
subclasses.
See example at RootTableAccessRestrictionInterceptor
Constructor and Description |
---|
SynchroSecurityContext(Integer userId) |
SynchroSecurityContext(Integer userId,
Integer sessionId) |
Modifier and Type | Method and Description |
---|---|
Integer |
getSessionId() |
Integer |
getUserId() |
boolean |
isUserLogged() |
void |
setSessionId(Integer sessionId) |
void |
setUserId(Integer userId) |
public SynchroSecurityContext(Integer userId)
public SynchroSecurityContext(Integer userId, Integer sessionId)
public Integer getSessionId()
public void setSessionId(Integer sessionId)
public boolean isUserLogged()
Copyright © 2012–2014 IFREMER. All rights reserved.