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;
}
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);
}
Aggregations