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

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
      extended by com.wewebu.ow.server.ecmimpl.opencmis.auth.OwCMISCredentials
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwCredentials
Direct Known Subclasses:
OwCMISAlfrescoCredentials, OwCMISLDAPCredentials

public class OwCMISCredentials
extends com.wewebu.ow.server.ecmimpl.OwAbstractCredentials

Credentials for CMIS.

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
OwCMISCredentials(String user_p, String password_p)
           
OwCMISCredentials(String user_p, String password_p, org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider nativeAuthProvider)
           
 
Method Summary
protected  com.wewebu.ow.server.ecm.OwUserInfo createUserInfo(String userName_p)
          Factory for creation of OwCMISUserInfo object.
 org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider getAuthenticationProvider()
          Getter for the native AuthenticationProvider, which may exist based on OpenCMIS documentation.
 com.wewebu.ow.server.mandator.OwMandator getMandator()
          Get the mandator which is associated with current user.
 com.wewebu.ow.server.ecm.OwUserInfo getUserInfo()
           
 void invalidate()
           
 void setMandator(com.wewebu.ow.server.mandator.OwMandator mandator_p)
          Set the OwMandator object associated with current user.
 
Methods inherited from class com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
getAuthInfo, getSecurityToken, isContainerBasedAuthenticated, setAuthInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCMISCredentials

public OwCMISCredentials(String user_p,
                         String password_p)
                  throws com.wewebu.ow.server.exceptions.OwConfigurationException
Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException

OwCMISCredentials

public OwCMISCredentials(String user_p,
                         String password_p,
                         org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider nativeAuthProvider)
                  throws com.wewebu.ow.server.exceptions.OwConfigurationException
Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException
Method Detail

createUserInfo

protected com.wewebu.ow.server.ecm.OwUserInfo createUserInfo(String userName_p)
                                                      throws com.wewebu.ow.server.exceptions.OwException
Factory for creation of OwCMISUserInfo object.

Parameters:
userName_p - String name used for logged in user
Returns:
OwCMISUserInfo object
Throws:
com.wewebu.ow.server.exceptions.OwException

getMandator

public com.wewebu.ow.server.mandator.OwMandator getMandator()
Get the mandator which is associated with current user.

Returns:
OwMandator or null if not set

getUserInfo

public com.wewebu.ow.server.ecm.OwUserInfo getUserInfo()
                                                throws com.wewebu.ow.server.exceptions.OwException
Throws:
com.wewebu.ow.server.exceptions.OwException

invalidate

public void invalidate()
                throws com.wewebu.ow.server.exceptions.OwException
Throws:
com.wewebu.ow.server.exceptions.OwException

setMandator

public void setMandator(com.wewebu.ow.server.mandator.OwMandator mandator_p)
Set the OwMandator object associated with current user.

Parameters:
mandator_p - OwMandator

getAuthenticationProvider

public org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider getAuthenticationProvider()
Getter for the native AuthenticationProvider, which may exist based on OpenCMIS documentation.

Returns:
AuthenticationProvider (or null if not available)


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.