public class NuxeoCmisAuthHandler extends CXFAuthHandler implements LoginProvider
org.apache.chemistry.opencmis.server.impl.webservices.AbstractUsernameTokenAuthHandler.AttributedString, org.apache.chemistry.opencmis.server.impl.webservices.AbstractUsernameTokenAuthHandler.ObjectFactory, org.apache.chemistry.opencmis.server.impl.webservices.AbstractUsernameTokenAuthHandler.PasswordString, org.apache.chemistry.opencmis.server.impl.webservices.AbstractUsernameTokenAuthHandler.SecurityHeaderType, org.apache.chemistry.opencmis.server.impl.webservices.AbstractUsernameTokenAuthHandler.UsernameTokenType
Modifier and Type | Field and Description |
---|---|
static String |
NUXEO_LOGIN_CONTEXT |
Constructor and Description |
---|
NuxeoCmisAuthHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext context) |
boolean |
handleMessage(SOAPMessageContext context) |
LoginContext |
login(String username,
String password)
Log in the user given the username and password, and returns a login context.
|
getHeaders, handleFault
public static final String NUXEO_LOGIN_CONTEXT
public boolean handleMessage(SOAPMessageContext context)
handleMessage
in interface Handler<SOAPMessageContext>
handleMessage
in class CXFAuthHandler
public void close(MessageContext context)
close
in interface Handler<SOAPMessageContext>
close
in class CXFAuthHandler
public LoginContext login(String username, String password)
LoginProvider
login
in interface LoginProvider
username
- the usernamepassword
- the passwordCopyright © 2015 Nuxeo SA. All rights reserved.