public class NuxeoCmisAuthHandler extends org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler 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 |
LOGIN_PROVIDER_PROP
Framework property redefining the login provider class.
|
static String |
NUXEO_LOGIN_CONTEXT |
Constructor and Description |
---|
NuxeoCmisAuthHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext context) |
boolean |
handleMessage(com.sun.xml.ws.api.handler.MessageHandlerContext context) |
LoginContext |
login(String username,
String password)
Log in the user given the username and password, and returns a login
context.
|
public static final String NUXEO_LOGIN_CONTEXT
public static final String LOGIN_PROVIDER_PROP
public boolean handleMessage(com.sun.xml.ws.api.handler.MessageHandlerContext context)
handleMessage
in interface Handler<com.sun.xml.ws.api.handler.MessageHandlerContext>
handleMessage
in class org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler
public void close(MessageContext context)
public LoginContext login(String username, String password)
LoginProvider
login
in interface LoginProvider
username
- the usernamepassword
- the passwordCopyright © 2011 Nuxeo SA. All Rights Reserved.