|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
weblogic.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 |
ABSTAINIndicates that the Access Decision can not determine whether the request should be permitted or denied. |
static int |
ABSTAIN_VALUE |
static Result |
DENYIndicates that the Access Decision has decided that the request should be denied. |
static int |
DENY_VALUE |
static Result |
PERMITIndicates that the Access Decision has decided that the request should be permitted. |
static int |
PERMIT_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
| Method Detail |
|---|
public String toString()
Result, represented as a String.toString in class ObjectResult, represented as a String.public int getEnumValue()
ResultResultpublic boolean isAbstain()
public boolean isDeny()
public boolean isPermit()
public boolean equals(Object other)
equals in class Objectpublic Result narrow()
AdjudicationProvider and AdjudicationProviderV2 can fail if instances of a Result derived class are presented.
|
Copyright 1996, 2015, 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 Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||