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 theSamlAssertionWrapper
when creating SAML Authorization Decision Statements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthDecisionStatementBean.Decision
enum representing the possible decision types as specified in the SAML spec
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 Subjectint
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
-
-
-
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 Decisionresource
- of type Stringsubject
- of type SubjectBeanevidence
- of type ObjectactionBeans
- 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
-
-