|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.spi.Result
public class Result
The Result
class contains the result of calling the
isAccessAllowed
method on an AccessDecision
.
Instances are ABSTAIN
, DENY
, and
PERMIT
.
Field Summary | |
---|---|
static Result |
ABSTAIN
Indicates that the Access Decision can not determine whether the request should be permitted or denied. |
static int |
ABSTAIN_VALUE
Abstain result enumeration |
static Result |
DENY
Indicates that the Access Decision has decided that the request should be denied. |
static int |
DENY_VALUE
Deny result enumeration |
static Result |
PERMIT
Indicates that the Access Decision has decided that the request should be permitted. |
static int |
PERMIT_VALUE
Permit result enumeration |
Constructor Summary | |
---|---|
protected |
Result(int value)
|
Method Summary | |
---|---|
boolean |
equals(Object other)
|
int |
getEnumValue()
Returns the enumeration value for this Result |
boolean |
isAbstain()
Determines if this result indicates an abstain decision |
boolean |
isDeny()
Determines if this result indicates a deny decision |
boolean |
isPermit()
Determines if this result indicates a permit decision |
Result |
narrow()
Converts this Result value to an exact instance of Result and not an instance of any Result derived class, if necessary. |
String |
toString()
Returns this Result , represented as a String. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ABSTAIN_VALUE
public static final int DENY_VALUE
public static final int PERMIT_VALUE
public static final Result ABSTAIN
public static final Result DENY
public static final Result PERMIT
Constructor Detail |
---|
protected Result(int value)
Method Detail |
---|
public String toString()
Result
, represented as a String.
toString
in class Object
Result
, represented as a String.public int getEnumValue()
Result
Result
public boolean isAbstain()
public boolean isDeny()
public boolean isPermit()
public boolean equals(Object other)
equals
in class Object
public Result narrow()
AdjudicationProvider
and AdjudicationProviderV2
can fail if instances of a Result derived class are presented.
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |