public abstract class OwAbstractCredentials extends Object implements OwCredentials
Abstract implementation of OwCredentials. The method getAuthInfo is implemented based on a map of strings.
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 |
---|
OwAbstractCredentials() |
OwAbstractCredentials(String user_p) |
OwAbstractCredentials(String user_p,
String password_p) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthInfo(String infoKey_p)
Return the String which is associated with the requested key.
|
String |
getSecurityToken(OwResource resource_p)
get security token used for SSO between different applications accessing the same ECM system
|
boolean |
isContainerBasedAuthenticated()
check the current user is authenticated container based
|
protected String |
setAuthInfo(String key_p,
String value_p)
Define a specific authentication key-value association.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUserInfo, invalidate
public OwAbstractCredentials()
public OwAbstractCredentials(String user_p)
public String getAuthInfo(String infoKey_p)
OwCredentials
getAuthInfo
in interface OwCredentials
infoKey_p
- StringOwCredentialsConstants
protected String setAuthInfo(String key_p, String value_p)
key_p
- String key association partvalue_p
- String value association partgetAuthInfo(String)
public String getSecurityToken(OwResource resource_p)
OwCredentials
getSecurityToken
in interface OwCredentials
resource_p
- OwResource of subsystem or null to use defaultpublic boolean isContainerBasedAuthenticated() throws OwException
OwCredentials
isContainerBasedAuthenticated
in interface OwCredentials
OwException
- if problem occur during investigate of authenticationCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.