com.wewebu.ow.server.ecmimpl.owsimpleadp
Class OwSimpleCredentials
java.lang.Object
com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
com.wewebu.ow.server.ecmimpl.owsimpleadp.OwSimpleCredentials
- All Implemented Interfaces:
- com.wewebu.ow.server.ecm.OwCredentials
public class OwSimpleCredentials
- extends com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
Credentials of a user.
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
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 |
OwSimpleCredentials
public OwSimpleCredentials(String user_p,
String password_p)
- create a credentials object
- Parameters:
user_p
- password_p
-
getUserInfo
public com.wewebu.ow.server.ecm.OwUserInfo getUserInfo()
throws Exception
- Throws:
Exception
getSecurityToken
public String getSecurityToken(com.wewebu.ow.server.ecm.OwResource resource_p)
- Specified by:
getSecurityToken
in interface com.wewebu.ow.server.ecm.OwCredentials
- Overrides:
getSecurityToken
in class com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
invalidate
public void invalidate()
throws Exception
- Throws:
Exception
isContainerBasedAuthenticated
public boolean isContainerBasedAuthenticated()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
isContainerBasedAuthenticated
in interface com.wewebu.ow.server.ecm.OwCredentials
- Overrides:
isContainerBasedAuthenticated
in class com.wewebu.ow.server.ecmimpl.OwAbstractCredentials
- Throws:
com.wewebu.ow.server.exceptions.OwException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.