Uses of Class
com.sun.identity.saml.common.SAMLException
Package
Description
Provides interface to manage liberty security
Defines SAML assertion.
Defines common SAML 1.x utilities and constants.
-
Uses of SAMLException in com.sun.identity.liberty.ws.security
Modifier and TypeMethodDescriptionprotected boolean
SecurityAssertion.processUnknownElement
(Element element) ModifierConstructorDescriptionSecurityAssertion
(String assertionID, String issuer, Date issueInstant, Conditions conditions, Advice advice, Set statements) ConstructsSecurityAssertion
object with theassertionID
, the issuer, time when assertion issued, the conditions when creating a new assertion,Advice
applicable to thisAssertion
and aSet
ofStatement
(s) in the assertion.SecurityAssertion
(String assertionID, String issuer, Date issueInstant, Conditions conditions, Set statements) ConstructsSecurityAssertion
object with theassertionID
, the issuer, time when assertion issued, the conditions when creating a new assertion and aSet
ofStatement
(s) in the assertion.SecurityAssertion
(String assertionID, String issuer, Date issueInstant, Set statements) ConstructsSecurityAssertion
object with theassertionID
, the issuer, time when assertion issued and aSet
ofStatement
(s) in the assertion.SecurityAssertion
(Element assertionElement) This constructor creates aSecurityAssertion
object from a DOM Element. -
Uses of SAMLException in com.sun.identity.saml.assertion
Modifier and TypeMethodDescriptionvoid
Attribute.addAttributeValue
(String value) AddsAttributeValue
to the Attribute.void
Attribute.addAttributeValue
(Element element) AddsAttributeValue
to the Attribute.protected Action
AuthorizationDecisionStatement.createAction
(Element actionElement) protected abstract Action
AuthorizationDecisionStatementBase.createAction
(Element actionElement) Creates appropriate Action Instanceprotected AdviceBase
Assertion.createAdvice
(Element adviceElement) protected abstract AdviceBase
AssertionBase.createAdvice
(Element adviceElement) Creates appropriate Advice instanceprotected AssertionBase
Advice.createAssertion
(Element assertionElement) protected abstract AssertionBase
AdviceBase.createAssertion
(Element assertionElement) Creates appropriate Assertion Instanceprotected AssertionBase
Evidence.createAssertion
(Element assertionElement) protected abstract AssertionBase
EvidenceBase.createAssertion
(Element assertionElement) Creates appropriate Assertion Instanceprotected AssertionIDReference
Advice.createAssertionIDReference
(Element assertionIDRefElement) protected abstract AssertionIDReference
AdviceBase.createAssertionIDReference
(Element assertionIDRefElement) Creates appropriate AssertionIDReference Instanceprotected AssertionIDReference
Assertion.createAssertionIDReference
(Element assertionIDRefElement) protected abstract AssertionIDReference
AssertionBase.createAssertionIDReference
(String assertionID) Creates appropriate AssertionIDReference instanceprotected abstract AssertionIDReference
AssertionBase.createAssertionIDReference
(Element assertionIDRefElement) Creates appropriate AssertionIDReference instanceprotected AssertionIDReference
Evidence.createAssertionIDReference
(String assertionID) protected abstract AssertionIDReference
EvidenceBase.createAssertionIDReference
(String assertionID) Creates appropriate AssertionIDReference Instanceprotected Attribute
AttributeStatement.createAttribute
(Element attributeElement) protected AttributeStatement
Assertion.createAttributeStatement
(Element attributeElement) protected abstract AttributeStatement
AssertionBase.createAttributeStatement
(Element attributeElement) Creates appropriate AttributeStatement instanceprotected AudienceRestrictionCondition
Conditions.createAudienceRestrictionCondition
(Element audienceRestrictionElement) protected AuthenticationStatement
Assertion.createAuthenticationStatement
(Element authenticationElement) protected abstract AuthenticationStatement
AssertionBase.createAuthenticationStatement
(Element authenticationElement) Creates appropriate AuthenticationStatement instanceprotected AuthorityBinding
AuthenticationStatement.createAuthorityBinding
(Element authorityBindingElement) protected AuthorizationDecisionStatementBase
Assertion.createAuthorizationDecisionStatement
(Element authDecisionElement) protected abstract AuthorizationDecisionStatementBase
AssertionBase.createAuthorizationDecisionStatement
(Element authDecisionElement) Create appropriate AuthorizationDecisionStatement instanceprotected Conditions
Assertion.createConditions
(Element conditionsElement) protected abstract Conditions
AssertionBase.createConditions
(Element conditionsElement) Creates appropriate Conditions instanceprotected DoNotCacheCondition
Conditions.createDoNotCacheCondition
(Element doNotCacheConditionElement) protected EvidenceBase
AuthorizationDecisionStatement.createEvidence
(Element evidenceElement) protected abstract EvidenceBase
AuthorizationDecisionStatementBase.createEvidence
(Element evidenceElement) Creates appropriate Evidence Instanceprotected NameIdentifier
Subject.createNameIdentifier
(Element nameIdentifierElement) protected Subject
AttributeStatement.createSubject
(Element subjectElement) protected Subject
AuthenticationStatement.createSubject
(Element subjectElement) protected Subject
AuthorizationDecisionStatement.createSubject
(Element subjectElement) protected abstract Subject
AuthorizationDecisionStatementBase.createSubject
(Element subjectElement) Creates appropriate Subject Instanceprotected SubjectConfirmation
Subject.createSubjectConfirmation
(Element subjectConfirmationElement) protected SubjectLocality
AuthenticationStatement.createSubjectLocality
(Element subjectLocalityElement) Attribute.getAttributeValue()
ReturnsAttributeValue
from the Attribute.protected void
Assertion.parseAssertionElement
(Element assertionElement) protected boolean
Assertion.processUnknownElement
(Element element) void
Signs the Assertion.void
Signs the Assertion.ModifierConstructorDescriptionConvenience constructor of <Action>Constructs an action element from an existing XML block.Constructs an Advice element from an existing XML block.AdviceBase
(Element element) Constructs an Advice element from an existing XML block.Assertion
(String assertionID, String issuer, Date issueInstant, Conditions conditions, Advice advice, Set<Statement> statements) ConstructsAssertion
object and populate the data members: theAssertionID
, the issuer, time when assertion issued, the conditions when creating a new assertion ,Advice
applicable to thisAssertion
and a set ofStatement
(s) in the assertion.Assertion
(String assertionID, String issuer, Date issueInstant, Conditions conditions, Set<Statement> statements) ConstructsAssertion
object and populate the data members: theassertionID
, the issuer, time when assertion issued, the conditions when creating a new assertion and a set ofStatement
(s) in the assertion.ConstructsAssertion
object and populate the data members:assertionID
, the issuer, time when assertion issued and a set ofStatement
(s) in the assertion.ConstructsAssertion
object from a block of existing XML that has already been built into a DOM.AssertionBase
(String assertionID, String issuer, Date issueInstant, Conditions conditions, AdviceBase advice, Set<Statement> statements) This constructor is used to populate the data members: thessertionID
, the issuer, time when assertion issued, the conditions when creating a new assertion ,Advice
applicable to thisAssertion
and a set ofStatement
(s) in the assertion.AssertionBase
(String assertionID, String issuer, Date issueInstant, Conditions conditions, Set<Statement> statements) This constructor is used to populate the data members: theassertionID
, the issuer, time when assertion issued, the conditions when creating a new assertion and a set ofStatement
(s) in the assertion.Contructor This constructor is used to populate the data members:assertionID
, the issuer, time when assertion issued and a set ofStatement
(s) in the assertion.AssertionBase
(Element assertionElement) Contructor This constructor is used to buildAssertion
object from a block of existing XML that has already been built into a DOM.AssertionIDReference
(Element element) Constructs anAssertionIDReference
element from an existing XML block.Constructs an instance ofAttribute
.Constructs an instance ofAttribute
.Constructs an attribute element from an existing XML block.AttributeDesignator
(String name, String nameSpace) Constructs an instance ofAttributeDesignator
.AttributeDesignator
(Element element) Constructs an attribute designator element from an existing XML block.AttributeStatement
(Subject subject, List attribute) Constructs an instance ofAttributeStatement
.AttributeStatement
(Element element) Constructs anAttributStatement
element from an existing XML blockAudienceRestrictionCondition
(List audience) ConstructsAudienceRestrictionCondition
with aList
of audience for this condition, each of them being a String.AudienceRestrictionCondition
(Element audienceRestrictionConditionElement) Constructs anAudienceRestrictionCondition
element from an existing XML block.AuthenticationStatement
(String authMethod, Date authInstant, Subject subject) ConstructsAuthentication statement
AuthenticationStatement
(String authMethod, Date authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding) ConstructsAuthenticationStatement
AuthenticationStatement
(Element element) Constructs an authentication statement element from an existing XML block.AuthorityBinding
(int authKind, String location, String binding) ConstructsAuthorityBinding
AuthorityBinding
(Element element) Constructs anAuthorityBinding
element from an existing XML block.AuthorizationDecisionStatement
(Subject subject, String resource, int decision, List action) Constructs aAuthorizationDecisionStatement
instance.AuthorizationDecisionStatement
(Subject subject, String resource, int decision, List action, EvidenceBase evidence) Constructs an instance ofAuthorizationDecisionStatement
.AuthorizationDecisionStatement
(Element element) Constructs anAuthorizationStatement
element from an existing XML block.AuthorizationDecisionStatementBase
(Subject subject, String resource, int decision, List action) Constructs aAuthorizationDecisionStatement
instance.AuthorizationDecisionStatementBase
(Subject subject, String resource, int decision, List action, EvidenceBase evidence) Constructs an instance ofAuthorizationDecisionStatement
.Constructs anAuthorizationStatement
element from an existing XML block.Conditions
(Date notBefore, Date notOnOrAfter) Constructs an instance ofConditions
.Conditions
(Date notBefore, Date notOnOrAfter, Condition condition, AudienceRestrictionCondition arc) Constructs an instance ofConditions
.Conditions
(Date notBefore, Date notOnOrAfter, Condition condition, AudienceRestrictionCondition arc, DoNotCacheCondition doNotCacheCnd) Constructs an instance ofConditions
.Conditions
(Element conditionsElement) Constructs aConditions
element from an existing XML block.DoNotCacheCondition
(Element doNotCacheConditionElement) Constructs aDoNotCacheCondition
element from an existing XML block.Constructs a newEvidence
element containing a set ofAssertion
objects.Constructs an Evidence from a Set ofAssertion
andAssertionIDReference
objects.Constructs anEvidence
object from a block of existing XML that has already been built into a DOM.EvidenceBase
(Set evidenceContent) Constructs a newEvidence
element containing a set ofAssertion
objects.EvidenceBase
(Set assertionIDRef, Set assertion) Constructs an Evidence from a Set ofAssertion
andAssertionIDReference
objects.EvidenceBase
(Element assertionSpecifierElement) Constructs anEvidence
object from a block of existing XML that has already been built into a DOM.NameIdentifier
(String name) ConstructorNameIdentifier
(String name, String nameQualifier) Constructs aNameQualifier
instance.NameIdentifier
(String name, String nameQualifier, String format) Constructs aNameQualifier
instance.NameIdentifier
(Element nameIdentifierElement) Constructs aNameIdentifer
element from an existing XML block.Subject
(NameIdentifier nameIdentifier) Constructs a Subject object from aNameIdentifier
object.Subject
(NameIdentifier nameIdentifier, SubjectConfirmation subjectConfirmation) Constructs a Subject object from aNameIdentifier
object and aSubjectConfirmation
object.Subject
(SubjectConfirmation subjectConfirmation) Constructs a Subject object from aSubjectConfirmation
object.Constructs a subject element from an existing XML block which has already been built into a DOM.SubjectConfirmation
(String confirmationMethod) Constructor with a single confirmation method.SubjectConfirmation
(Set confirmationMethods) Constructor for multiple confirmation methodsSubjectConfirmation
(Set confirmationMethods, Element subjectConfirmationData, Element keyInfo) Constructs anSubjectConfirmation
instance.SubjectConfirmation
(Element subjectConfirmationElement) Constructs a subject confirmation element from an existing XML block.SubjectLocality
(Element localityElement) Constructs an instance ofSubjectLocality
from an existing XML block. -
Uses of SAMLException in com.sun.identity.saml.common
Modifier and TypeClassDescriptionclass
This exception is thrown when the request could not be performed due to an error in the sender or in the request.class
This exception is thrown when the request could not be performed due to an error at the receiving end.class
This exception is thrown when the receiver could not process the request because the version was incorrect.