public class NuxeoCmisAuthHandler extends CXFAuthHandler implements LoginProvider
CXFAuthHandler.AttributedString, CXFAuthHandler.ObjectFactory, CXFAuthHandler.PasswordString, CXFAuthHandler.SecurityHeaderType, CXFAuthHandler.UsernameTokenType| Modifier and Type | Field and Description |
|---|---|
protected org.apache.chemistry.opencmis.server.shared.CsrfManager |
csrfManager |
protected LoginProvider |
loginProvider |
static String |
NUXEO_LOGIN_CONTEXT |
HEADERS, WSSE_CONTEXT, WSSE_NS, WSSE_PASSWORD, WSSE_SECURITY, WSSE_USERNAME_TOKEN| Constructor and Description |
|---|
NuxeoCmisAuthHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(MessageContext context) |
protected static Authenticator |
getAuthenticator() |
protected LoginProvider |
getLoginProvider() |
boolean |
handleMessage(SOAPMessageContext context) |
LoginContext |
login(String username,
String password)
Log in the user given the username and password, and returns a login context.
|
extractUsernamePassword, getHeaders, handleFaultpublic static final String NUXEO_LOGIN_CONTEXT
protected LoginProvider loginProvider
protected org.apache.chemistry.opencmis.server.shared.CsrfManager csrfManager
public NuxeoCmisAuthHandler()
public boolean handleMessage(SOAPMessageContext context)
handleMessage in interface Handler<SOAPMessageContext>handleMessage in class CXFAuthHandlerpublic void close(MessageContext context)
close in interface Handler<SOAPMessageContext>close in class CXFAuthHandlerprotected LoginProvider getLoginProvider()
public LoginContext login(String username, String password)
LoginProviderlogin in interface LoginProviderusername - the usernamepassword - the passwordprotected static Authenticator getAuthenticator()
Copyright © 2018 Nuxeo. All rights reserved.