Search in sources :

Example 1 with CodecSessionConfigWrapper

use of org.wildfly.extension.undertow.session.CodecSessionConfigWrapper in project wildfly by wildfly.

the class UndertowDeploymentInfoService method handleDistributable.

private void handleDistributable(final DeploymentInfo deploymentInfo) {
    SessionManagerFactory managerFactory = this.sessionManagerFactory.getOptionalValue();
    if (managerFactory != null) {
        deploymentInfo.setSessionManagerFactory(managerFactory);
    }
    SessionIdentifierCodec codec = this.sessionIdentifierCodec.getOptionalValue();
    if (codec != null) {
        deploymentInfo.setSessionConfigWrapper(new CodecSessionConfigWrapper(codec));
    }
}
Also used : SessionManagerFactory(io.undertow.servlet.api.SessionManagerFactory) CodecSessionConfigWrapper(org.wildfly.extension.undertow.session.CodecSessionConfigWrapper) SessionIdentifierCodec(org.jboss.as.web.session.SessionIdentifierCodec)

Aggregations

SessionManagerFactory (io.undertow.servlet.api.SessionManagerFactory)1 SessionIdentifierCodec (org.jboss.as.web.session.SessionIdentifierCodec)1 CodecSessionConfigWrapper (org.wildfly.extension.undertow.session.CodecSessionConfigWrapper)1