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, waitgetUserInfo, invalidatepublic OwAbstractCredentials()
public OwAbstractCredentials(String user_p)
public String getAuthInfo(String infoKey_p)
OwCredentialsgetAuthInfo in interface OwCredentialsinfoKey_p - StringOwCredentialsConstantsprotected 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)
OwCredentialsgetSecurityToken in interface OwCredentialsresource_p - OwResource of subsystem or null to use defaultpublic boolean isContainerBasedAuthenticated()
throws OwException
OwCredentialsisContainerBasedAuthenticated in interface OwCredentialsOwException - if problem occur during investigate of authenticationCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.