use of org.jboss.as.server.services.security.AbstractVaultReader in project wildfly by wildfly.
the class VaultPropertyResolverProcessor method deploy.
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
final AbstractVaultReader vaultReader = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.VAULT_READER_ATTACHMENT_KEY);
if (vaultReader != null) {
deploymentUnit.addToAttachmentList(Attachments.DEPLOYMENT_PROPERTY_RESOLVERS, new VaultPropertyResolver(vaultReader));
}
}
Aggregations