public interface SecurityContext extends SecurityManagerLocator, Serializable, Cloneable
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getData()
Context Map
|
RunAs |
getIncomingRunAs()
RunAs that is being propagated into this context
by an external context
setIncomingRunAs(RunAs) |
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
|
getAuditManager, getAuthenticationManager, getAuthorizationManager, getIdentityTrustManager, getMappingManager
ISecurityManagement getSecurityManagement()
void setSecurityManagement(ISecurityManagement ism)
ism
- String getSecurityDomain()
void setSecurityDomain(String domain)
Sets the security domain.
domain
- a String
representing the security domain.SubjectInfo getSubjectInfo()
void setSubjectInfo(SubjectInfo si)
RunAs getIncomingRunAs()
setIncomingRunAs(RunAs)
void setIncomingRunAs(RunAs runAs)
runAs
- The RunAsRunAs getOutgoingRunAs()
setOutgoingRunAs(RunAs)
void setOutgoingRunAs(RunAs runAs)
runAs
- SecurityContextUtil getUtil()
Copyright © 2019 JBoss by Red Hat. All rights reserved.