public class BasicAuthenticationProviderImpl extends AuthenticationProviderImpl implements BasicAuthenticationProvider
cmisSession, session
Constructor and Description |
---|
BasicAuthenticationProviderImpl(org.apache.chemistry.opencmis.client.bindings.spi.BindingSession cmisSession) |
BasicAuthenticationProviderImpl(Map<String,Serializable> parameters) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getHTTPHeaders()
Return the list of HTTTP Header that must be add to each HTTP request
between the client and server.
|
Map<String,List<String>> |
getHTTPHeaders(AlfrescoSession session)
Return the list of HTTTP Header that must be add to each HTTP request
between the client and server.
|
protected boolean |
isTrue(Object value)
Returns
true if the given parameter exists in the session
and is set to true, false otherwise. |
public BasicAuthenticationProviderImpl(Map<String,Serializable> parameters)
public BasicAuthenticationProviderImpl(org.apache.chemistry.opencmis.client.bindings.spi.BindingSession cmisSession)
public Map<String,List<String>> getHTTPHeaders(AlfrescoSession session)
AuthenticationProvider
getHTTPHeaders
in interface AuthenticationProvider
getHTTPHeaders
in class AuthenticationProviderImpl
session
- : Alfresco Sessionpublic Map<String,List<String>> getHTTPHeaders()
AuthenticationProvider
getHTTPHeaders
in interface AuthenticationProvider
getHTTPHeaders
in class AuthenticationProviderImpl
protected boolean isTrue(Object value)
true
if the given parameter exists in the session
and is set to true, false
otherwise.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.