com.wewebu.ow.server.auth
Class OwCredentialsAuthentication
java.lang.Object
com.wewebu.ow.server.auth.OwCredentialsAuthentication
- All Implemented Interfaces:
- OwAuthentication, Serializable, Principal
public class OwCredentialsAuthentication
- extends Object
- implements OwAuthentication
Alfresco Workdesk credentials based authentication.
This token associates an authenticated principal with its corresponding OwCredentials
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
- Since:
- 4.0.0.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwCredentialsAuthentication
public OwCredentialsAuthentication(OwCredentials credentials_p,
String userName_p,
String password_p,
Map<String,String> loginMap_p)
- Deprecated. The loginMap_p is no longer needed. Use
OwCredentialsAuthentication(OwCredentials, String, String)
instead.
OwCredentialsAuthentication
public OwCredentialsAuthentication(OwCredentials credentials_p,
String userName_p,
String password_p)
getUserName
public String getUserName()
- Specified by:
getUserName
in interface OwAuthentication
getPassword
public String getPassword()
- Specified by:
getPassword
in interface OwAuthentication
getOWDCredentials
public OwCredentials getOWDCredentials()
- Specified by:
getOWDCredentials
in interface OwAuthentication
isAuthenticated
public boolean isAuthenticated()
- Specified by:
isAuthenticated
in interface OwAuthentication
getName
public String getName()
- Specified by:
getName
in interface Principal
getLoginMap
public Map<String,String> getLoginMap()
- Deprecated. This will be removed in the near future. Use
getName()
and getPassword()
instead.
- Specified by:
getLoginMap
in interface OwAuthentication
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.