public class OwCMISCredentialsAuthenticator extends OwCMISAbstractAuthenticator
CMIS credentials based authenticator.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwCMISCredentialsAuthenticator(com.wewebu.ow.server.conf.OwBaseInitializer initializer) |
OwCMISCredentialsAuthenticator(OwCMISNetwork network) |
Modifier and Type | Method and Description |
---|---|
com.wewebu.ow.server.auth.OwAuthentication |
authenticate(com.wewebu.ow.server.auth.OwAuthentication authentication_p) |
protected OwCMISCredentials |
createCredentials(String user_p,
String password_p,
org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider nativeAuthProvider)
Factory method for credentials objects.
|
org.alfresco.wd.ext.restlet.auth.OwRestletAuthenticationHandler |
createRestletAuthenticationHandler(OwCMISCredentials cred)
Factory to create an instance of OwCMISRestletAuthenticationHandler,
which is used in for authentication handling in non-CMIS calls.
|
buildOpenCmisParameters, createAuthenticationProvider, createLDAPConnector, getBaseInitialzier, getNetwork, getNetworkConfiguration, init, onRequest, processRendering
public OwCMISCredentialsAuthenticator(com.wewebu.ow.server.conf.OwBaseInitializer initializer)
initializer
- OwBaseInitializerpublic OwCMISCredentialsAuthenticator(OwCMISNetwork network)
network
- public com.wewebu.ow.server.auth.OwAuthentication authenticate(com.wewebu.ow.server.auth.OwAuthentication authentication_p) throws com.wewebu.ow.server.exceptions.OwAuthenticationException, com.wewebu.ow.server.exceptions.OwConfigurationException, com.wewebu.ow.server.exceptions.OwServerException
com.wewebu.ow.server.exceptions.OwAuthenticationException
com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwServerException
protected OwCMISCredentials createCredentials(String user_p, String password_p, org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider nativeAuthProvider) throws com.wewebu.ow.server.exceptions.OwException
user_p
- String user login namepassword_p
- String login passwordnativeAuthProvider
- AuthenticationProvider which should be used for OpenCMIS authentication (can be null)com.wewebu.ow.server.exceptions.OwException
public org.alfresco.wd.ext.restlet.auth.OwRestletAuthenticationHandler createRestletAuthenticationHandler(OwCMISCredentials cred) throws com.wewebu.ow.server.exceptions.OwException
By Default returns OwCMISBasicRestletAuthenticationHandler which is an HTTP-Basic authentication handler.
cred
- OwCMISCredentialscom.wewebu.ow.server.exceptions.OwException
- if not possible to create instanceCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.