com.wewebu.ow.server.auth
Class OwCredentialsAuthentication

java.lang.Object
  extended by 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

Constructor Summary
OwCredentialsAuthentication(OwCredentials credentials_p, String userName_p, String password_p)
           
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.
 
Method Summary
 Map<String,String> getLoginMap()
          Deprecated. This will be removed in the near future. Use getName() and getPassword() instead.
 String getName()
           
 OwCredentials getOWDCredentials()
           
 String getPassword()
           
 String getUserName()
           
 boolean isAuthenticated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

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)
Method Detail

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.