public static final int PRIORITY = 1;
@Override
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
PicketLinkFederationService federationService = deploymentUnit.getAttachment(FederationDependencyProcessor.DEPLOYMENT_ATTACHMENT_KEY);
if (federationService != null) {
ROOT_LOGGER.federationConfiguringDeployment(deploymentUnit.getName());
federationService.configure(deploymentUnit);
}
}