Class AggregateAuthenticationResponseHandler

  • All Implemented Interfaces:
    AuthenticationResponseHandler

    public class AggregateAuthenticationResponseHandler
    extends java.lang.Object
    implements AuthenticationResponseHandler
    Used in conjunction with an AggregateDnResolver to execute a list of response handlers. In particular, the resolved DN is expected to be of the form: label:DN where the label indicates the response handler to use. This class only invokes the response handlers that matches the label found on the DN.
    Author:
    Middleware Services
    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
        Logger for this class.
    • Constructor Detail

      • AggregateAuthenticationResponseHandler

        public AggregateAuthenticationResponseHandler()
        Default constructor.
      • AggregateAuthenticationResponseHandler

        public AggregateAuthenticationResponseHandler​(java.util.Map<java.lang.String,​AuthenticationResponseHandler[]> handlers)
        Creates a new aggregate authentication response handler.
        Parameters:
        handlers - authentication response handlers
    • Method Detail

      • getAuthenticationResponseHandlers

        public java.util.Map<java.lang.String,​AuthenticationResponseHandler[]> getAuthenticationResponseHandlers()
        Returns the response handlers to aggregate over.
        Returns:
        map of label to response handlers
      • setAuthenticationResponseHandlers

        public void setAuthenticationResponseHandlers​(java.util.Map<java.lang.String,​AuthenticationResponseHandler[]> handlers)
        Sets the response handlers to aggregate over.
        Parameters:
        handlers - to set
      • addAuthenticationResponseHandlers

        public void addAuthenticationResponseHandlers​(java.lang.String label,
                                                      AuthenticationResponseHandler... handlers)
        Adds an authentication response handler with the supplied label.
        Parameters:
        label - of the resolver
        handlers - authentication response handler