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 Type
    Method
    Description
    void
    addOutInterceptors(org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message> inteceptor)
    Add out interceptors
    Returns the client
    getClientForSubject(org.apache.shiro.subject.Subject subject)
    Adds subject to a new client and returns
    getClientForSystemSubject(org.apache.shiro.subject.Subject subject)
    Adds system subject to a new client and returns the client
    Get max redirect
    org.apache.cxf.jaxrs.client.WebClient
    Returns the WebClient
    org.apache.cxf.jaxrs.client.WebClient
    getWebClientForSubject(org.apache.shiro.subject.Subject subject)
    Adds subject to a new WebClient and returns
    org.apache.cxf.jaxrs.client.WebClient
    Returns 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

      T getClientForSubject(org.apache.shiro.subject.Subject subject)
      Adds subject to a new client and returns
      Parameters:
      subject -
      Returns:
    • getClientForSystemSubject

      T getClientForSystemSubject(org.apache.shiro.subject.Subject subject)
      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 -