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)
AuthenticationPlugin
init
in class AuthenticationPlugin
pluginConfig
- Config parameters, possibly from a ZK sourcepublic void doAuthenticate(javax.servlet.ServletRequest req, javax.servlet.ServletResponse rsp, javax.servlet.FilterChain chain) throws Exception
AuthenticationPlugin
doAuthenticate
in class AuthenticationPlugin
req
- the http requestrsp
- the http responsechain
- the servlet filter chainException
- any exception thrown during the authentication, e.g.
PriviledgedAccessExceptionpublic HttpClientConfigurer getDefaultConfigurer()
getDefaultConfigurer
in class AuthenticationPlugin
public void close()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.