Class AuthDecisionStatementBean
java.lang.Object
org.apache.wss4j.common.saml.bean.AuthDecisionStatementBean
Class SamlDecision represents the raw data to be used by the
SamlAssertionWrapper when
creating SAML Authorization Decision Statements.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumenum representing the possible decision types as specified in the SAML spec -
Constructor Summary
ConstructorsConstructorDescriptionConstructor 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
Modifier and TypeMethodDescriptionbooleanMethod getActions returns the actions of this SamlDecision object.Method getDecision returns the decision of this SamlDecision object.Method getEvidence returns the evidence of this SamlDecision object.Method getResource returns the resource of this SamlDecision object.Get the SubjectinthashCode()voidsetActions(List<ActionBean> actionBeans) Method setActions sets the actions of this SamlDecision object.voidMethod setDecision sets the decision of this SamlDecision object.voidsetEvidence(Object evidence) Method setEvidence sets the evidence of this SamlDecision object.voidsetResource(String resource) Method setResource sets the resource of this SamlDecision object.voidsetSubject(SubjectBean subject) Set the Subject
-
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 Decisionresource- of type Stringsubject- of type SubjectBeanevidence- of type ObjectactionBeans- of type List
-
-
Method Details
-
getResource
Method getResource returns the resource of this SamlDecision object.- Returns:
- the resource (type String) of this SamlDecision object.
-
setResource
Method setResource sets the resource of this SamlDecision object.- Parameters:
resource- the resource of this SamlDecision object.
-
getActions
Method getActions returns the actions of this SamlDecision object.- Returns:
- the actions (type List
) of this SamlDecision object.
-
setActions
Method setActions sets the actions of this SamlDecision object.- Parameters:
actionBeans- the actions of this SamlDecision object.
-
getDecision
Method getDecision returns the decision of this SamlDecision object.- Returns:
- the decision (type Decision) of this SamlDecision object.
-
setDecision
Method setDecision sets the decision of this SamlDecision object.- Parameters:
decision- the decision of this SamlDecision object.
-
getEvidence
Method getEvidence returns the evidence of this SamlDecision object.- Returns:
- the evidence (type Object) of this SamlDecision object.
-
setEvidence
Method setEvidence sets the evidence of this SamlDecision object.- Parameters:
evidence- the evidence of this SamlDecision object.
-
getSubject
Get the Subject- Returns:
- the Subject
-
setSubject
Set the Subject- Parameters:
subject- the SubjectBean instance to set
-
equals
-
hashCode
public int hashCode()
-