Class ResourceOwnerAuthenticationRequired

  • All Implemented Interfaces:
    Serializable

    public class ResourceOwnerAuthenticationRequired
    extends OAuth2Exception
    Thrown when the resource owner needs to be authenticated before the authorization can be granted to a OAuth2 client.
    Since:
    12.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceOwnerAuthenticationRequired

        public ResourceOwnerAuthenticationRequired​(URI redirectUri)
        Constructs a new ResourceOwnerAuthenticationRequired instance with the specified redirect uri.
        Parameters:
        redirectUri - The redirect uri of the login page for the user agent to be redirected to.
    • Method Detail

      • getRedirectUri

        public URI getRedirectUri()
        Gets the redirect uri of the login page.
        Returns:
        The redirct uri.