|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.OwAbstractCredentials
com.wewebu.ow.server.ecmimpl.owdummy.OwDummyCredentials
public class OwDummyCredentials
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 Summary | |
---|---|
OwDummyCredentials(String strUserName_p)
dummy login - do no authentication |
|
OwDummyCredentials(String userName_p,
String password_p,
Node authenticationNode_p)
authenticate against LDAP |
Method Summary | |
---|---|
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()
|
Methods inherited from class com.wewebu.ow.server.ecmimpl.OwAbstractCredentials |
---|
getAuthInfo, setAuthInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 valid
com.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.OwInvalidOperationException
public OwDummyCredentials(String strUserName_p)
strUserName_p
- Method Detail |
---|
public com.wewebu.ow.server.ecm.OwUserInfo getUserInfo() throws Exception
Exception
public void invalidate() throws Exception
Exception
public String getSecurityToken(com.wewebu.ow.server.ecm.OwResource resource_p)
getSecurityToken
in interface com.wewebu.ow.server.ecm.OwCredentials
getSecurityToken
in class com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
resource_p
- OwResource of subsystem or null to use default
public boolean isContainerBasedAuthenticated() throws com.wewebu.ow.server.exceptions.OwException
isContainerBasedAuthenticated
in interface com.wewebu.ow.server.ecm.OwCredentials
isContainerBasedAuthenticated
in class com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
com.wewebu.ow.server.exceptions.OwException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |