Package org.jboss.as.server.security
Class SecurityMetaData
java.lang.Object
org.jboss.as.server.security.SecurityMetaData
- Direct Known Subclasses:
AdvancedSecurityMetaData
Meta Data to be attached to a
DeploymentUnit or OperationContext to 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
FieldsModifier and TypeFieldDescriptionstatic final AttachmentKey<SecurityMetaData>static final OperationContext.AttachmentKey<SecurityMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.service.ServiceNameGet theServiceNameof theSecurityDomainselected for use with this deployment.voidsetSecurityDomain(org.jboss.msc.service.ServiceName securityDomain) Get theServiceNameof theSecurityDomainselected for use with this deployment.
-
Field Details
-
ATTACHMENT_KEY
-
OPERATION_CONTEXT_ATTACHMENT_KEY
public static final OperationContext.AttachmentKey<SecurityMetaData> OPERATION_CONTEXT_ATTACHMENT_KEY
-
-
Constructor Details
-
SecurityMetaData
public SecurityMetaData()
-
-
Method Details
-
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.
-