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
| Constructor and Description |
|---|
OwCredentialsAuthentication(OwCredentials credentials_p,
String userName_p,
String password_p) |
OwCredentialsAuthentication(String userName_p,
String password_p)
Simple non authenticated OwCredentialsAuthentication constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
OwCredentials |
getOWDCredentials() |
String |
getPassword() |
String |
getUserName() |
boolean |
isAuthenticated() |
public OwCredentialsAuthentication(String userName_p, String password_p)
userName_p - password_p - public OwCredentialsAuthentication(OwCredentials credentials_p, String userName_p, String password_p)
public String getUserName()
getUserName in interface OwAuthenticationpublic String getPassword()
getPassword in interface OwAuthenticationpublic OwCredentials getOWDCredentials()
getOWDCredentials in interface OwAuthenticationpublic boolean isAuthenticated()
isAuthenticated in interface OwAuthenticationCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.