|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.events.broker.SecurityContext
public class SecurityContext
Security context associated with a particular
Event Broker service
message
.
message
it is processing.
Field Summary | |
---|---|
static int |
RUN_AS_IDENTITY_BROKER
Run as identity: broker |
static int |
RUN_AS_IDENTITY_CLIENT
Run as identity: client |
static int |
RUN_AS_IDENTITY_NONE
Run as identity: none |
static int |
RUN_AS_IDENTITY_SPECIFIED
Run as identity: specified |
Constructor Summary | |
---|---|
SecurityContext()
Default constructor. |
|
SecurityContext(java.lang.String userName,
java.lang.String userPW,
java.lang.String domain)
SecurityContext constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone a copy of this security context. |
java.lang.String |
getDomain()
Get authentication domain. |
int |
getRunAsIdentity()
Get RunAs identity context. |
SessionContextInterface |
getSessionContext()
Get session context. |
java.lang.Object |
getSessionContextLock()
Get session context lock object. |
UserContextInterface |
getUserContext()
Get user context. |
java.lang.String |
getUserName()
Get user name. |
java.lang.String |
getUserPW()
Get user password. |
void |
setDomain(java.lang.String domain)
Set authentication domain. |
void |
setRunAsIdentity(int runAsIdentity)
Set RunAs identity context. |
void |
setSessionContext(SessionContextInterface sc)
Set session context. |
void |
setSessionContextLock(java.lang.Object lock)
Set session context lock object. |
void |
setUserContext(UserContextInterface uc)
Set user context. |
void |
setUserName(java.lang.String userName)
Set user name. |
void |
setUserPW(java.lang.String userPW)
Set user password. |
Field Detail |
---|
public static final int RUN_AS_IDENTITY_NONE
public static final int RUN_AS_IDENTITY_CLIENT
public static final int RUN_AS_IDENTITY_BROKER
public static final int RUN_AS_IDENTITY_SPECIFIED
Constructor Detail |
---|
public SecurityContext()
public SecurityContext(java.lang.String userName, java.lang.String userPW, java.lang.String domain)
userName
- user name.userPW
- password of user.domain
- security domainMethod Detail |
---|
public final java.lang.Object clone()
Perform a shallow copy only.
The session context attribute must be the same object for all instances of a cloned security context so that tracking session management usage works appropriately.
clone
in interface com.sas.PublicClonable
clone
in class java.lang.Object
public final void setUserName(java.lang.String userName)
userName
- user name.public final java.lang.String getUserName()
public final void setUserPW(java.lang.String userPW)
userPW
- user password.public final java.lang.String getUserPW()
public final void setDomain(java.lang.String domain)
domain
- authentication domain.public final java.lang.String getDomain()
public final void setSessionContext(SessionContextInterface sc)
sc
- session context.public final SessionContextInterface getSessionContext()
null if not available.
public final void setSessionContextLock(java.lang.Object lock)
lock
- session context lock object.public final java.lang.Object getSessionContextLock()
null if not available.
public final void setUserContext(UserContextInterface uc)
uc
- user context.public final UserContextInterface getUserContext()
null if Run As context was not authenticated.
public final void setRunAsIdentity(int runAsIdentity)
runAsIdentity
- RunAs identity context.public final int getRunAsIdentity()
Valid RunAs identity types are as follows:
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |