Package org.wildfly.extension.undertow.security

Examples of org.wildfly.extension.undertow.security.JAASIdentityManagerImpl


    }

    private void handleIdentityManager(final DeploymentInfo deploymentInfo) {

        SecurityDomainContext sdc = securityDomainContextValue.getValue();
        deploymentInfo.setIdentityManager(new JAASIdentityManagerImpl(sdc));
        AuditManager auditManager = sdc.getAuditManager();
        if (auditManager != null && !mergedMetaData.isDisableAudit()) {
            deploymentInfo.addNotificationReceiver(new AuditNotificationReceiver(auditManager));
        }
        deploymentInfo.setConfidentialPortManager(getConfidentialPortManager());
View Full Code Here


      LoginConfig login = new LoginConfig("ApplicationRealm").addFirstAuthMethod(authMethod);
      deployment.setLoginConfig(login);
      deployment.addSecurityRole("REST");

      SecurityDomainContext securityDomainContext = securityDomainContextInjector.getValue();
      deployment.setIdentityManager(new JAASIdentityManagerImpl(securityDomainContext));

      // Commented waiting for WFLY-2553
      /*if ("SPNEGO".equals(authMethod)) {
         context.addValve(new NegotiationAuthenticator());
      }*/
 
View Full Code Here

TOP

Related Classes of org.wildfly.extension.undertow.security.JAASIdentityManagerImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.