public class OwDummyCredentials
extends com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
Implementation for the user Credentials and Session context for the login to the dummy DMS System.
Created after login to the DMS System. Holds Session information and user authentication information.
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 |
|---|
OwDummyCredentials(String strUserName_p)
dummy login - do no authentication
|
OwDummyCredentials(String userName_p,
String password_p,
Node authenticationNode_p)
authenticate against LDAP
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSecurityToken(com.wewebu.ow.server.ecm.OwResource resource_p)
get security token used for SSO between different applications accessing the same ECM system
|
com.wewebu.ow.server.ecm.OwUserInfo |
getUserInfo()
get user information object for the logged in user
|
void |
invalidate()
close connection, invalid credentials object
|
boolean |
isContainerBasedAuthenticated() |
public OwDummyCredentials(String userName_p, String password_p, Node authenticationNode_p) throws com.wewebu.ow.server.exceptions.OwAuthenticationException, com.wewebu.ow.server.exceptions.OwConfigurationException, com.wewebu.ow.server.exceptions.OwInvalidOperationException
userName_p - password_p - authenticationNode_p - com.wewebu.ow.server.exceptions.OwAuthenticationException - User login data is not validcom.wewebu.ow.server.exceptions.OwConfigurationException - possible cause: the LDAP connector is not set up correctly in the bootstrap.xml (Authentication node)com.wewebu.ow.server.exceptions.OwInvalidOperationExceptionpublic OwDummyCredentials(String strUserName_p)
strUserName_p - public com.wewebu.ow.server.ecm.OwUserInfo getUserInfo()
throws Exception
Exceptionpublic void invalidate()
throws Exception
Exceptionpublic String getSecurityToken(com.wewebu.ow.server.ecm.OwResource resource_p)
getSecurityToken in interface com.wewebu.ow.server.ecm.OwCredentialsgetSecurityToken in class com.wewebu.ow.server.ecmimpl.OwAbstractCredentialsresource_p - OwResource of subsystem or null to use defaultpublic boolean isContainerBasedAuthenticated()
throws com.wewebu.ow.server.exceptions.OwException
isContainerBasedAuthenticated in interface com.wewebu.ow.server.ecm.OwCredentialsisContainerBasedAuthenticated in class com.wewebu.ow.server.ecmimpl.OwAbstractCredentialscom.wewebu.ow.server.exceptions.OwExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.