/** * Create an instance of {@link SubjectConfirmationType } * */ public SubjectConfirmationType createSubjectConfirmationType() { return new SubjectConfirmationType(); }
/** * Create an instance of {@link ConditionsType } * */ public ConditionsType createConditionsType() { return new ConditionsType(); }
/** * Create an instance of {@link AuthenticationStatementType } * */ public AuthenticationStatementType createAuthenticationStatementType() { return new AuthenticationStatementType(); }
public Assertion(AssertionType assertion) { this.setAdvice(assertion.getAdvice()); this.setAssertionID(assertion.getAssertionID()); this.setConditions(assertion.getConditions()); this.setIssueInstant(assertion.getIssueInstant()); this.setIssuer(assertion.getIssuer()); this.setMajorVersion(assertion.getMajorVersion()); this.setMinorVersion(assertion.getMinorVersion()); this.setSignature(assertion.getSignature()); this.setStatement(assertion.getStatementOrSubjectStatementOrAuthenticationStatement()); }
/** * Create an instance of {@link NameIdentifierType } * */ public NameIdentifierType createNameIdentifierType() { return new NameIdentifierType(); }
/** * Create an instance of {@link ActionType } * */ public ActionType createActionType() { return new ActionType(); }
/** * Create an instance of {@link AssertionType } * */ public AssertionType createAssertionType() { return new AssertionType(); }
/** * Create an instance of {@link SubjectLocalityType } * */ public SubjectLocalityType createSubjectLocalityType() { return new SubjectLocalityType(); }
/** * Create an instance of {@link AdviceType } * */ public AdviceType createAdviceType() { return new AdviceType(); }
/** * Create an instance of {@link AttributeType } * */ public AttributeType createAttributeType() { return new AttributeType(); }
/** * Create an instance of {@link EvidenceType } * */ public EvidenceType createEvidenceType() { return new EvidenceType(); }
/** * Create an instance of {@link AttributeDesignatorType } * */ public AttributeDesignatorType createAttributeDesignatorType() { return new AttributeDesignatorType(); }
/** * Create an instance of {@link DoNotCacheConditionType } * */ public DoNotCacheConditionType createDoNotCacheConditionType() { return new DoNotCacheConditionType(); }
/** * Create an instance of {@link AuthorityBindingType } * */ public AuthorityBindingType createAuthorityBindingType() { return new AuthorityBindingType(); }
/** * Create an instance of {@link AuthorizationDecisionStatementType } * */ public AuthorizationDecisionStatementType createAuthorizationDecisionStatementType() { return new AuthorizationDecisionStatementType(); }
/** * Create an instance of {@link AudienceRestrictionConditionType } * */ public AudienceRestrictionConditionType createAudienceRestrictionConditionType() { return new AudienceRestrictionConditionType(); }
/** * Create an instance of {@link SubjectType } * */ public SubjectType createSubjectType() { return new SubjectType(); }
/** * Create an instance of {@link AttributeStatementType } * */ public AttributeStatementType createAttributeStatementType() { return new AttributeStatementType(); }
public static DecisionType fromValue(String v) { for (DecisionType c: DecisionType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v.toString()); }
/** * Constructs an instance of <code>AuthorizationDecisionStatement</code>. * * @param subject (required) A Subject object * @param resource (required) A String identifying the resource to which * access authorization is sought. * @param decision (required) The decision rendered by the issuer with * respect to the specified resource. The value is of the * <code>DecisionType</code> simple type. * @param action (required) A List of Action objects specifying the set of * actions authorized to be performed on the specified resource. * @param evidence (optional) An Evidence object representing a set of * assertions that the issuer replied on in making decisions. * @exception SAMLException if there is an error in the sender. */ public AuthorizationDecisionStatement( Subject subject, String resource, String decision, List action, Evidence evidence) { setSubject(subject); setResource(resource); setDecision(DecisionType.fromValue(decision)); setAction(action); setEvidence(evidence); } }