public class KerberosPlugin extends AuthenticationPlugin
| Modifier and Type | Field and Description |
|---|---|
protected static javax.servlet.ServletContext |
noContext |
| Constructor and Description |
|---|
KerberosPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
doAuthenticate(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse rsp,
javax.servlet.FilterChain chain)
This method must authenticate the request.
|
HttpClientConfigurer |
getDefaultConfigurer() |
void |
init(Map<String,Object> pluginConfig)
This is called upon loading up of a plugin, used for setting it up.
|
public void init(Map<String,Object> pluginConfig)
AuthenticationPlugininit in class AuthenticationPluginpluginConfig - Config parameters, possibly from a ZK sourcepublic void doAuthenticate(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse rsp,
javax.servlet.FilterChain chain)
throws Exception
AuthenticationPlugindoAuthenticate in class AuthenticationPluginreq - the http requestrsp - the http responsechain - the servlet filter chainException - any exception thrown during the authentication, e.g.
PriviledgedAccessExceptionpublic HttpClientConfigurer getDefaultConfigurer()
getDefaultConfigurer in class AuthenticationPluginpublic void close()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.