Interface HandlerContract

    • Method Detail

      • setSecurityInfo

        void setSecurityInfo​(Principal principal,
                             Object credential)

        Set the security context.

        For X509 Certificates, they can be passed as the Credential.

        Parameters:
        principal - Principal to be used
        credential - Credential to be used