de.adorsys.oauth.server.OAuthServletExtension Maven / Gradle / Ivy
package de.adorsys.oauth.server;
import javax.servlet.ServletContext;
import io.undertow.servlet.ServletExtension;
import io.undertow.servlet.api.DeploymentInfo;
/**
* OAuthServletExtension
*/
@SuppressWarnings("unused")
public class OAuthServletExtension implements ServletExtension {
static final String MECHANISM_NAME = "OAUTH";
@Override
public void handleDeployment(DeploymentInfo deploymentInfo, ServletContext servletContext) {
deploymentInfo.addFirstAuthenticationMechanism(MECHANISM_NAME, new DelegateAuthenticationMechanism(servletContext));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy