Search in sources :

Example 1 with GFServerConfigProvider

use of com.sun.enterprise.security.jaspic.config.GFServerConfigProvider in project Payara by payara.

the class PipeHelper method processSunDeploymentDescriptor.

private boolean processSunDeploymentDescriptor() {
    if (factory == null) {
        return false;
    }
    MessageSecurityBindingDescriptor binding = getMessageSecurityBinding(SOAP_LAYER, map);
    if (binding != null) {
        if (!hasExactMatchAuthProvider()) {
            String jaspicProviderRegisID = factory.registerConfigProvider(new GFServerConfigProvider(null, null), layer, appCtxt, "GF AuthConfigProvider bound by Sun Specific Descriptor");
            setRegistrationId(jaspicProviderRegisID);
        }
    }
    WebServiceEndpoint webServiceEndpoint = (WebServiceEndpoint) map.get(SERVICE_ENDPOINT);
    return webServiceEndpoint == null ? false : webServiceEndpoint.implementedByEjbComponent();
}
Also used : MessageSecurityBindingDescriptor(com.sun.enterprise.deployment.runtime.common.MessageSecurityBindingDescriptor) GFServerConfigProvider(com.sun.enterprise.security.jaspic.config.GFServerConfigProvider) WebServiceEndpoint(com.sun.enterprise.deployment.WebServiceEndpoint)

Aggregations

WebServiceEndpoint (com.sun.enterprise.deployment.WebServiceEndpoint)1 MessageSecurityBindingDescriptor (com.sun.enterprise.deployment.runtime.common.MessageSecurityBindingDescriptor)1 GFServerConfigProvider (com.sun.enterprise.security.jaspic.config.GFServerConfigProvider)1