|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityContextInterface
This interface is used by the toolkit to store user info including user id, user roles and session id
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
INI_CONTEXT
|
static int |
INI_ERROR
|
static java.lang.String |
SECURITY_CTX
|
static java.lang.String |
SET_USER_INFO
|
static int |
SET_USER_INFO_FAILED
|
Method Summary | |
---|---|
java.lang.String |
getSessionId()
Returns the session id |
java.lang.String |
getUserId()
Returns the user id |
Vector |
getUserRoles()
Returns the user roles |
boolean |
isUserInRole(java.lang.String role)
Returns true if the user is in the given role |
void |
setUserInfo(java.lang.Object userInfo)
Sets the user info, including user id, user roles and session id. |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final int INI_ERROR
static final int SET_USER_INFO_FAILED
static final java.lang.String INI_CONTEXT
static final java.lang.String SET_USER_INFO
static final java.lang.String SECURITY_CTX
Method Detail |
---|
java.lang.String getSessionId()
java.lang.String getUserId()
Vector getUserRoles()
boolean isUserInRole(java.lang.String role)
role
- java.lang.String
void setUserInfo(java.lang.Object userInfo) throws ACLException
userInfo
- The object containing user info
ACLException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |