public class AuthenticationService extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,AuthenticationHandler> |
handlers |
Constructor and Description |
---|
AuthenticationService() |
Modifier and Type | Method and Description |
---|---|
void |
addHander(AuthenticationHandlerDescriptor desc) |
void |
addHandler(String name,
AuthenticationHandler handler) |
AuthenticationHandler |
createHandler(String names)
Create a handler instance for the given comma separated list of handler names.
|
AuthenticationHandler |
getHandler(String name) |
void |
removeHander(AuthenticationHandlerDescriptor desc) |
AuthenticationHandler |
removeHandler(String key) |
protected Map<String,AuthenticationHandler> handlers
public AuthenticationService()
public void addHander(AuthenticationHandlerDescriptor desc) throws ReflectiveOperationException
ReflectiveOperationException
public void removeHander(AuthenticationHandlerDescriptor desc)
public void addHandler(String name, AuthenticationHandler handler)
public AuthenticationHandler removeHandler(String key)
public AuthenticationHandler getHandler(String name)
public AuthenticationHandler createHandler(String names)
names
- Copyright © 2018 Nuxeo. All rights reserved.