Class SecretKeyCallback.AliasRequest

  • All Implemented Interfaces:
    SecretKeyCallback.Request, jakarta.security.auth.message.callback.SecretKeyCallback.Request
    Enclosing class:
    SecretKeyCallback

    public static class SecretKeyCallback.AliasRequest
    extends jakarta.security.auth.message.callback.SecretKeyCallback.AliasRequest
    implements SecretKeyCallback.Request
    Request type for secret keys that are identified via an alias.
    • Constructor Detail

      • AliasRequest

        public AliasRequest​(String alias)
        Construct an AliasRequest with an alias.

        The alias is used to directly identify the secret key to be returned.

        If the alias is null, the handler of the callback relies on its own default.

        Parameters:
        alias - name identifier for the secret key, or null.