|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityContext
Encapsulation of Authentication, Authorization, Mapping and other security aspects at the level of a security domain
| Method Summary | |
|---|---|
Map<String,Object> |
getData()
Context Map |
RunAs |
getIncomingRunAs()
RunAs that is being propagated into this context by an external context #setIncomingRunAs() |
RunAs |
getOutgoingRunAs()
RunAs Representation setOutgoingRunAs(RunAs) |
String |
getSecurityDomain()
Return the Security Domain |
ISecurityManagement |
getSecurityManagement()
Get the SecurityManagement object to get hold of the various managers |
SubjectInfo |
getSubjectInfo()
Subject Info |
SecurityContextUtil |
getUtil()
Return a utility that is a facade to the internal storage mechanism of the Security Context This utility can be used to store information like roles etc in an implementation specific way |
void |
setIncomingRunAs(RunAs runAs)
Set the RunAs that is propagating into this context. |
void |
setOutgoingRunAs(RunAs runAs)
Set the current RunAs for the security context that will be propagated out to other security context. |
void |
setSecurityDomain(String domain)
Sets the security domain. |
void |
setSecurityManagement(ISecurityManagement ism)
Set the SecurityManagement holder |
void |
setSubjectInfo(SubjectInfo si)
Subject Info |
| Methods inherited from interface org.jboss.security.SecurityManagerLocator |
|---|
getAuditManager, getAuthenticationManager, getAuthorizationManager, getIdentityTrustManager, getMappingManager |
| Method Detail |
|---|
ISecurityManagement getSecurityManagement()
void setSecurityManagement(ISecurityManagement ism)
ism - Map<String,Object> getData()
String getSecurityDomain()
void setSecurityDomain(String domain)
Sets the security domain.
domain - a String representing the security domain.SubjectInfo getSubjectInfo()
SecurityContextUtil.getSubject(),
SecurityContextUtil.createSubjectInfo(Principal, Object, Subject)void setSubjectInfo(SubjectInfo si)
SecurityContextUtil.getSubject(),
SecurityContextUtil.createSubjectInfo(Principal, Object, Subject)RunAs getIncomingRunAs()
#setIncomingRunAs()
void setIncomingRunAs(RunAs runAs)
runAs - The RunAsRunAs getOutgoingRunAs()
setOutgoingRunAs(RunAs)
void setOutgoingRunAs(RunAs runAs)
runAs - SecurityContextUtil#getCallerRunAs(),
SecurityContextUtil#setCallerRunAs(RunAs)SecurityContextUtil getUtil()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||