Class ProtocolBasedHttpAuthenticationSchemeAdapter

    • Constructor Detail

      • ProtocolBasedHttpAuthenticationSchemeAdapter

        public ProtocolBasedHttpAuthenticationSchemeAdapter()
    • Method Detail

      • getAllowedProtocols

        @NotNull
        public java.util.Set<HttpAuthenticationProtocol> getAllowedProtocols​(@NotNull
                                                                             javax.servlet.http.HttpServletRequest request,
                                                                             @NotNull
                                                                             java.util.Map<java.lang.String,​java.lang.String> properties)
        Description copied from interface: HttpAuthenticationProtocolsProvider
        Returns all authentication protocols those are supported for the specified HTTP request.
        Specified by:
        getAllowedProtocols in interface HttpAuthenticationProtocolsProvider
        Parameters:
        request - request
        properties - properties from config file
        Returns:
        allowed protocols
      • getForcedProtocols

        @NotNull
        public java.util.Set<HttpAuthenticationProtocol> getForcedProtocols​(@NotNull
                                                                            javax.servlet.http.HttpServletRequest request,
                                                                            @NotNull
                                                                            java.util.Map<java.lang.String,​java.lang.String> properties)
        Description copied from interface: HttpAuthenticationProtocolsProvider
        Returns protocols which are used to force authentication when user is not authenticated.
        Specified by:
        getForcedProtocols in interface HttpAuthenticationProtocolsProvider
        Parameters:
        request - request
        properties - properties from config file
        Returns:
        forced protocols