Class TokenAuthAccessInterceptor

    • Constructor Detail

      • TokenAuthAccessInterceptor

        public TokenAuthAccessInterceptor()
    • Method Detail

      • apply

        public void apply​(SecurityAuthentication authentication,
                          URLConnection connection)
        Applies from SecurityAuthentication data plain token authentication access headers.

        Expects headers.* key value pairs to pass it directly to the connection.

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