Class AuthDecisionStatementBean

java.lang.Object
org.apache.wss4j.common.saml.bean.AuthDecisionStatementBean

public class AuthDecisionStatementBean extends Object
Class SamlDecision represents the raw data to be used by the SamlAssertionWrapper when creating SAML Authorization Decision Statements.
  • Constructor Details

    • AuthDecisionStatementBean

      public AuthDecisionStatementBean()
      Constructor SamlDecision creates a new SamlDecision instance.
    • AuthDecisionStatementBean

      public AuthDecisionStatementBean(AuthDecisionStatementBean.Decision decision, String resource, SubjectBean subject, Object evidence, List<ActionBean> actionBeans)
      Constructor SamlDecision creates a new SamlDecision instance.
      Parameters:
      decision - of type Decision
      resource - of type String
      subject - of type SubjectBean
      evidence - of type Object
      actionBeans - of type List
  • Method Details

    • getResource

      public String getResource()
      Method getResource returns the resource of this SamlDecision object.
      Returns:
      the resource (type String) of this SamlDecision object.
    • setResource

      public void setResource(String resource)
      Method setResource sets the resource of this SamlDecision object.
      Parameters:
      resource - the resource of this SamlDecision object.
    • getActions

      public List<ActionBean> getActions()
      Method getActions returns the actions of this SamlDecision object.
      Returns:
      the actions (type List) of this SamlDecision object.
    • setActions

      public void setActions(List<ActionBean> actionBeans)
      Method setActions sets the actions of this SamlDecision object.
      Parameters:
      actionBeans - the actions of this SamlDecision object.
    • getDecision

      public AuthDecisionStatementBean.Decision getDecision()
      Method getDecision returns the decision of this SamlDecision object.
      Returns:
      the decision (type Decision) of this SamlDecision object.
    • setDecision

      public void setDecision(AuthDecisionStatementBean.Decision decision)
      Method setDecision sets the decision of this SamlDecision object.
      Parameters:
      decision - the decision of this SamlDecision object.
    • getEvidence

      public Object getEvidence()
      Method getEvidence returns the evidence of this SamlDecision object.
      Returns:
      the evidence (type Object) of this SamlDecision object.
    • setEvidence

      public void setEvidence(Object evidence)
      Method setEvidence sets the evidence of this SamlDecision object.
      Parameters:
      evidence - the evidence of this SamlDecision object.
    • getSubject

      public SubjectBean getSubject()
      Get the Subject
      Returns:
      the Subject
    • setSubject

      public void setSubject(SubjectBean subject)
      Set the Subject
      Parameters:
      subject - the SubjectBean instance to set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object