public abstract class AuthenticationPlugin extends Object implements Closeable
| Constructor and Description |
|---|
AuthenticationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doAuthenticate(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
This method must authenticate the request.
|
abstract HttpClientConfigurer |
getDefaultConfigurer() |
abstract void |
init(Map<String,Object> pluginConfig)
This is called upon loading up of a plugin, used for setting it up.
|
public abstract void init(Map<String,Object> pluginConfig)
pluginConfig - Config parameters, possibly from a ZK sourcepublic abstract void doAuthenticate(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
throws Exception
request - the http requestresponse - the http responsefilterChain - the servlet filter chainException - any exception thrown during the authentication, e.g.
PriviledgedAccessExceptionpublic abstract HttpClientConfigurer getDefaultConfigurer()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.