Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


oracle.ocsg.oauth2.ext.action
Class OAuth2ErrorAction

java.lang.Object
  extended byoracle.ocsg.oauth2.ext.action.OAuth2ErrorAction

All Implemented Interfaces:
OAuth2Action

public class OAuth2ErrorAction
extends Object
implements OAuth2Action

Reports errors during OAuth 2.0 request handling.


Field Summary
static OAuth2ErrorAction ERROR_ACCESS_DENIED
           
static OAuth2ErrorAction ERROR_INVALID_CLIENT
           
static OAuth2ErrorAction ERROR_INVALID_GRANT
           
static OAuth2ErrorAction ERROR_INVALID_REQUEST
           
static OAuth2ErrorAction ERROR_INVALID_SCOPE
           
static OAuth2ErrorAction ERROR_METHOD_NOT_ALLOWED
           
static OAuth2ErrorAction ERROR_SERVER_ERROR
           
static OAuth2ErrorAction ERROR_TEMP_UNAVAILAZBLE
           
static OAuth2ErrorAction ERROR_UNAUTHORIZED_CLIENT
           
static OAuth2ErrorAction ERROR_UNSUPPORTED_GRANT_TYPE
           
static OAuth2ErrorAction ERROR_UNSUPPORTED_RESPONSE_TYPE
           
static Map TO_HTTP_CODE
           

 

Constructor Summary
OAuth2ErrorAction(String err)
           

 

Method Summary
 String getError()
          Gets the error type.
 String getErrorDescription()
          Gets the error description.
 URI getErrorUri()
          Gets the redirect uri.
 int getStatus()
          Gets the http status code.
 void setErrorDescription(String errorDescription)
          Sets the error description.
 void setErrorUri(URI errorUri)
          Sets the error uri.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

ERROR_ACCESS_DENIED

public static final OAuth2ErrorAction ERROR_ACCESS_DENIED

ERROR_INVALID_CLIENT

public static final OAuth2ErrorAction ERROR_INVALID_CLIENT

ERROR_INVALID_GRANT

public static final OAuth2ErrorAction ERROR_INVALID_GRANT

ERROR_INVALID_REQUEST

public static final OAuth2ErrorAction ERROR_INVALID_REQUEST

ERROR_INVALID_SCOPE

public static final OAuth2ErrorAction ERROR_INVALID_SCOPE

ERROR_METHOD_NOT_ALLOWED

public static final OAuth2ErrorAction ERROR_METHOD_NOT_ALLOWED

ERROR_SERVER_ERROR

public static final OAuth2ErrorAction ERROR_SERVER_ERROR

ERROR_TEMP_UNAVAILAZBLE

public static final OAuth2ErrorAction ERROR_TEMP_UNAVAILAZBLE

ERROR_UNAUTHORIZED_CLIENT

public static final OAuth2ErrorAction ERROR_UNAUTHORIZED_CLIENT

ERROR_UNSUPPORTED_GRANT_TYPE

public static final OAuth2ErrorAction ERROR_UNSUPPORTED_GRANT_TYPE

ERROR_UNSUPPORTED_RESPONSE_TYPE

public static final OAuth2ErrorAction ERROR_UNSUPPORTED_RESPONSE_TYPE

TO_HTTP_CODE

public static final Map TO_HTTP_CODE

Constructor Detail

OAuth2ErrorAction

public OAuth2ErrorAction(String err)

Method Detail

getError

public String getError()
Gets the error type.
Returns:
error type

getErrorDescription

public String getErrorDescription()
Gets the error description.
Returns:
error description

getErrorUri

public URI getErrorUri()
Gets the redirect uri.
Returns:
error redirect uri

getStatus

public int getStatus()
Gets the http status code.
Returns:
http status

setErrorDescription

public void setErrorDescription(String errorDescription)
Sets the error description.
Parameters:
errorDescription -

setErrorUri

public void setErrorUri(URI errorUri)
Sets the error uri.
Parameters:
errorUri -

Skip navigation links

Oracle Communications Services Gatekeeper Java API Reference
6.0

E55513-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.