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 and Description |
---|
OwCMISCredentials(String user_p,
String password_p) |
OwCMISCredentials(String user_p,
String password_p,
org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider nativeAuthProvider) |
Modifier and Type | Method and Description |
---|---|
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() |
OwUsersRepository |
getUserRepository()
UserRepository which can be used for User/Group selection
|
void |
invalidate() |
void |
setMandator(com.wewebu.ow.server.mandator.OwMandator mandator_p)
Set the OwMandator object associated with current user.
|
void |
setUserRepository(OwUsersRepository userRepository)
Set current OwUsersRepository
|
public OwCMISCredentials(String user_p, String password_p) throws com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwConfigurationException
protected com.wewebu.ow.server.ecm.OwUserInfo createUserInfo(String userName_p) throws com.wewebu.ow.server.exceptions.OwException
userName_p
- String name used for logged in usercom.wewebu.ow.server.exceptions.OwException
public com.wewebu.ow.server.mandator.OwMandator getMandator()
public com.wewebu.ow.server.ecm.OwUserInfo getUserInfo() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public void invalidate() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public void setMandator(com.wewebu.ow.server.mandator.OwMandator mandator_p)
mandator_p
- OwMandatorpublic org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider getAuthenticationProvider()
public OwUsersRepository getUserRepository()
public void setUserRepository(OwUsersRepository userRepository)
userRepository
- OwUsersRepository (can be null)Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.