Skip navigation links

Oracle Containers for J2EE Security Java API Reference
10g Release 3 (10.1.3.1.0)

B32115-01


oracle.security.jazn.collector
Class IdmErrorConstants

java.lang.Object
  extended byoracle.security.jazn.collector.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()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, 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 Containers for J2EE Security Java API Reference
10g Release 3 (10.1.3.1.0)

B32115-01


Copyright © 2004, 2006, Oracle. All rights reserved.