public class SAMLAssertion2_2FactoryImpl extends SAMLAssertionFactory
SAML_VER_CHECK, SAML1_1, SAML2_0| Constructor and Description |
|---|
SAMLAssertion2_2FactoryImpl()
Creates a new instance of SAMLAssertion2_2FactoryImpl
|
| Modifier and Type | Method and Description |
|---|---|
Action |
createAction(Element actionElement) |
Action |
createAction(String action,
String namespace)
Creates an
Action element. |
Advice |
createAdvice(List assertionidreference,
List assertion,
List otherelement)
Creates an
Advice element. |
AnyType |
createAnyType()
Creates an
AnyType element if the System property "com.sun.xml.wss.saml.binding.jaxb"
is set. |
Assertion |
createAssertion(Element element)
Creates and returns an
Assertion object from the given SAML org.w3c.dom.Element. |
Assertion |
createAssertion(String ID,
NameID issuer,
GregorianCalendar issueInstant,
Conditions conditions,
Advice advice,
Subject subject,
List statements)
Creates and return an Assertion from the data members: the
ID, the issuer, time when assertion issued,
the conditions when creating a new assertion , Advice
applicable to this Assertion, Subjectand a set of
Statement(s) in the assertion. |
Assertion |
createAssertion(String ID,
NameID issuer,
GregorianCalendar issueInstant,
Conditions conditions,
Advice advice,
Subject subject,
List statements,
JAXBContext jcc)
Creates and return an Assertion from the data members: the
ID, the issuer, time when assertion issued,
the conditions when creating a new assertion , Advice
applicable to this Assertion, Subject, a set of
Statement(s) ,and a jaxbcontext for the assertion. |
Assertion |
createAssertion(String assertionID,
String issuer,
GregorianCalendar issueInstant,
Conditions conditions,
Advice advice,
List statements)
Creates and return an Assertion from the data members: the
assertionID, the issuer, time when assertion issued,
the conditions when creating a new assertion , Advice
applicable to this Assertion and a set of
Statement(s) in the assertion. |
Assertion |
createAssertion(String assertionID,
String issuer,
GregorianCalendar issueInstant,
Conditions conditions,
Advice advice,
List statements,
JAXBContext jcc) |
Assertion |
createAssertion(XMLStreamReader reader)
Creates and returns an
Assertion object from the given SAML XMLStreamReader. |
AssertionIDRef |
createAssertionIDRef()
Creates and returns an
AssertionIDRef object. |
AssertionIDRef |
createAssertionIDRef(String id)
Creates and returns an
AssertionIDRef object. |
AssertionIDReference |
createAssertionIDReference()
Creates and returns an
AssertionIDReference object. |
AssertionIDReference |
createAssertionIDReference(String id)
Creates and returns an
AssertionIDReference object. |
Attribute |
createAttribute(String name,
List values)
Constructs an instance of
Attribute. |
Attribute |
createAttribute(String name,
String nameSpace,
List values)
Constructs an instance of
Attribute. |
AttributeDesignator |
createAttributeDesignator(String name,
String nameSpace)
Constructs an instance of
AttributeDesignator. |
AttributeStatement |
createAttributeStatement(List attr)
Constructs an instance of
AttributeStatement. |
AttributeStatement |
createAttributeStatement(Subject subj,
List attr)
Constructs an instance of
AttributeStatement. |
AudienceRestriction |
createAudienceRestriction(List audience)
Constructs an instance of
AudienceRestriction. |
AudienceRestrictionCondition |
createAudienceRestrictionCondition(List audience)
Constructs an instance of
AudienceRestrictionCondition. |
AuthenticationStatement |
createAuthenticationStatement(String authMethod,
GregorianCalendar authInstant,
Subject subject,
SubjectLocality subjectLocality,
List authorityBinding)
Constructs an instance of
AuthenticationStatement. |
AuthnContext |
createAuthnContext() |
AuthnContext |
createAuthnContext(String authContextClassref,
String authenticatingAuthority) |
AuthnDecisionStatement |
createAuthnDecisionStatement(String resource,
String decision,
List action,
Evidence evidence)
Constructs an instance of
AuthnDecisionStatement. |
AuthnStatement |
createAuthnStatement(GregorianCalendar authInstant,
SubjectLocality subjectLocality,
AuthnContext authnContext,
String sessionIndex,
GregorianCalendar sessionNotOnOrAfter)
Constructs an instance of
AuthenticationStatement. |
AuthorityBinding |
createAuthorityBinding(QName authKind,
String location,
String binding)
Constructs an instance of
AuthorityBinding. |
AuthorizationDecisionStatement |
createAuthorizationDecisionStatement(Subject subject,
String resource,
String decision,
List action,
Evidence evidence)
Constructs an instance of
AuthorizationDecisionStatement. |
Conditions |
createConditions()
Constructs an instance of default
Conditions object. |
Conditions |
createConditions(GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
List condition,
List arc,
List doNotCacheCnd)
Constructs an instance of
Conditions. |
Conditions |
createConditions(GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
List condition,
List ar,
List oneTimeUse,
List proxyRestriction)
Constructs an instance of
Conditions. |
DoNotCacheCondition |
createDoNotCacheCondition()
Constructs an instance of
DoNotCacheCondition |
Evidence |
createEvidence(List assertionIDRef,
List assertion)
Constructs an Evidence from a List of
Assertion and
AssertionIDReference objects. |
KeyInfoConfirmationData |
createKeyInfoConfirmationData(Element keyInfo) |
NameID |
createNameID(String name,
String nameQualifier,
String format)
Constructs a
NameID instance. |
NameIdentifier |
createNameIdentifier(String name,
String nameQualifier,
String format)
Constructs a
NameQualifier instance. |
OneTimeUse |
createOneTimeUse() |
Subject |
createSubject(NameIdentifier nameIdentifier,
SubjectConfirmation subjectConfirmation)
Constructs a Subject object from a
NameIdentifier
object and a SubjectConfirmation object. |
Subject |
createSubject(NameID nameID,
SubjectConfirmation subjectConfirmation)
Constructs a Subject object from a
NameID
object and a SubjectConfirmation object. |
SubjectConfirmation |
createSubjectConfirmation(List confirmationMethods,
Element subjectConfirmationData,
Element keyInfo)
Constructs a
SubjectConfirmation instance. |
SubjectConfirmation |
createSubjectConfirmation(List confirmationMethods,
SubjectConfirmationData scd,
KeyInfo keyInfo) |
SubjectConfirmation |
createSubjectConfirmation(NameID nameID,
KeyInfoConfirmationData keyInfoConfirmationData,
String confirmationMethod)
Constructs a
SubjectConfirmation instance. |
SubjectConfirmation |
createSubjectConfirmation(NameID nameID,
String method)
Creates and returns a
SubjectConfirmation object. |
SubjectConfirmation |
createSubjectConfirmation(NameID nameID,
SubjectConfirmationData subjectConfirmationData,
String confirmationMethod)
Constructs a
SubjectConfirmation instance. |
SubjectConfirmation |
createSubjectConfirmation(String confirmationMethod)
Creates and returns a
SubjectConfirmation object. |
SubjectConfirmationData |
createSubjectConfirmationData(String address,
String inResponseTo,
GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
String recipient,
Element keyInfo) |
SubjectConfirmationData |
createSubjectConfirmationData(String address,
String inResponseTo,
GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
String recipient,
KeyInfo keyInfo) |
SubjectLocality |
createSubjectLocality()
Constructs a
SubjectLocality instance. |
SubjectLocality |
createSubjectLocality(String ipAddress,
String dnsAddress)
Constructs an instance of
SubjectLocality. |
newInstancepublic SAMLAssertion2_2FactoryImpl()
public Action createAction(String action, String namespace)
SAMLAssertionFactoryAction element.createAction in class SAMLAssertionFactoryaction - A String representing an actionnamespace - The attribute "namespace" of
Action elementpublic Advice createAdvice(List assertionidreference, List assertion, List otherelement)
SAMLAssertionFactoryAdvice element.createAdvice in class SAMLAssertionFactoryassertionidreference - A List of AssertionIDReference.assertion - A List of Assertionotherelement - A List of any element defined aspublic AnyType createAnyType()
SAMLAssertionFactoryAnyType element if the System property "com.sun.xml.wss.saml.binding.jaxb"
is set. Otherwise returns null.createAnyType in class SAMLAssertionFactorypublic Assertion createAssertion(Element element) throws SAMLException
SAMLAssertionFactoryAssertion object from the given SAML org.w3c.dom.Element.createAssertion in class SAMLAssertionFactoryelement - A org.w3c.dom.Element representing
DOM tree for Assertion objectSAMLException - if it could not process the Element properly,
implying that there is an error in the sender or in the
element definition.public Assertion createAssertion(String assertionID, String issuer, GregorianCalendar issueInstant, Conditions conditions, Advice advice, List statements) throws SAMLException
SAMLAssertionFactoryassertionID, the issuer, time when assertion issued,
the conditions when creating a new assertion , Advice
applicable to this Assertion and a set of
Statement(s) in the assertion.createAssertion in class SAMLAssertionFactoryassertionID - AssertionID object contained within this
Assertion if null its generated internally.issuer - The issuer of this assertion.issueInstant - Time instant of the issue. It has type
dateTime which is built in to the W3C XML Schema
Types specification. if null, current time is used.conditions - Conditions under which the this
Assertion is valid.advice - Advice applicable for this
Assertion.statements - List of Statement objects within this
Assertion. It could be of type
AuthenticationStatement,
AuthorizationDecisionStatement and
AttributeStatement. Each Assertion can have
multiple type of statements in it.SAMLException - if there is an error in processing input.public Assertion createAssertion(String assertionID, String issuer, GregorianCalendar issueInstant, Conditions conditions, Advice advice, List statements, JAXBContext jcc) throws SAMLException
createAssertion in class SAMLAssertionFactorySAMLExceptionpublic Assertion createAssertion(String ID, NameID issuer, GregorianCalendar issueInstant, Conditions conditions, Advice advice, Subject subject, List statements) throws SAMLException
SAMLAssertionFactoryID, the issuer, time when assertion issued,
the conditions when creating a new assertion , Advice
applicable to this Assertion, Subjectand a set of
Statement(s) in the assertion.createAssertion in class SAMLAssertionFactoryID - ID object contained within this
Assertion if null its generated internally.issuer - The issuer of this assertion.issueInstant - Time instant of the issue. It has type
dateTime which is built in to the W3C XML Schema
Types specification. if null, current time is used.conditions - Conditions under which the this
Assertion is valid.advice - Advice applicable for this
Assertion.subject - Subject applicable for this Assertionstatements - List of Statement objects within this
Assertion. It could be of type
AuthnStatement,
AuthzDecisionStatement and
AttributeStatement. Each Assertion can have
multiple type of statements in it.SAMLException - if there is an error in processing input.public Assertion createAssertion(String ID, NameID issuer, GregorianCalendar issueInstant, Conditions conditions, Advice advice, Subject subject, List statements, JAXBContext jcc) throws SAMLException
SAMLAssertionFactoryID, the issuer, time when assertion issued,
the conditions when creating a new assertion , Advice
applicable to this Assertion, Subject, a set of
Statement(s) ,and a jaxbcontext for the assertion.createAssertion in class SAMLAssertionFactoryID - ID object contained within this
Assertion if null its generated internally.issuer - The issuer of this assertion.issueInstant - Time instant of the issue. It has type
dateTime which is built in to the W3C XML Schema
Types specification. if null, current time is used.conditions - Conditions under which the this
Assertion is valid.advice - Advice applicable for this
Assertion.subject - Subject applicable for this Assertionstatements - List of Statement objects within this
Assertion. It could be of type
AuthnStatement,
AuthzDecisionStatement and
AttributeStatement. Each Assertion can have
multiple type of statements in it.jcc - JAXBContext to be used for marshaling and unmarshalling the assertions.SAMLException - if there is an error in processing input.public AssertionIDReference createAssertionIDReference() throws SAMLException
SAMLAssertionFactoryAssertionIDReference object. AssertionID
will be generated automatically.createAssertionIDReference in class SAMLAssertionFactorySAMLExceptionpublic AssertionIDRef createAssertionIDRef() throws SAMLException
SAMLAssertionFactoryAssertionIDRef object. AssertionID
will be generated automatically.createAssertionIDRef in class SAMLAssertionFactorySAMLExceptionpublic AssertionIDReference createAssertionIDReference(String id) throws SAMLException
SAMLAssertionFactoryAssertionIDReference object.createAssertionIDReference in class SAMLAssertionFactoryid - String of an AssertionIDSAMLExceptionpublic AssertionIDRef createAssertionIDRef(String id) throws SAMLException
SAMLAssertionFactoryAssertionIDRef object.createAssertionIDRef in class SAMLAssertionFactoryid - String of an AssertionIDSAMLExceptionpublic Attribute createAttribute(String name, String nameSpace, List values) throws SAMLException
SAMLAssertionFactoryAttribute.createAttribute in class SAMLAssertionFactoryname - A String representing AttributeName (the name
of the attribute).nameSpace - A String representing the namespace in which
AttributeName elements are interpreted.values - A List representing the AttributeValue object.SAMLExceptionpublic Attribute createAttribute(String name, List values) throws SAMLException
SAMLAssertionFactoryAttribute.createAttribute in class SAMLAssertionFactoryname - A String representing AttributeName (the name
of the attribute).values - A List representing the AttributeValue object.SAMLExceptionpublic AttributeDesignator createAttributeDesignator(String name, String nameSpace) throws SAMLException
SAMLAssertionFactoryAttributeDesignator.createAttributeDesignator in class SAMLAssertionFactoryname - the name of the attribute.nameSpace - the namespace in which AttributeName
elements are interpreted.SAMLExceptionpublic AttributeStatement createAttributeStatement(Subject subj, List attr) throws SAMLException
SAMLAssertionFactoryAttributeStatement.createAttributeStatement in class SAMLAssertionFactorysubj - SAML Subjectattr - List of attributesSAMLExceptionpublic AttributeStatement createAttributeStatement(List attr) throws SAMLException
SAMLAssertionFactoryAttributeStatement.createAttributeStatement in class SAMLAssertionFactoryattr - List of attributesSAMLExceptionpublic AudienceRestrictionCondition createAudienceRestrictionCondition(List audience) throws SAMLException
SAMLAssertionFactoryAudienceRestrictionCondition.
It takes in a List of audience for this
condition, each of them being a String.createAudienceRestrictionCondition in class SAMLAssertionFactoryaudience - A List of audience to be included within this conditionSAMLExceptionpublic AudienceRestriction createAudienceRestriction(List audience) throws SAMLException
SAMLAssertionFactoryAudienceRestriction.
It takes in a List of audience for this
condition, each of them being a String.createAudienceRestriction in class SAMLAssertionFactoryaudience - A List of audience to be included within this conditionSAMLExceptionpublic AuthenticationStatement createAuthenticationStatement(String authMethod, GregorianCalendar authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding) throws SAMLException
SAMLAssertionFactoryAuthenticationStatement.createAuthenticationStatement in class SAMLAssertionFactoryauthMethod - (optional) A String specifies the type of authentication
that took place. Pass null if not required.authInstant - (optional) A GregorianCalendar object specifing the time at which the
authentication that took place. Pass null if not required.subject - (required) A Subject objectsubjectLocality - (optional) A SubjectLocality object. Pass null if not required.authorityBinding - (optional) A List of AuthorityBinding. Pass null if not required.
objects.SAMLExceptionpublic AuthnStatement createAuthnStatement(GregorianCalendar authInstant, SubjectLocality subjectLocality, AuthnContext authnContext, String sessionIndex, GregorianCalendar sessionNotOnOrAfter) throws SAMLException
SAMLAssertionFactoryAuthenticationStatement.createAuthnStatement in class SAMLAssertionFactoryauthInstant - (optional) A GregorianCalendar object specifing the time at which the
authentication that took place. Pass null if not required.subjectLocality - (optional) A SubjectLocality object. Pass null if not required.authnContext - (optional) A AuthnContext object. Pass null if not required.
objects.SAMLExceptionpublic AuthorityBinding createAuthorityBinding(QName authKind, String location, String binding) throws SAMLException
SAMLAssertionFactoryAuthorityBinding.createAuthorityBinding in class SAMLAssertionFactoryauthKind - A QName representing the type of SAML protocol queries
to which the authority described by this element will
respond.location - A String representing a URI reference describing how to locate and communicate with the
authority.binding - A String representing a URI reference identifying the SAML
protocol binding to use in communicating with the authority.SAMLExceptionpublic AuthnContext createAuthnContext() throws SAMLException
createAuthnContext in class SAMLAssertionFactorySAMLExceptionpublic AuthnContext createAuthnContext(String authContextClassref, String authenticatingAuthority) throws SAMLException
createAuthnContext in class SAMLAssertionFactorySAMLExceptionpublic AuthorizationDecisionStatement createAuthorizationDecisionStatement(Subject subject, String resource, String decision, List action, Evidence evidence) throws SAMLException
SAMLAssertionFactoryAuthorizationDecisionStatement.createAuthorizationDecisionStatement in class SAMLAssertionFactorysubject - (required) A Subject objectresource - (required) A String identifying the resource to which
access authorization is sought.decision - (required) The decision rendered by the issuer with
respect to the specified resource.action - (required) A List of Action objects specifying the set of
actions authorized to be performed on the specified resource.evidence - (optional) An Evidence object representing a set of
assertions that the issuer replied on in making decisions.SAMLExceptionpublic AuthnDecisionStatement createAuthnDecisionStatement(String resource, String decision, List action, Evidence evidence) throws SAMLException
SAMLAssertionFactoryAuthnDecisionStatement.createAuthnDecisionStatement in class SAMLAssertionFactoryresource - (required) A String identifying the resource to which
access authorization is sought.decision - (required) The decision rendered by the issuer with
respect to the specified resource.action - (required) A List of Action objects specifying the set of
actions authorized to be performed on the specified resource.evidence - (optional) An Evidence object representing a set of
assertions that the issuer replied on in making decisions.SAMLExceptionpublic Conditions createConditions() throws SAMLException
SAMLAssertionFactoryConditions object.createConditions in class SAMLAssertionFactorySAMLExceptionpublic Conditions createConditions(GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, List condition, List arc, List doNotCacheCnd) throws SAMLException
SAMLAssertionFactoryConditions.createConditions in class SAMLAssertionFactorynotBefore - specifies the earliest time instant at which the
assertion is valid.notOnOrAfter - specifies the time instant at which the assertion
has expired.arc - the AudienceRestrictionCondition to be
added. Can be null, if no audience restriction.SAMLExceptionpublic Conditions createConditions(GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, List condition, List ar, List oneTimeUse, List proxyRestriction) throws SAMLException
SAMLAssertionFactoryConditions.createConditions in class SAMLAssertionFactorynotBefore - specifies the earliest time instant at which the
assertion is valid.notOnOrAfter - specifies the time instant at which the assertion
has expired.ar - the AudienceRestriction to be
added. Can be null, if no audience restriction.SAMLExceptionpublic DoNotCacheCondition createDoNotCacheCondition() throws SAMLException
SAMLAssertionFactoryDoNotCacheConditioncreateDoNotCacheCondition in class SAMLAssertionFactorySAMLExceptionpublic OneTimeUse createOneTimeUse() throws SAMLException
createOneTimeUse in class SAMLAssertionFactorySAMLExceptionpublic Evidence createEvidence(List assertionIDRef, List assertion) throws SAMLException
SAMLAssertionFactoryAssertion and
AssertionIDReference objects.createEvidence in class SAMLAssertionFactoryassertionIDRef - List of AssertionIDReference objects.assertion - List of Assertion objects.SAMLExceptionpublic NameIdentifier createNameIdentifier(String name, String nameQualifier, String format) throws SAMLException
SAMLAssertionFactoryNameQualifier instance.createNameIdentifier in class SAMLAssertionFactoryname - The string representing the name of the SubjectnameQualifier - The security or administrative domain that qualifies
the name of the Subject. This is optional could be
null.format - The syntax used to describe the name of the
Subject. This optional, could be null.SAMLExceptionpublic NameID createNameID(String name, String nameQualifier, String format) throws SAMLException
SAMLAssertionFactoryNameID instance.createNameID in class SAMLAssertionFactoryname - The string representing the name of the SubjectnameQualifier - The security or administrative domain that qualifies
the name of the Subject. This is optional could be
null.format - The syntax used to describe the name of the
Subject. This optional, could be null.SAMLExceptionpublic Subject createSubject(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation) throws SAMLException
SAMLAssertionFactoryNameIdentifier
object and a SubjectConfirmation object.createSubject in class SAMLAssertionFactorynameIdentifier - NameIdentifier object.subjectConfirmation - SubjectConfirmation object.SAMLExceptionpublic Subject createSubject(NameID nameID, SubjectConfirmation subjectConfirmation) throws SAMLException
SAMLAssertionFactoryNameID
object and a SubjectConfirmation object.createSubject in class SAMLAssertionFactorynameID - NameID object.subjectConfirmation - SubjectConfirmation object.SAMLExceptionpublic SubjectConfirmation createSubjectConfirmation(String confirmationMethod) throws SAMLException
SAMLAssertionFactorySubjectConfirmation object.createSubjectConfirmation in class SAMLAssertionFactoryconfirmationMethod - A URI (String) that identifies a protocol used
to authenticate a Subject. Please refer to
draft-sstc-core-25 Section 7 for a list of URIs
identifying common authentication protocols.SAMLExceptionpublic SubjectConfirmation createSubjectConfirmation(NameID nameID, String method) throws SAMLException
SAMLAssertionFactorySubjectConfirmation object.createSubjectConfirmation in class SAMLAssertionFactorynameID - NameID object.method - A URI (String) that identifies a protocol used
to authenticate a Subject. Please refer to
draft-sstc-core-25 Section 7 for a list of URIs
identifying common authentication protocols.SAMLExceptionpublic SubjectConfirmation createSubjectConfirmation(List confirmationMethods, SubjectConfirmationData scd, KeyInfo keyInfo) throws SAMLException
createSubjectConfirmation in class SAMLAssertionFactorySAMLExceptionpublic SubjectConfirmation createSubjectConfirmation(List confirmationMethods, Element subjectConfirmationData, Element keyInfo) throws SAMLException
SAMLAssertionFactorySubjectConfirmation instance.createSubjectConfirmation in class SAMLAssertionFactoryconfirmationMethods - A list of confirmationMethods
each of which is a URI (String) that identifies a protocol
used to authenticate a Subject. Please refer to
draft-sstc-core-25 Section 7 for
a list of URIs identifying common authentication protocols.subjectConfirmationData - Additional authentication information to
be used by a specific authentication protocol. Can be passed as
null if there is no subjectConfirmationData for the
SubjectConfirmation object.keyInfo - An XML signature element that specifies a cryptographic
key held by the Subject.SAMLExceptionpublic SubjectConfirmation createSubjectConfirmation(NameID nameID, SubjectConfirmationData subjectConfirmationData, String confirmationMethod) throws SAMLException
SAMLAssertionFactorySubjectConfirmation instance.createSubjectConfirmation in class SAMLAssertionFactorynameID - NameID object.subjectConfirmationData - Additional authentication information to
be used by a specific authentication protocol. Can be passed as
null if there is no subjectConfirmationData for the
SubjectConfirmation object.confirmationMethod - A list of confirmationMethods
each of which is a URI (String) that identifies a protocol
used to authenticate a Subject. Please refer to
draft-sstc-core-25 Section 7 for
a list of URIs identifying common authentication protocols.SAMLExceptionpublic SubjectConfirmation createSubjectConfirmation(NameID nameID, KeyInfoConfirmationData keyInfoConfirmationData, String confirmationMethod) throws SAMLException
SAMLAssertionFactorySubjectConfirmation instance.createSubjectConfirmation in class SAMLAssertionFactorynameID - NameID object.keyInfoConfirmationData - Additional authentication information to
be used by a specific authentication protocol. Can be passed as
null if there is no KeyInfoConfirmationData for the
SubjectConfirmation object.confirmationMethod - A list of confirmationMethods
each of which is a URI (String) that identifies a protocol
used to authenticate a Subject. Please refer to
draft-sstc-core-25 Section 7 for
a list of URIs identifying common authentication protocols.SAMLExceptionpublic SubjectConfirmationData createSubjectConfirmationData(String address, String inResponseTo, GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, String recipient, Element keyInfo) throws SAMLException
createSubjectConfirmationData in class SAMLAssertionFactorySAMLExceptionpublic SubjectConfirmationData createSubjectConfirmationData(String address, String inResponseTo, GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, String recipient, KeyInfo keyInfo) throws SAMLException
createSubjectConfirmationData in class SAMLAssertionFactorySAMLExceptionpublic KeyInfoConfirmationData createKeyInfoConfirmationData(Element keyInfo) throws SAMLException
createKeyInfoConfirmationData in class SAMLAssertionFactorySAMLExceptionpublic SubjectLocality createSubjectLocality() throws SAMLException
SAMLAssertionFactorySubjectLocality instance.createSubjectLocality in class SAMLAssertionFactorySAMLExceptionpublic SubjectLocality createSubjectLocality(String ipAddress, String dnsAddress) throws SAMLException
SAMLAssertionFactorySubjectLocality.createSubjectLocality in class SAMLAssertionFactoryipAddress - String representing the IP Address of the entity
that was authenticated.dnsAddress - String representing the DNS Address of the entity that
was authenticated. As per SAML specification they are both
optional, so values can be null.SAMLExceptionpublic Assertion createAssertion(XMLStreamReader reader) throws SAMLException
SAMLAssertionFactoryAssertion object from the given SAML XMLStreamReader.createAssertion in class SAMLAssertionFactoryreader - An XMLStreamReader representing
the tree for an Assertion objectSAMLException - if it could not process the Element properly,
implying that there is an error in the sender or in the
element definition.Copyright © 2005–2018 Oracle Corporation. All rights reserved.