Package org.jboss.as.server.security
Class SecurityMetaData
- java.lang.Object
-
- org.jboss.as.server.security.SecurityMetaData
-
- Direct Known Subclasses:
AdvancedSecurityMetaData
public class SecurityMetaData extends Object
Meta Data to be attached to aDeploymentUnitorOperationContextto contain information about the active security policy. Note: This applies to security backed by WildFly Elytron only not legacy security.- Author:
- Darran Lofthouse
-
-
Field Summary
Fields Modifier and Type Field Description static AttachmentKey<SecurityMetaData>ATTACHMENT_KEYstatic OperationContext.AttachmentKey<SecurityMetaData>OPERATION_CONTEXT_ATTACHMENT_KEY
-
Constructor Summary
Constructors Constructor Description SecurityMetaData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.service.ServiceNamegetSecurityDomain()Get theServiceNameof theSecurityDomainselected for use with this deployment.voidsetSecurityDomain(org.jboss.msc.service.ServiceName securityDomain)Get theServiceNameof theSecurityDomainselected for use with this deployment.
-
-
-
Field Detail
-
ATTACHMENT_KEY
public static final AttachmentKey<SecurityMetaData> ATTACHMENT_KEY
-
OPERATION_CONTEXT_ATTACHMENT_KEY
public static final OperationContext.AttachmentKey<SecurityMetaData> OPERATION_CONTEXT_ATTACHMENT_KEY
-
-
Method Detail
-
getSecurityDomain
public org.jboss.msc.service.ServiceName getSecurityDomain()
Get theServiceNameof theSecurityDomainselected for use with this deployment.- Returns:
- the
ServiceNameof theSecurityDomainselected for use with this deployment.
-
setSecurityDomain
public void setSecurityDomain(org.jboss.msc.service.ServiceName securityDomain)
Get theServiceNameof theSecurityDomainselected for use with this deployment.
-
-