Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


oracle.security.jps.service.idm.util
Class IdmErrorConstants

java.lang.Object
  extended by oracle.security.jps.service.idm.util.IdmErrorConstants


public final class IdmErrorConstants
extends java.lang.Object

This class defines the values for the reason field used by the oc4j when the authenticate fails for some reason. And the reason passed by the oc4j is one of these values. This class uses the OC4J specific HttpAuthenticator to get all these values.


Field Summary
static int REASON_CHALLENGE_USER
          The user is not authenticated, but allow user to re-authenticated.
static int REASON_INVALID_USER
          The user is not authenticated (i.e.
static int REASON_PRECLUDED_ACCESS
          The resource is protected by a security constraint contains no roles.
static int REASON_UNAUTHORIZED
          The user is authenticated, but not authorized to access that protected resource.

 

Constructor Summary
IdmErrorConstants()
           

 

Method Summary

 

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

 

Field Detail

REASON_INVALID_USER

public static final int REASON_INVALID_USER
The user is not authenticated (i.e. invalid credential). 401 will be return.
See Also:
Constant Field Values

REASON_CHALLENGE_USER

public static final int REASON_CHALLENGE_USER
The user is not authenticated, but allow user to re-authenticated. This is mainly for basic authentication to return 401, so that browser will popup the authentication window again
See Also:
Constant Field Values

REASON_UNAUTHORIZED

public static final int REASON_UNAUTHORIZED
The user is authenticated, but not authorized to access that protected resource. 403 will be returned.
See Also:
Constant Field Values

REASON_PRECLUDED_ACCESS

public static final int REASON_PRECLUDED_ACCESS
The resource is protected by a security constraint contains no roles. 403 will be returned.
See Also:
Constant Field Values

Constructor Detail

IdmErrorConstants

public IdmErrorConstants()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-03


Copyright © 2010, Oracle. All rights reserved.