Search in sources :

Example 1 with Handlers

use of org.picketlink.config.federation.handler.Handlers in project wildfly by wildfly.

the class EntityProviderService method createPicketLinkType.

private PicketLinkType createPicketLinkType(C configuration) {
    PicketLinkType picketLinkType = new PicketLinkType();
    picketLinkType.setStsType(createSTSType());
    picketLinkType.setHandlers(new Handlers());
    picketLinkType.setEnableAudit(true);
    picketLinkType.setIdpOrSP((ProviderType) configuration);
    return picketLinkType;
}
Also used : Handlers(org.picketlink.config.federation.handler.Handlers) PicketLinkType(org.picketlink.config.federation.PicketLinkType)

Example 2 with Handlers

use of org.picketlink.config.federation.handler.Handlers in project wildfly by wildfly.

the class EntityProviderService method configureHandlers.

/**
     * <p> Configure the SAML Handlers. </p>
     */
private void configureHandlers() {
    Handlers actualHandlers = new Handlers();
    actualHandlers.setHandlers(new ArrayList<Handler>());
    if (this.handlers.isEmpty()) {
        for (Class<? extends SAML2Handler> commonHandlerClass : getDefaultHandlers()) {
            addHandler(commonHandlerClass, actualHandlers);
        }
    } else {
        for (Handler handler : this.handlers) {
            actualHandlers.add(handler);
        }
    }
    getPicketLinkType().setHandlers(actualHandlers);
}
Also used : Handlers(org.picketlink.config.federation.handler.Handlers) SAML2Handler(org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler) RolesGenerationHandler(org.picketlink.identity.federation.web.handlers.saml2.RolesGenerationHandler) Handler(org.picketlink.config.federation.handler.Handler) SAML2SignatureValidationHandler(org.picketlink.identity.federation.web.handlers.saml2.SAML2SignatureValidationHandler) SAML2LogOutHandler(org.picketlink.identity.federation.web.handlers.saml2.SAML2LogOutHandler) SAML2AuthenticationHandler(org.picketlink.identity.federation.web.handlers.saml2.SAML2AuthenticationHandler) SAML2EncryptionHandler(org.picketlink.identity.federation.web.handlers.saml2.SAML2EncryptionHandler)

Aggregations

Handlers (org.picketlink.config.federation.handler.Handlers)2 PicketLinkType (org.picketlink.config.federation.PicketLinkType)1 Handler (org.picketlink.config.federation.handler.Handler)1 SAML2Handler (org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler)1 RolesGenerationHandler (org.picketlink.identity.federation.web.handlers.saml2.RolesGenerationHandler)1 SAML2AuthenticationHandler (org.picketlink.identity.federation.web.handlers.saml2.SAML2AuthenticationHandler)1 SAML2EncryptionHandler (org.picketlink.identity.federation.web.handlers.saml2.SAML2EncryptionHandler)1 SAML2LogOutHandler (org.picketlink.identity.federation.web.handlers.saml2.SAML2LogOutHandler)1 SAML2SignatureValidationHandler (org.picketlink.identity.federation.web.handlers.saml2.SAML2SignatureValidationHandler)1