Class BasicAuthAccessInterceptor

    • Constructor Detail

      • BasicAuthAccessInterceptor

        public BasicAuthAccessInterceptor()
    • Method Detail

      • apply

        public void apply​(SecurityAuthentication authentication,
                          URLConnection connection)
        Applies from SecurityAuthentication data a BasicAuth authentication access header.

        Expects "identifier" and "secret" to build a Authorization header.

        Specified by:
        apply in interface SecurityAccessInterceptor
        Parameters:
        authentication - the determined authentication data to authorize for the endpoint access
        connection - the connection to the endpoint