Class ResourceOwnerAuthenticationRequired
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.oauth2.core.exceptions.OAuth2Exception
-
- org.forgerock.oauth2.core.exceptions.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 Summary
Constructors Constructor Description ResourceOwnerAuthenticationRequired(URI redirectUri)Constructs a new ResourceOwnerAuthenticationRequired instance with the specified redirect uri.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetRedirectUri()Gets the redirect uri of the login page.-
Methods inherited from class org.forgerock.oauth2.core.exceptions.OAuth2Exception
getError, getParameterLocation, getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-