Class BaseAuthenticationRequest

    • Constructor Detail

      • BaseAuthenticationRequest

        public BaseAuthenticationRequest()
    • Method Detail

      • getAttribute

        public <T> T getAttribute​(String name)
        Description copied from interface: AuthenticationRequest
        Gets an attribute from the authentication request.

        These can be arbitrary, and extensions are encouraged to use name spaced attribute names in a similar manner to package names.

        The `quarkus.` namespace is reserved

        Specified by:
        getAttribute in interface AuthenticationRequest
        Type Parameters:
        T - The type of the attribute
        Parameters:
        name - The attribute name
        Returns:
        The attribute value
      • setAttribute

        public void setAttribute​(String name,
                                 Object value)
        Description copied from interface: AuthenticationRequest
        Sets an attribute on the authentication request.

        These can be arbitrary, and extensions are encouraged to use name spaced attribute names in a similar manner to package names.

        The `quarkus.` namespace is reserved

        Specified by:
        setAttribute in interface AuthenticationRequest
        Parameters:
        name - The attribute name
        value - The attribute value
      • getAttributes

        public Map<String,​Object> getAttributes()
        Specified by:
        getAttributes in interface AuthenticationRequest
        Returns:
        All the authentication request attributes. Modifications on the returned map will affect the authentication request attributes.