com.wewebu.ow.server.ecmimpl.opencmis.auth
Class OwCMISLDAPCredentialsAuthenticator
java.lang.Object
com.wewebu.ow.server.ecmimpl.opencmis.auth.OwCMISCredentialsAuthenticator
com.wewebu.ow.server.ecmimpl.opencmis.auth.OwCMISLDAPCredentialsAuthenticator
- All Implemented Interfaces:
- com.wewebu.ow.server.auth.OwAuthenticator
public class OwCMISLDAPCredentialsAuthenticator
- extends OwCMISCredentialsAuthenticator
LDAP based implementation of the CredentialsAuthenticator.
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
- Since:
- 4.1.1.0
Method Summary |
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. |
protected com.wewebu.ow.server.util.ldap.OwLdapConnector |
getLdapConnector()
Will try to retrieve connector to an LDAP system. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwCMISLDAPCredentialsAuthenticator
public OwCMISLDAPCredentialsAuthenticator(OwCMISNetwork network,
com.wewebu.ow.server.util.ldap.OwLdapConnector ldapConnector)
- Parameters:
network
- ldapConnector
-
OwCMISLDAPCredentialsAuthenticator
public OwCMISLDAPCredentialsAuthenticator(com.wewebu.ow.server.conf.OwBaseInitializer initializer)
getLdapConnector
protected com.wewebu.ow.server.util.ldap.OwLdapConnector getLdapConnector()
throws com.wewebu.ow.server.exceptions.OwException
- Will try to retrieve connector to an LDAP system.
By default it will use the provided one, which was defined during instantiation.
If none was defined, the configuration is checked/searched for LDAP configuration.
- Returns:
- OwLdapConfiguration or null
- Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwException
createCredentials
protected OwCMISCredentials createCredentials(String user_p,
String password_p,
org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider nativeAuthProvider)
throws com.wewebu.ow.server.exceptions.OwException
- Description copied from class:
OwCMISCredentialsAuthenticator
- Factory method for credentials objects.
- Overrides:
createCredentials
in class OwCMISCredentialsAuthenticator
- Parameters:
user_p
- String user login namepassword_p
- String login passwordnativeAuthProvider
- AuthenticationProvider which should be used for authentication (can be null)
- Returns:
- OwCMISCredentials
- Throws:
com.wewebu.ow.server.exceptions.OwException
authenticate
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
- Specified by:
authenticate
in interface com.wewebu.ow.server.auth.OwAuthenticator
- Overrides:
authenticate
in class OwCMISCredentialsAuthenticator
- Throws:
com.wewebu.ow.server.exceptions.OwAuthenticationException
com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwServerException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.