Package org.codice.ddf.cxf.client
Interface SecureCxfClientFactory<T>
- Type Parameters:
T-
public interface SecureCxfClientFactory<T>
Secure client factory that adds hooks for authenticating via SAML and SAML ECP
This code is experimental. While this interface is functional and tested, it may change or be * removed in a future version of the library.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddOutInterceptors(org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message> inteceptor) Add out interceptorsReturns the clientgetClientForSubject(org.apache.shiro.subject.Subject subject) Adds subject to a new client and returnsgetClientForSystemSubject(org.apache.shiro.subject.Subject subject) Adds system subject to a new client and returns the clientGet max redirectorg.apache.cxf.jaxrs.client.WebClientReturns the WebClientorg.apache.cxf.jaxrs.client.WebClientgetWebClientForSubject(org.apache.shiro.subject.Subject subject) Adds subject to a new WebClient and returnsorg.apache.cxf.jaxrs.client.WebClientReturns the WebClient
-
Method Details
-
getClient
T getClient()Returns the client- Returns:
-
getWebClient
org.apache.cxf.jaxrs.client.WebClient getWebClient()Returns the WebClient- Returns:
-
getWebSystemClient
org.apache.cxf.jaxrs.client.WebClient getWebSystemClient()Returns the WebClient- Returns:
-
getClientForSubject
Adds subject to a new client and returns- Parameters:
subject-- Returns:
-
getClientForSystemSubject
Adds system subject to a new client and returns the client- Parameters:
subject-- Returns:
-
getWebClientForSubject
org.apache.cxf.jaxrs.client.WebClient getWebClientForSubject(org.apache.shiro.subject.Subject subject) Adds subject to a new WebClient and returns- Parameters:
subject-- Returns:
-
getSameUriRedirectMax
Integer getSameUriRedirectMax()Get max redirect- Returns:
-
addOutInterceptors
void addOutInterceptors(org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message> inteceptor) Add out interceptors- Parameters:
inteceptor-
-