public class PolicyResponse extends Object
Authentication
Authentication
Authentication
Modifier and Type | Class and Description |
---|---|
class |
PolicyResponse.StackInfomation |
Modifier and Type | Field and Description |
---|---|
static PolicyResponse |
NOT_MUTABLE |
static int |
NOT_MUTABLE_STATE |
static PolicyResponse |
NOT_PERMITTED |
static int |
NOT_PERMITTED_STATE |
static PolicyResponse |
NOT_VISIBLE |
static int |
NOT_VISIBLE_STATE |
static PolicyResponse |
VALID |
static int |
VALID_STATE |
Constructor and Description |
---|
PolicyResponse(int state,
String stateString) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getReason() |
int |
getState() |
String |
getStateString() |
StackTraceElement[] |
getTrace() |
int |
hashCode() |
PolicyResponse |
log() |
void |
setReason(String reason) |
void |
setTrace(StackTraceElement[] trace) |
String |
toString() |
PolicyResponse |
trace() |
PolicyResponse |
with(String reason,
Map<String,Object> authenticationDetails,
ContextInfo contextInfo) |
PolicyResponse |
with(String reason,
Map<String,Object> authenticationDetails,
org.apache.commons.lang3.tuple.Pair<String,String>... keyValue) |
public static final int VALID_STATE
public static final int NOT_VISIBLE_STATE
public static final int NOT_MUTABLE_STATE
public static final int NOT_PERMITTED_STATE
public static final PolicyResponse VALID
public static final PolicyResponse NOT_VISIBLE
public static final PolicyResponse NOT_MUTABLE
public static final PolicyResponse NOT_PERMITTED
public PolicyResponse(int state, String stateString)
public PolicyResponse with(String reason, Map<String,Object> authenticationDetails, ContextInfo contextInfo)
public PolicyResponse with(String reason, Map<String,Object> authenticationDetails, org.apache.commons.lang3.tuple.Pair<String,String>... keyValue)
public PolicyResponse trace()
public PolicyResponse log()
protected boolean canEqual(Object other)
public int getState()
public String getStateString()
public String getReason()
public StackTraceElement[] getTrace()
public void setReason(String reason)
public void setTrace(StackTraceElement[] trace)
Copyright © 2021. All rights reserved.