return policyResponseMessage;
}
+ @Override
public void setPolicyResponseStatus(PolicyResponseStatus policyResponseStatus) {
this.policyResponseStatus = policyResponseStatus;
}
+ @Override
public void setActionAdvised(Map<String, String> actionAdvised) {
this.actionAdvised = actionAdvised;
}
+ @Override
public void setActionTaken(Map<String, String> actionTaken) {
this.actionTaken = actionTaken;
}
+ @Override
public void setRequestAttributes(Map<String, String> requestAttributes) {
this.requestAttributes = requestAttributes;
}
+ @Override
public void setPolicyResponseMessage(String policyResponseMessage) {
this.policyResponseMessage = policyResponseMessage;
}
+ @Override
public void setPolicyResponseStatus(String policyResponseMessage, PolicyResponseStatus policyResponseStatus) {
this.policyResponseMessage = policyResponseMessage;
this.policyResponseStatus = policyResponseStatus;
@Override
public String getPolicyName() {
if(policyName!=null && policyName.contains(".xml")){
- return (policyName.substring(0, policyName.substring(0, policyName.lastIndexOf(".")).lastIndexOf(".")));
+ return policyName.substring(0, policyName.substring(0, policyName.lastIndexOf('.')).lastIndexOf('.'));
}
return policyName;
}
public void setOther(String other) {
this.other = other;
}
-
+ @Override
public PolicyDecision getDecision() {
return policyDecision;
}
public void setDetails(String details){
this.details = details;
}
-
+ @Override
public String getDetails(){
return details;
}
-
+ @Override
public PolicyConfigType getPolicyType() {
return type;
}