org.apache.ws.security.saml.ext.bean
Class AuthDecisionStatementBean

java.lang.Object
  extended by org.apache.ws.security.saml.ext.bean.AuthDecisionStatementBean

public class AuthDecisionStatementBean
extends Object

Class SamlDecision represents the raw data to be used by the AssertionWrapper when creating SAML Authorization Decision Statements. Created on May 19, 2009


Nested Class Summary
static class AuthDecisionStatementBean.Decision
          enum representing the possible decision types as specified in the SAML spec
 
Constructor Summary
AuthDecisionStatementBean()
          Constructor SamlDecision creates a new SamlDecision instance.
AuthDecisionStatementBean(AuthDecisionStatementBean.Decision decision, String resource, SubjectBean subject, Object evidence, List<ActionBean> actionBeans)
          Constructor SamlDecision creates a new SamlDecision instance.
 
Method Summary
 boolean equals(Object o)
           
 List<ActionBean> getActions()
          Method getActions returns the actions of this SamlDecision object.
 AuthDecisionStatementBean.Decision getDecision()
          Method getDecision returns the decision of this SamlDecision object.
 Object getEvidence()
          Method getEvidence returns the evidence of this SamlDecision object.
 String getResource()
          Method getResource returns the resource of this SamlDecision object.
 SubjectBean getSubject()
          Get the Subject
 int hashCode()
           
 void setActions(List<ActionBean> actionBeans)
          Method setActions sets the actions of this SamlDecision object.
 void setDecision(AuthDecisionStatementBean.Decision decision)
          Method setDecision sets the decision of this SamlDecision object.
 void setEvidence(Object evidence)
          Method setEvidence sets the evidence of this SamlDecision object.
 void setResource(String resource)
          Method setResource sets the resource of this SamlDecision object.
 void setSubject(SubjectBean subject)
          Set the Subject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.