com.wewebu.ow.server.ecmimpl.opencmis.auth
Class OwCMISAuthenticationFactoryAuthenticator

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.auth.OwCMISAuthenticationFactoryAuthenticator
All Implemented Interfaces:
com.wewebu.ow.server.auth.OwAuthenticator

public class OwCMISAuthenticationFactoryAuthenticator
extends Object
implements com.wewebu.ow.server.auth.OwAuthenticator

Factory creating corresponding OwAuthenticator.
Will create and delegate authentication based on current configuration.

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 Summary
OwCMISAuthenticationFactoryAuthenticator(com.wewebu.ow.server.conf.OwBaseInitializer initializer)
           
 
Method Summary
 com.wewebu.ow.server.auth.OwAuthentication authenticate(com.wewebu.ow.server.auth.OwAuthentication authentication)
           
protected  OwCMISCredentialsAuthenticator createAuthenticator(com.wewebu.ow.server.auth.OwAuthentication authentication)
           
protected  OwCMISNetworkCfg getNetworkConfiguration()
          Get current configuration from current OwBaseInitializer instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCMISAuthenticationFactoryAuthenticator

public OwCMISAuthenticationFactoryAuthenticator(com.wewebu.ow.server.conf.OwBaseInitializer initializer)
Method Detail

authenticate

public com.wewebu.ow.server.auth.OwAuthentication authenticate(com.wewebu.ow.server.auth.OwAuthentication authentication)
                                                        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
Throws:
com.wewebu.ow.server.exceptions.OwAuthenticationException
com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwServerException

createAuthenticator

protected OwCMISCredentialsAuthenticator createAuthenticator(com.wewebu.ow.server.auth.OwAuthentication authentication)
                                                      throws com.wewebu.ow.server.exceptions.OwConfigurationException
Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException

getNetworkConfiguration

protected OwCMISNetworkCfg getNetworkConfiguration()
                                            throws com.wewebu.ow.server.exceptions.OwConfigurationException
Get current configuration from current OwBaseInitializer instance.

Returns:
OwCMISNetworkCfg
Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException - if configuration can not be found or read.


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.