|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.opencmis.auth.OwCMISCredentialsAuthenticator
public class OwCMISCredentialsAuthenticator
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
Field Summary | |
---|---|
static String |
CONF_NODE_SECURITY_HANDLER
optional configuration node name containing the full qualified java class name |
Constructor Summary | |
---|---|
OwCMISCredentialsAuthenticator(com.wewebu.ow.server.conf.OwBaseInitializer initializer)
|
|
OwCMISCredentialsAuthenticator(OwCMISNetwork network)
|
Method Summary | |
---|---|
com.wewebu.ow.server.auth.OwAuthentication |
authenticate(com.wewebu.ow.server.auth.OwAuthentication authentication_p)
|
Map<String,String> |
buildOpenCmisParameters(String user_p,
String pwd_p,
Locale currentLocale_p)
Create the OpenCmis parameters which are used for authentication verification. |
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 |
createLDAPConnector(com.wewebu.ow.server.util.OwAuthenticationConfiguration authenticationConf_p)
Factory for LDAP connector instances. |
protected com.wewebu.ow.server.conf.OwBaseInitializer |
getBaseInitialzier()
Depending on initialization will return the OwBaseInitializer or null |
protected OwCMISNetwork |
getNetwork()
Depending on initialization returning the current network or null |
protected OwCMISNetworkCfg |
getNetworkConfiguration()
Get configuration helper instance. |
protected org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider |
retrieveAuthenticationProvider(Map<String,String> openCmisParams,
OwCMISNetworkCfg netConfig)
Retrieve the (prepared) AuthenticationProvider which should be used for authentication verification and for credentials. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONF_NODE_SECURITY_HANDLER
Constructor Detail |
---|
public OwCMISCredentialsAuthenticator(com.wewebu.ow.server.conf.OwBaseInitializer initializer)
initializer
- OwBaseInitializerpublic OwCMISCredentialsAuthenticator(OwCMISNetwork network)
network
- Method Detail |
---|
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
authenticate
in interface com.wewebu.ow.server.auth.OwAuthenticator
com.wewebu.ow.server.exceptions.OwAuthenticationException
com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwServerException
protected OwCMISNetworkCfg getNetworkConfiguration() throws com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwConfigurationException
public Map<String,String> buildOpenCmisParameters(String user_p, String pwd_p, Locale currentLocale_p) throws com.wewebu.ow.server.exceptions.OwConfigurationException
user_p
- Stringpwd_p
- StringcurrentLocale_p
- Locale (can be null)
com.wewebu.ow.server.exceptions.OwConfigurationException
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 authentication (can be null)
com.wewebu.ow.server.exceptions.OwException
protected OwCMISNetwork getNetwork()
protected com.wewebu.ow.server.conf.OwBaseInitializer getBaseInitialzier()
protected org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider retrieveAuthenticationProvider(Map<String,String> openCmisParams, OwCMISNetworkCfg netConfig) throws com.wewebu.ow.server.exceptions.OwException
By default the provider is created using the network instance, if not available null is returned
openCmisParams
- Map of Strings representing configuration parametersnetConfig
- OwCMISNetworkCfg current configuration object
com.wewebu.ow.server.exceptions.OwException
protected com.wewebu.ow.server.util.ldap.OwLdapConnector createLDAPConnector(com.wewebu.ow.server.util.OwAuthenticationConfiguration authenticationConf_p) throws com.wewebu.ow.server.exceptions.OwException
authenticationConf_p
- OwAuthenticationConfiguration
com.wewebu.ow.server.exceptions.OwException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |