public abstract class AbstractAuthenticationProvider extends Object implements SessionAwareAuthenticationProvider
| Constructor and Description |
|---|
AbstractAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getBearerToken()
Gets the bearer token from the session.
|
protected String |
getCsrfHeader()
Gets the CSRF header name.
|
HandlerResolver |
getHandlerResolver() |
HostnameVerifier |
getHostnameVerifier() |
Map<String,List<String>> |
getHTTPHeaders(String url) |
protected String |
getPassword()
Gets the password from the session.
|
protected String |
getProxyPassword()
Gets the proxy password from the session.
|
protected String |
getProxyUser()
Gets the proxy user name from the session.
|
BindingSession |
getSession()
Returns
BindingSession. |
Element |
getSOAPHeaders(Object portObject) |
SSLSocketFactory |
getSSLSocketFactory() |
X509TrustManager |
getTrustManager()
Gets the trust manager corresponding to the SSL socket factory.
|
protected String |
getUser()
Gets the user name from the session.
|
void |
putResponseHeaders(String url,
int statusCode,
Map<String,List<String>> headers) |
void |
setSession(BindingSession session)
Sets the
BindingSession the authentication provider lives in. |
public void setSession(BindingSession session)
BindingSession the authentication provider lives in.setSession in interface SessionAwareAuthenticationProviderpublic BindingSession getSession()
BindingSession.public Map<String,List<String>> getHTTPHeaders(String url)
getHTTPHeaders in interface AuthenticationProviderpublic Element getSOAPHeaders(Object portObject)
getSOAPHeaders in interface AuthenticationProviderpublic HandlerResolver getHandlerResolver()
getHandlerResolver in interface AuthenticationProviderpublic void putResponseHeaders(String url, int statusCode, Map<String,List<String>> headers)
putResponseHeaders in interface AuthenticationProviderpublic SSLSocketFactory getSSLSocketFactory()
getSSLSocketFactory in interface AuthenticationProviderpublic HostnameVerifier getHostnameVerifier()
getHostnameVerifier in interface AuthenticationProviderpublic X509TrustManager getTrustManager()
X509TrustManager or nullprotected String getUser()
null if the user name is not setprotected String getPassword()
null if the password is not setprotected String getBearerToken()
null if the token is not setprotected String getProxyUser()
null if the user name is not setprotected String getProxyPassword()
null if the password is not setprotected String getCsrfHeader()
null if the CSRF header name is
not setCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.