Uses of Class
com.sun.identity.saml2.common.SAML2Exception
-
Packages that use SAML2Exception Package Description com.sun.identity.saml2.assertion Defines SAMLv2 assertion.com.sun.identity.saml2.common Defines common SAMLv2 utilities and constants.com.sun.identity.saml2.ecp Defines classes for SAMLv2 ECP profile.com.sun.identity.saml2.plugins Defines SAMLv2 Plugin SPIs.com.sun.identity.saml2.plugins.scripted Contains classes to be used by the SAML2 scripted plugins.com.sun.identity.saml2.profile Package that handles SAML v2 profiles.com.sun.identity.saml2.protocol SAMLv2 Protocol Classes.com.sun.identity.xacml.client Defines classes to handle XACML requests.com.sun.identity.xacml.common Defines common XACML Utilities and Constantscom.sun.identity.xacml.context Defines XACML2 context classescom.sun.identity.xacml.context.impl Defines XACML Context implementations.com.sun.identity.xacml.policy.impl Defines XACML Policy implementations.com.sun.identity.xacml.saml2.impl Defines XACML implementations for SAMLv2.org.forgerock.am.saml2.impl This package contains the implementation of the SAML2 client APIs.org.forgerock.openam.federation.plugin.rooturl Federation plugin root url classes. -
-
Uses of SAML2Exception in com.sun.identity.saml2.assertion
Methods in com.sun.identity.saml2.assertion that throw SAML2Exception Modifier and Type Method Description Action
AssertionFactory. createAction(String xml)
Returns a new instance ofAction
.Action
AssertionFactory. createAction(Element elem)
Returns a new instance ofAction
.Advice
AssertionFactory. createAdvice(String xml)
Returns a new instance ofAdvice
The return object is immutable.Advice
AssertionFactory. createAdvice(Element elem)
Returns a new instance ofAdvice
.Assertion
AssertionFactory. createAssertion(String xml)
Returns a new instance ofAssertion
.Assertion
AssertionFactory. createAssertion(Element elem)
Returns a new instance ofAssertion
.AssertionIDRef
AssertionFactory. createAssertionIDRef(String xml)
Returns a new instance ofAssertionIDRef
.AssertionIDRef
AssertionFactory. createAssertionIDRef(Element elem)
Returns a new instance ofAssertionIDRef
.Attribute
AssertionFactory. createAttribute(String xml)
Returns a new instance ofAttribute
.Attribute
AssertionFactory. createAttribute(Element elem)
Returns a new instance ofAttribute
.AttributeStatement
AssertionFactory. createAttributeStatement(String xml)
Returns a new instance ofAttributeStatement
.AttributeStatement
AssertionFactory. createAttributeStatement(Element elem)
Returns a new instance ofAttributeStatement
.AudienceRestriction
AssertionFactory. createAudienceRestriction(String xml)
Returns a new instance ofAudienceRestriction
.AudienceRestriction
AssertionFactory. createAudienceRestriction(Element elem)
Returns a new instance ofAudienceRestriction
.AuthnContext
AssertionFactory. createAuthnContext(String xml)
Returns a new instance ofAuthnContext
.AuthnContext
AssertionFactory. createAuthnContext(Element elem)
Returns a new instance ofAuthnContext
.AuthnStatement
AssertionFactory. createAuthnStatement(String xml)
Returns a new instance ofAuthnStatement
.AuthnStatement
AssertionFactory. createAuthnStatement(Element elem)
Returns a new instance ofAuthnStatement
.AuthzDecisionStatement
AssertionFactory. createAuthzDecisionStatement(String xml)
Returns a new instance ofAuthzDecisionStatement
.AuthzDecisionStatement
AssertionFactory. createAuthzDecisionStatement(Element elem)
Returns a new instance ofAuthzDecisionStatement
.BaseID
AssertionFactory. createBaseID(String xml)
Returns a new instance ofBaseID
.BaseID
AssertionFactory. createBaseID(Element elem)
Returns a new instance ofBaseID
.Condition
AssertionFactory. createCondition(String xml)
Returns a new instance ofCondition
.Condition
AssertionFactory. createCondition(Element elem)
Returns a new instance ofCondition
.Conditions
AssertionFactory. createConditions(String xml)
Returns a new instance ofConditions
.Conditions
AssertionFactory. createConditions(Element elem)
Returns a new instance ofConditions
.EncryptedAssertion
AssertionFactory. createEncryptedAssertion(String xml)
Returns a new instance ofEncryptedAssertion
.EncryptedAssertion
AssertionFactory. createEncryptedAssertion(Element elem)
Returns a new instance ofEncryptedAssertion
.EncryptedAttribute
AssertionFactory. createEncryptedAttribute(String xml)
Returns a new instance ofEncryptedAttribute
.EncryptedAttribute
AssertionFactory. createEncryptedAttribute(Element elem)
Returns a new instance ofEncryptedAttribute
.EncryptedID
AssertionFactory. createEncryptedID(String xml)
Returns a new instance ofEncryptedID
.EncryptedID
AssertionFactory. createEncryptedID(Element elem)
Returns a new instance ofEncryptedID
.Evidence
AssertionFactory. createEvidence(String xml)
Returns a new instance ofEvidence
.Evidence
AssertionFactory. createEvidence(Element elem)
Returns a new instance ofEvidence
.Issuer
AssertionFactory. createIssuer(String xml)
Returns a new instance ofIssuer
.Issuer
AssertionFactory. createIssuer(Element elem)
Returns a new instance ofIssuer
.KeyInfoConfirmationData
AssertionFactory. createKeyInfoConfirmationData(String xml)
Returns a new instance ofKeyInfoConfirmationData
.KeyInfoConfirmationData
AssertionFactory. createKeyInfoConfirmationData(Element elem)
Returns a new instance ofKeyInfoConfirmationData
.NameID
AssertionFactory. createNameID(String xml)
Returns a new instance ofNameID
.NameID
AssertionFactory. createNameID(Element elem)
Returns a new instance ofNameID
.OneTimeUse
AssertionFactory. createOneTimeUse(String xml)
Returns a new instance ofOneTimeUse
.OneTimeUse
AssertionFactory. createOneTimeUse(Element elem)
Returns a new instance ofOneTimeUse
.ProxyRestriction
AssertionFactory. createProxyRestriction(String xml)
Returns a new instance ofProxyRestriction
.ProxyRestriction
AssertionFactory. createProxyRestriction(Element elem)
Returns a new instance ofProxyRestriction
.Subject
AssertionFactory. createSubject(String xml)
Returns a new instance ofSubject
.Subject
AssertionFactory. createSubject(Element elem)
Returns a new instance ofSubject
.SubjectConfirmation
AssertionFactory. createSubjectConfirmation(String xml)
Returns a new instance ofSubjectConfirmation
.SubjectConfirmation
AssertionFactory. createSubjectConfirmation(Element elem)
Returns a new instance ofSubjectConfirmation
.SubjectConfirmationData
AssertionFactory. createSubjectConfirmationData(String xml)
Returns a new instance ofSubjectConfirmationData
.SubjectConfirmationData
AssertionFactory. createSubjectConfirmationData(Element elem)
Returns a new instance ofSubjectConfirmationData
.SubjectLocality
AssertionFactory. createSubjectLocality(String xml)
Returns a new instance ofSubjectLocality
.SubjectLocality
AssertionFactory. createSubjectLocality(Element elem)
Returns a new instance ofSubjectLocality
.Assertion
EncryptedAssertion. decrypt(Set<PrivateKey> privateKeys)
Decrypt the encrypted assertion.Attribute
EncryptedAttribute. decrypt(Set<PrivateKey> privateKeys)
Returns an instance ofAttribute
object.NameID
EncryptedID. decrypt(Set<PrivateKey> privateKeys)
Decrypts the encrypted ID.EncryptedAssertion
Assertion. encrypt(com.sun.identity.saml2.key.EncryptionConfig encryptionConfig, String recipientEntityID)
Returns anEncryptedAssertion
object.EncryptedAttribute
Attribute. encrypt(com.sun.identity.saml2.key.EncryptionConfig encryptionConfig, String recipientEntityID)
Returns anEncryptedAttribute
object.EncryptedID
NameID. encrypt(com.sun.identity.saml2.key.EncryptionConfig encryptionConfig, String recipientEntityID)
Returns anEncryptedID
object.boolean
Assertion. isSignatureValid(Set<X509Certificate> verificationCerts)
Return whether the signature is valid or not.void
AuthzDecisionStatement. setAction(List<Action> value)
Sets theAction
(s) of the statement.void
Advice. setAdditionalInfo(List info)
Sets a list of additional informationvoid
SubjectConfirmationData. setAddress(String value)
Sets the network address/location from which an attesting entity can present the assertionvoid
SubjectLocality. setAddress(String value)
Sets the value of theAddress
attribute.void
Assertion. setAdvice(Advice advice)
Sets the advice of the assertionvoid
Attribute. setAnyAttribute(Map value)
Sets theanyAttribute
of the attribute.void
Evidence. setAssertion(List<Assertion> value)
Sets theAssertion
(s) in the element.void
Evidence. setAssertionIDRef(List<AssertionIDRef> value)
Sets theAssertionIDRef
(s) in the element.void
Advice. setAssertionIDRefs(List<AssertionIDRef> idRefs)
Sets a list ofAssertionIDRef
void
Advice. setAssertions(List<Assertion> assertions)
Sets a list ofAssertion
void
Evidence. setAssertionURIRef(List value)
Sets theAssertionURIRef
(s) in the element.void
Advice. setAssertionURIRefs(List uriRefs)
Sets a list ofAssertionURIRef
void
AttributeStatement. setAttribute(List<Attribute> value)
SetsAttribute
(s) of the statement.void
Assertion. setAttributeStatements(List<AttributeStatement> statements)
Sets the attribute statements of the assertionvoid
Attribute. setAttributeValue(List value)
Sets theAttributeValue
(s) of theAttribute
.void
Attribute. setAttributeValueString(List value)
Sets the value ofAttributeValue
element(s).void
AudienceRestriction. setAudience(List<String> audiences)
Sets the audiencesvoid
ProxyRestriction. setAudience(List<String> audiences)
Sets the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.void
Conditions. setAudienceRestrictions(List<AudienceRestriction> ars)
Sets a list ofAudienceRestriction
void
AuthnContext. setAuthenticatingAuthority(List<String> value)
Sets the value of theAuthenticatingAuthority
property.void
AuthnStatement. setAuthnContext(AuthnContext value)
Sets the value of theAuthnContext
property.void
AuthnContext. setAuthnContextClassRef(String value)
Sets the value of theAuthnContextClassRef
property.void
AuthnContext. setAuthnContextDecl(String value)
Sets the value of theAuthnContextDecl
property.void
AuthnContext. setAuthnContextDeclRef(String value)
Sets the value of theAuthnContextDeclRef
property.void
AuthnStatement. setAuthnInstant(Date value)
Sets the value of theAuthnInstant
attribute.void
Assertion. setAuthnStatements(List<AuthnStatement> statements)
Sets theAuthnStatements
of the assertionvoid
Assertion. setAuthzDecisionStatements(List<AuthzDecisionStatement> statements)
Sets theAuthzDecisionStatements
of the assertionvoid
Subject. setBaseID(BaseID value)
Sets the identifier inBaseID
formatvoid
SubjectConfirmation. setBaseID(BaseID value)
Sets the base IDvoid
Assertion. setConditions(Conditions conditions)
Sets the conditions of the assertionvoid
Conditions. setConditions(List<Condition> conditions)
Sets a list ofCondition
void
SubjectConfirmationData. setContent(List content)
Sets a list of arbitrary XML elements to be added to thisSubjectConfirmationData
object.void
SubjectConfirmationData. setContentType(String attribute)
Sets the content type attributevoid
ProxyRestriction. setCount(int value)
Sets the maximum number of indirections that the asserting party permits to exist between this assertion and an assertion which has ultimately been issued on the basis of it.void
AuthzDecisionStatement. setDecision(String value)
Sets theDecision
attribute.void
SubjectLocality. setDNSName(String value)
Sets the value of theDNSName
attribute.void
Evidence. setEncryptedAssertion(List<EncryptedAssertion> value)
Sets theEncryptedAssertion
(s) in the element.void
Advice. setEncryptedAssertions(List<EncryptedAssertion> encryptedAssertions)
Sets a list ofEncryptedAssertion
void
AttributeStatement. setEncryptedAttribute(List<EncryptedAttribute> value)
SetsEncryptedAttribute
(s) of the statement.void
Subject. setEncryptedID(EncryptedID value)
Sets the encrypted identifiervoid
SubjectConfirmation. setEncryptedID(EncryptedID value)
Sets the encrypted IDvoid
AuthzDecisionStatement. setEvidence(Evidence value)
Sets theEvidence
of the statement.void
NameIDType. setFormat(String value)
Sets the formatvoid
Attribute. setFriendlyName(String value)
Sets theFriendlyName
of the attribute.void
Assertion. setID(String id)
Sets the id of the assertionvoid
SubjectConfirmationData. setInResponseTo(String value)
Sets the ID of a SAML protocol message in response to which an attesting entity can present the assertionvoid
Assertion. setIssueInstant(Date issueInstant)
Sets the time when the assertion was issuedvoid
Assertion. setIssuer(Issuer issuer)
Sets the issuer of the assertionvoid
KeyInfoConfirmationData. setKeyInfo(List info)
Sets the key infovoid
SubjectConfirmation. setMethod(String value)
Sets the confirmation methodvoid
Attribute. setName(String value)
Sets theName
of the attribute.void
Attribute. setNameFormat(String value)
Sets theNameFormat
of the attribute.void
Subject. setNameID(NameID value)
Sets the identifier inNameID
formatvoid
SubjectConfirmation. setNameID(NameID value)
Sets the name identifiervoid
BaseIDAbstract. setNameQualifier(String nameQualifier)
Sets the name qualifiervoid
NameIDType. setNameQualifier(String value)
Sets the name qualifiervoid
Action. setNamespace(String value)
Sets the value of theNamespace
attribute.void
Conditions. setNotBefore(Date value)
Sets the time instant before which the subject cannot be confirmed.void
SubjectConfirmationData. setNotBefore(Date value)
Sets the time instant before which the subject cannot be confirmedvoid
Conditions. setNotOnOrAfter(Date value)
Sets the time instant at which the subject can no longer be confirmed.void
SubjectConfirmationData. setNotOnOrAfter(Date value)
Sets the time instant at which the subject can no longer be confirmedvoid
Conditions. setOneTimeUses(List<OneTimeUse> oneTimeUses)
Sets a list ofOneTimeUse
void
Conditions. setProxyRestrictions(List<ProxyRestriction> prs)
Sets a list ofProxyRestriction
void
SubjectConfirmationData. setRecipient(String value)
Sets the URI specifying the entity or location to which an attesting entity can present the assertionvoid
AuthzDecisionStatement. setResource(String value)
Sets theResource
of the statement.void
AuthnStatement. setSessionIndex(String value)
Sets the value of theSessionIndex
attribute.void
AuthnStatement. setSessionNotOnOrAfter(Date value)
Sets the value of theSessionNotOnOrAfter
attribute.void
BaseIDAbstract. setSPNameQualifier(String spNameQualifier)
Sets theSP
name qualifiervoid
NameIDType. setSPNameQualifier(String value)
Sets theSP
name qualifiervoid
NameIDType. setSPProvidedID(String value)
Sets theSP
provided IDvoid
Assertion. setStatements(List<Object> statements)
Sets the statements of the assertionvoid
Assertion. setSubject(Subject subject)
Sets the subject of the assertionvoid
Subject. setSubjectConfirmation(List<SubjectConfirmation> confirmations)
Sets a list of subject confirmationsvoid
SubjectConfirmation. setSubjectConfirmationData(SubjectConfirmationData value)
Sets the subject confirmation datavoid
AuthnStatement. setSubjectLocality(SubjectLocality value)
Sets the value of theSubjectLocality
property.void
Action. setValue(String value)
Sets the value of thisAction
.void
AssertionIDRef. setValue(String value)
Sets the value of thisAssertionIDRef
.void
NameIDType. setValue(String value)
Sets the string-valued identifiervoid
Assertion. setVersion(String version)
Sets the version number of the assertion.void
Assertion. sign(org.forgerock.openam.saml2.crypto.signing.SigningConfig signingConfig)
Signs the Assertion.String
Evidence. toXMLString()
Returns a String representation of the element.String
Evidence. toXMLString(boolean includeNS, boolean declareNS)
Returns a String representation of the element. -
Uses of SAML2Exception in com.sun.identity.saml2.common
Subclasses of SAML2Exception in com.sun.identity.saml2.common Modifier and Type Class Description class
SAML2InvalidNameIDPolicyException
This class is an extension point for all SAML related exceptions.class
SAML2InvalidUserException
This class is an extension point for invalid usernames in the SAML flow.Methods in com.sun.identity.saml2.common that throw SAML2Exception Modifier and Type Method Description static String
SAML2SDKUtils. createSOAPMessageString(String xmlString)
CreatesSOAPMessage
with the input XML String as message body.static byte[]
SAML2SDKUtils. intToTwoBytes(int i)
Converts integer to byte array.static Boolean
SAML2SDKUtils. StringToBoolean(String str)
Converts a value of XML boolean type to Boolean object.default DocumentFragment
XmlSerializable. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
Serializes the element into an XMLDocumentFragment
.default String
XmlSerializable. toXMLString()
Deprecated.default String
XmlSerializable. toXMLString(boolean includeNSPrefix, boolean declareNS)
Deprecated.static int
SAML2SDKUtils. twoBytesToInt(byte[] bytes)
Converts two bytes to an integer. -
Uses of SAML2Exception in com.sun.identity.saml2.ecp
Methods in com.sun.identity.saml2.ecp that throw SAML2Exception Modifier and Type Method Description ECPRelayState
ECPFactory. createECPRelayState()
Returns theECPRelayState
Object.ECPRelayState
ECPFactory. createECPRelayState(String value)
Returns theECPRelayState
Object.ECPRelayState
ECPFactory. createECPRelayState(Element value)
Returns theECPRelayState
Object.ECPRequest
ECPFactory. createECPRequest()
Returns theECPRequest
Object.ECPRequest
ECPFactory. createECPRequest(String value)
Returns theECPRequest
Object.ECPRequest
ECPFactory. createECPRequest(Element value)
Returns theECPRequest
Object.ECPResponse
ECPFactory. createECPResponse()
Returns theECPResponse
Object.ECPResponse
ECPFactory. createECPResponse(String value)
Returns theECPResponse
Object.ECPResponse
ECPFactory. createECPResponse(Element value)
Returns theECPResponse
Object.void
ECPRelayState. setActor(String actor)
Sets the value ofactor
attribute.void
ECPRequest. setActor(String actor)
Sets the value ofactor
attribute.void
ECPResponse. setActor(String actor)
Sets the value ofactor
attribute.void
ECPResponse. setAssertionConsumerServiceURL(String url)
Sets the value of theAssertionConsumerServiceURL
attribute.void
ECPRequest. setIDPList(IDPList idpList)
Sets theIDPList
Object.void
ECPRequest. setIsPassive(Boolean isPassive)
Sets the value of theIsPassive
attribute.void
ECPRequest. setIssuer(Issuer issuer)
Sets the value of the issuer attribute.void
ECPRelayState. setMustUnderstand(Boolean mustUnderstand)
Sets the value of themustUnderstand
attribute.void
ECPRequest. setMustUnderstand(Boolean mustUnderstand)
Sets the value of themustUnderstand
attribute.void
ECPResponse. setMustUnderstand(Boolean mustUnderstand)
Sets the value of themustUnderstand
attribute.void
ECPRequest. setProviderName(String providerName)
Sets theProviderName
attribute value.void
ECPRelayState. setValue(String value)
Sets the value of theRelayState
. -
Uses of SAML2Exception in com.sun.identity.saml2.plugins
Methods in com.sun.identity.saml2.plugins that throw SAML2Exception Modifier and Type Method Description void
AttributeAuthorityMapper. authenticateRequester(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)
Checks if the attribute query requester is valid.void
AssertionIDRequestMapper. authenticateRequesterURI(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String samlAuthorityEntityID, String role, String realm)
Checks if the assertion requester using URI binding is valid.boolean
FedletAdapter. doFedletSLO(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, String hostedEntityID, String idpEntityID, List siList, String nameIDValue, String binding)
Invokes after Fedlet receives SLO request from IDP.List
AttributeAuthorityMapper. getAttributes(Object identity, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)
Returns attributes of the specifed identity.List
IDPAttributeMapper. getAttributes(Object session, String hostEntityID, String remoteEntityID, String realm)
Returns list of SAMLAttribute
objects for an authenticated user local attributes.Map<String,Set<String>>
SPAttributeMapper. getAttributes(List<Attribute> attributes, String userID, String hostEntityID, String remoteEntityID, String realm)
Returns the map of user attribute values for the corresponding SAMLAttribute
s.int
SPAuthnContextMapper. getAuthLevel(RequestedAuthnContext reqCtx, AuthnContext authContext, String realm, String hostEntityID, String idpEntityID)
Returns the Auth Level for theAuthContext
.AuthnContext
IDPAuthnContextMapper. getAuthnContextFromAuthLevel(String authLevel, String realm, String idpEntityID)
ReturnsAuthnContext
that matches the authenticated level.Object
AttributeAuthorityMapper. getIdentity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)
Returns an identity that matches the subject in the attribute query.String
IDPAccountMapper. getIdentity(NameID nameID, String hostEntityID, String remoteEntityID, String realm)
Returns the user's distinguished name or the universal ID for the correspondingSAML NameID
.String
IDPAccountMapper. getIdentity(ManageNameIDRequest manageNameIDRequest, String hostEntityID, String realm)
Returns the user's distinguished name or the universal ID for the correspondingSAML ManageNameIDRequest
.String
SPAccountMapper. getIdentity(Assertion assertion, String hostEntityID, String realm)
Returns the user's distinguished name or the universal ID for the correspondingSAML Assertion
.String
SPAccountMapper. getIdentity(ManageNameIDRequest manageNameIDRequest, String hostEntityID, String realm)
Returns the user's distinguished name or the universal ID for the correspondingSAML ManageNameIDRequest
.IDPAuthnContextInfo
IDPAuthnContextMapper. getIDPAuthnContextInfo(AuthnRequest authnRequest, String idpEntityID, String realm)
Deprecated.default IDPAuthnContextInfo
IDPAuthnContextMapper. getIDPAuthnContextInfo(AuthnRequest authnRequest, String idpEntityID, String realm, String spEntityID)
Returns anIDPAuthnContextInfo
object.NameID
IDPAccountMapper. getNameID(Object session, String hostEntityID, String remoteEntityID, String realm, String nameIDFormat)
Returns the user'sNameID
information that contains account federation with the corresponding remote and local entities.List
SAML2IDPFinder. getPreferredIDP(AuthnRequest authnRequest, String hostProviderID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Returns a list of preferred IDP providerID's.RequestedAuthnContext
SPAuthnContextMapper. getRequestedAuthnContext(String realm, String hostEntityID, Map paramsMap)
Returns theRequestedAuthnContext
Object .Object
IDPECPSessionMapper. getSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Returns user valid session.void
FedletAdapter. onFedletSLOFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, LogoutResponse logoutRes, String hostedEntityID, String idpEntityID, String binding)
Invokes after Fedlet receives SLO response from IDP and the SLO status is not success.void
FedletAdapter. onFedletSLOSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, LogoutRequest logoutReq, LogoutResponse logoutRes, String hostedEntityID, String idpEntityID, String binding)
Invokes after Fedlet receives SLO response from IDP and the SLO status is success.boolean
SAML2ServiceProviderAdapter. postSingleSignOnSuccess(String hostedEntityID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PrintWriter out, Object session, AuthnRequest authnRequest, Response ssoResponse, String profile, boolean isFederation)
Invokes after Single-Sign-On processing succeeded.boolean
SAML2IdentityProviderAdapter. preAuthentication(String hostedEntityID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, Object session, String reqID, String relayState)
Invokes when OpenAM has received the authn request, processed it, and is ready to redirect to authentication.default void
SAML2IdentityProviderAdapter. preSendFailureResponse(String hostedEntityID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String faultCode, String faultDetail)
Called before a SAML error message is returned.void
SAML2IdentityProviderAdapter. preSendFailureResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String faultCode, String faultDetail)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
SAML2IdentityProviderAdapter. preSendResponse(AuthnRequest authnRequest, String hostProviderID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object session, String reqID, String relayState)
This method is invoked before sending a non-error SAML2 Response, but before the SAML Response object is constructed.void
SAML2IdentityProviderAdapter. preSignResponse(AuthnRequest authnRequest, Response res, String hostProviderID, String realm, javax.servlet.http.HttpServletRequest request, Object session, String relayState)
Called after the SAML Response object is created, but before the Response is signed/encrypted.void
SAML2ServiceProviderAdapter. preSingleLogoutProcess(String hostedEntityID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String userID, LogoutRequest logoutRequest, LogoutResponse logoutResponse, String binding)
Invokes before single logout process started onSP
side.boolean
SAML2IdentityProviderAdapter. preSingleSignOn(String hostedEntityID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, String reqID)
Invokes when OpenAM receives the authentication request for the first time from the SP, and is called before any processing started on the IDP side.void
SAML2ServiceProviderAdapter. preSingleSignOnProcess(String hostedEntityID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthnRequest authnRequest, Response ssoResponse, String profile)
Invokes when theFAM
received the Single-Sign-On response from the IDP, this is called before any processing started on SP side.void
SAML2ServiceProviderAdapter. preSingleSignOnRequest(String hostedEntityID, String idpEntityID, String realm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthnRequest authnRequest)
Invokes before OpenAM sends the Single-Sign-On request to IDP.void
AttributeAuthorityMapper. validateAttributeQuery(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AttributeQuery attrQuery, String attrAuthorityEntityID, String realm)
Checks if the attribute query is valid. -
Uses of SAML2Exception in com.sun.identity.saml2.plugins.scripted
Methods in com.sun.identity.saml2.plugins.scripted that throw SAML2Exception Modifier and Type Method Description Attribute
IdpAttributeMapperScriptHelper. createSAMLAttribute(String name, String nameFormat, Set<String> values)
Create a SAMLAttribute
object.Map<String,Set<String>>
IdpAttributeMapperScriptHelper. getAttributes(Object session, Set<String> attrNames)
Get attributes from a session.Map<String,byte[][]>
IdpAttributeMapperScriptHelper. getBinaryAttributes(Object session, Set<String> attrNames)
Get binary attributes from a session.Map<String,String>
IdpAttributeMapperScriptHelper. getHostedIDPConfigAttributeMap(String realm, String hostedEntityId)
Return the attribute map by parsing the configured map in hosted identity provider configuration.Map<String,String>
IdpAttributeMapperScriptHelper. getRemoteSPConfigAttributeMap(String realm, String remoteEntityId)
Return the attribute map by parsing the configured map in remote service provider configuration -
Uses of SAML2Exception in com.sun.identity.saml2.profile
Methods in com.sun.identity.saml2.profile that throw SAML2Exception Modifier and Type Method Description static Map<String,Set<String>>
AttributeQueryUtil. getAttributesForFedlet(String spEntityID, String idpEntityID, String nameIDValue, List<String> attrsList, String attrQueryProfileAlias, String subjectDN)
Sends the AttributeQuery to specified attribute authority, validates the response and returns the attribute mapMap<String, Set<String>>
to the Fedletstatic String
XACMLQueryUtil. getPolicyDecisionForFedlet(javax.servlet.http.HttpServletRequest request, String pepEntityID, String pdpEntityID, String nameIDValue, String serviceName, String resource, String action)
Sends the XACML query to specifiied PDP, gets the policy decision and sends it back to the Fedletstatic NameIDMappingResponse
NameIDMapping. initiateNameIDMappingRequest(Object session, String realm, String spEntityID, String idpEntityID, String targetSPEntityID, String targetNameIDFormat, Map paramsMap)
Parses the request parameters and builds the NameIDMappingRequest to sent to remote identity provider.static Map
SPACSUtils. processResponseForFedlet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PrintWriter out)
Processes response from Identity Provider to Fedlet (SP).static Response
AssertionIDRequestUtil. sendAssertionIDRequest(AssertionIDRequest assertionIDRequest, String samlAuthorityEntityID, String role, String realm, String binding)
Sends theAssertionIDRequest
to specifiied Assertion ID Request Service and returnsResponse
coming from the Assertion ID Request Service.static Assertion
AssertionIDRequestUtil. sendAssertionIDRequestURI(String assertionID, String samlAuthorityEntityID, String role, String realm)
Sends the Assertion ID to specifiied Assertion ID Request Service and returnsAssertion
coming from the Assertion ID Request Service.static Response
AttributeQueryUtil. sendAttributeQuery(AttributeQuery attrQuery, String attrAuthorityEntityID, String realm, String attrQueryProfile, String attrProfile, String binding)
Sends theAttributeQuery
to specified attribute authority and returnsResponse
coming from the attribute authority.static void
AttributeQueryUtil. sendAttributeQuery(AttributeQuery attrQuery, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String attrAuthorityEntityID, String realm, String attrQueryProfile, String attrProfile, String binding)
Sends theAttributeQuery
to specified attribute authority and returnsResponse
coming from the attribute authority.static Response
AuthnQueryUtil. sendAuthnQuery(AuthnQuery authnQuery, String authnAuthorityEntityID, String realm, String binding)
This method sends theAuthnQuery
to specifiied authentication authority and returnsResponse
coming from the authentication authority. -
Uses of SAML2Exception in com.sun.identity.saml2.protocol
Methods in com.sun.identity.saml2.protocol that throw SAML2Exception Modifier and Type Method Description Artifact
ProtocolFactory. createArtifact(byte[] typecode, int endpointIndex, String sourceID, String messageHandle)
Returns a new instance ofArtifact
.Artifact
ProtocolFactory. createArtifact(String encodedArtifactValue)
Returns a new instance ofArtifact
.Artifact
ProtocolFactory. createArtifact(Element elem)
Returns a new instance ofArtifact
.ArtifactResolve
ProtocolFactory. createArtifactResolve(String xml)
Returns a new instance ofArtifactResolve
.ArtifactResolve
ProtocolFactory. createArtifactResolve(Element elem)
Returns a new instance ofArtifactResolve
.ArtifactResponse
ProtocolFactory. createArtifactResponse(String xml)
Returns a new instance ofArtifactResponse
.ArtifactResponse
ProtocolFactory. createArtifactResponse(Element elem)
Returns a new instance ofArtifactResponse
.AssertionIDRequest
ProtocolFactory. createAssertionIDRequest()
Returns theAssertionIDRequest
Object.AssertionIDRequest
ProtocolFactory. createAssertionIDRequest(String value)
Returns theAssertionIDRequest
Object.AssertionIDRequest
ProtocolFactory. createAssertionIDRequest(Element value)
Returns theAssertionIDRequest
Object.AttributeQuery
ProtocolFactory. createAttributeQuery()
Returns theAttributeQuery
Object.AttributeQuery
ProtocolFactory. createAttributeQuery(String value)
Returns theAttributeQuery
Object.AttributeQuery
ProtocolFactory. createAttributeQuery(Element value)
Returns theAttributeQuery
Object.AuthnQuery
ProtocolFactory. createAuthnQuery()
Returns theAuthnQuery
Object.AuthnQuery
ProtocolFactory. createAuthnQuery(String value)
Returns theAuthnQuery
Object.AuthnQuery
ProtocolFactory. createAuthnQuery(Element value)
Returns theAuthnQuery
Object.AuthnRequest
ProtocolFactory. createAuthnRequest()
Returns theAuthnRequest
Object.AuthnRequest
ProtocolFactory. createAuthnRequest(String value)
Returns theAuthnRequest
Object.AuthnRequest
ProtocolFactory. createAuthnRequest(Element value)
Returns theAuthnRequest
Object.Extensions
ProtocolFactory. createExtensions()
Returns theExtensions
Object.Extensions
ProtocolFactory. createExtensions(String value)
Returns theExtensions
Object.Extensions
ProtocolFactory. createExtensions(Element value)
Returns theExtensions
Object.GetComplete
ProtocolFactory. createGetComplete()
Returns theGetComplete
Object.GetComplete
ProtocolFactory. createGetComplete(String value)
Returns theGetComplete
Object.GetComplete
ProtocolFactory. createGetComplete(Element value)
Returns theGetComplete
Object.IDPEntry
ProtocolFactory. createIDPEntry()
Returns theIDPEntry
Object.IDPEntry
ProtocolFactory. createIDPEntry(String value)
Returns theIDPEntry
Object.IDPEntry
ProtocolFactory. createIDPEntry(Element value)
Returns theIDPEntry
Object.IDPList
ProtocolFactory. createIDPList()
Returns theIDPList
Object.IDPList
ProtocolFactory. createIDPList(String value)
Returns theIDPList
Object.IDPList
ProtocolFactory. createIDPList(Element value)
Returns theIDPList
Object.LogoutRequest
ProtocolFactory. createLogoutRequest(String value)
Returns theLogoutRequest
Object.LogoutRequest
ProtocolFactory. createLogoutRequest(Element value)
Returns theLogoutRequest
Object.LogoutResponse
ProtocolFactory. createLogoutResponse(String value)
Returns theLogoutResponse
Object.LogoutResponse
ProtocolFactory. createLogoutResponse(Element value)
Returns theLogoutResponse
Object.ManageNameIDRequest
ProtocolFactory. createManageNameIDRequest(String value)
Returns an immutable manage name identifier request object.ManageNameIDRequest
ProtocolFactory. createManageNameIDRequest(Element value)
Returns an immutable manage name identifier request object.ManageNameIDResponse
ProtocolFactory. createManageNameIDResponse(String value)
Returns an immutable manage name identifier response object.ManageNameIDResponse
ProtocolFactory. createManageNameIDResponse(Element value)
Returns an immutable manage name identifier response object.NameIDMappingRequest
ProtocolFactory. createNameIDMappingRequest(String value)
Returns theNameIDMappingRequest
Object.NameIDMappingRequest
ProtocolFactory. createNameIDMappingRequest(Element elem)
Returns theNameIDMappingRequest
Object.NameIDMappingResponse
ProtocolFactory. createNameIDMappingResponse(String value)
Returns theNameIDMappingResponse
Object.NameIDMappingResponse
ProtocolFactory. createNameIDMappingResponse(Element elem)
Returns theNameIDMappingResponse
Object.NameIDPolicy
ProtocolFactory. createNameIDPolicy()
Returns theNameIDPolicy
Object.NameIDPolicy
ProtocolFactory. createNameIDPolicy(String value)
Returns theNameIDPolicy
Object.NameIDPolicy
ProtocolFactory. createNameIDPolicy(Element value)
Returns theNameIDPolicy
Object.NewEncryptedID
ProtocolFactory. createNewEncryptedID(String value)
Returns an immutable new encrypted identifier object.NewEncryptedID
ProtocolFactory. createNewEncryptedID(Element value)
Returns an immutable new encrypted identifier object.NewID
ProtocolFactory. createNewID(String value)
Returns an new identifier object.NewID
ProtocolFactory. createNewID(Element value)
Returns an new identifier object.RequestedAuthnContext
ProtocolFactory. createRequestedAuthnContext()
Returns a mutable requested authentication context object.RequestedAuthnContext
ProtocolFactory. createRequestedAuthnContext(String value)
Returns an immutable requested authentication context object.RequestedAuthnContext
ProtocolFactory. createRequestedAuthnContext(Element value)
Returns an immutable requested authentication context object.RequesterID
ProtocolFactory. createRequesterID()
Returns theRequesterID
Object.RequesterID
ProtocolFactory. createRequesterID(String value)
Returns theRequesterID
Object.RequesterID
ProtocolFactory. createRequesterID(Element value)
Returns theRequesterID
Object.Response
ProtocolFactory. createResponse(String xml)
Returns a new instance ofResponse
.Response
ProtocolFactory. createResponse(Element elem)
Returns a new instance ofResponse
.Scoping
ProtocolFactory. createScoping()
Returns theScoping
Object.Scoping
ProtocolFactory. createScoping(String value)
Returns theScoping
Object.Scoping
ProtocolFactory. createScoping(Element value)
Returns theScoping
Object.Status
ProtocolFactory. createStatus()
Returns theStatus
Object.Status
ProtocolFactory. createStatus(String value)
Returns theStatus
Object.Status
ProtocolFactory. createStatus(Element value)
Returns theStatus
Object.StatusCode
ProtocolFactory. createStatusCode()
Returns theStatusCode
Object.StatusCode
ProtocolFactory. createStatusCode(String value)
Returns theStatusCode
Object.StatusCode
ProtocolFactory. createStatusCode(Element value)
Returns theStatusCode
Object.StatusDetail
ProtocolFactory. createStatusDetail()
Returns theStatusDetail
Object.StatusDetail
ProtocolFactory. createStatusDetail(String value)
Returns theStatusDetail
Object.StatusDetail
ProtocolFactory. createStatusDetail(Element value)
Returns theStatusDetail
Object.NewID
NewEncryptedID. decrypt(Set<PrivateKey> privateKeys)
Returns an instance ofNewID
object.NewEncryptedID
NewID. encrypt(com.sun.identity.saml2.key.EncryptionConfig encryptionConfig, String recipientEntityID)
Returns anNewEncryptedID
object.boolean
RequestAbstract. isSignatureValid(Set<X509Certificate> verificationCerts)
Return whether the signature is valid or not.boolean
StatusResponse. isSignatureValid(Set<X509Certificate> verificationCerts)
Returns whether the signature on theStatusResponse
is valid or not.void
NameIDPolicy. setAllowCreate(boolean allowCreate)
Sets the value ofAllowCreate
attribute.void
ArtifactResponse. setAny(String value)
Sets theany
element of the response.void
Extensions. setAny(List value)
Sets theExtensions
object.void
StatusDetail. setAny(List<String> anyList)
Sets the value of the Any property.void
ArtifactResolve. setArtifact(Artifact value)
Sets theArtifact
of the request.void
Response. setAssertion(List<Assertion> value)
Sets Assertion(s) of the response.void
AuthnRequest. setAssertionConsumerServiceIndex(Integer index)
Sets the value of theAssertionConsumerServiceIndex
attribute.void
AuthnRequest. setAssertionConsumerServiceURL(String url)
Sets the value of theAssertionConsumerServiceURL
attribute.void
AssertionIDRequest. setAssertionIDRefs(List<AssertionIDRef> assertionIDRefs)
Sets a list ofAssertionIDRef
Objects.void
AuthnRequest. setAttributeConsumingServiceIndex(Integer index)
Sets the value of theAttributeConsumingServiceIndex
attribute.void
AttributeQuery. setAttributes(List<Attribute> attributes)
Sets theAttribute
objects.void
RequestedAuthnContext. setAuthnContextClassRef(List references)
Sets authentication context class references.void
RequestedAuthnContext. setAuthnContextDeclRef(List references)
Sets authentication context declaration class references.void
LogoutRequest. setBaseID(BaseID value)
Sets the value of the baseID property.void
NameIDMappingRequest. setBaseID(BaseID value)
Sets the value of the baseID property.void
RequestedAuthnContext. setComparison(String value)
Sets the value of theComparison
property.void
AuthnRequest. setConditions(Conditions conditions)
Sets theConditions
object.void
RequestAbstract. setConsent(String consent)
Sets the value of theConsent
attribute.void
StatusResponse. setConsent(String value)
Sets the value of the consent property.void
RequestAbstract. setDestination(String destinationURI)
Sets the value of theDestination
attribute.void
StatusResponse. setDestination(String value)
Sets the value of the destination property.void
Response. setEncryptedAssertion(List<EncryptedAssertion> value)
SetsEncryptedAssertion
(s) of the response.void
LogoutRequest. setEncryptedID(EncryptedID value)
Sets the value of the encryptedID property.void
ManageNameIDRequest. setEncryptedID(EncryptedID value)
Sets the value of theencryptedID
property.void
NameIDMappingRequest. setEncryptedID(EncryptedID value)
Sets the value of theencryptedID
property.void
NameIDMappingResponse. setEncryptedID(EncryptedID value)
Sets the value of theencryptedID
property.void
RequestAbstract. setExtensions(Extensions extensions)
Sets theExtensions
Object.void
StatusResponse. setExtensions(Extensions value)
Sets the value of the extensions property.void
AuthnRequest. setForceAuthn(Boolean value)
Sets the value of theForceAuthn
attribute.void
NameIDPolicy. setFormat(String uri)
Sets the value of theFormat
attribute.void
IDPList. setGetComplete(GetComplete getComplete)
Sets theGetComplete
Object.void
RequestAbstract. setID(String id)
Sets the value of theID
attribute.void
StatusResponse. setID(String value)
Sets the value of the id property.void
IDPList. setIDPEntries(List<IDPEntry> idpEntryList)
Sets theIDPEntry
Object.void
Scoping. setIDPList(IDPList idpList)
Sets theIDPList
Object.void
StatusResponse. setInResponseTo(String value)
Sets the value of the inResponseTo property.void
AuthnRequest. setIsPassive(Boolean value)
Sets the value of theIsPassive
attribute.void
RequestAbstract. setIssueInstant(Date dateTime)
Sets the value ofIssueInstant
attribute.void
StatusResponse. setIssueInstant(Date value)
Sets the value of the issueInstant property.void
RequestAbstract. setIssuer(Issuer nameID)
Sets theIssuer
object.void
StatusResponse. setIssuer(Issuer value)
Sets the value of the issuer property.void
IDPEntry. setLoc(String locationURI)
Sets the value ofLoc
attribute.void
IDPEntry. setName(String name)
Sets the value ofName
attribute.void
LogoutRequest. setNameID(NameID value)
Sets the value of the nameID property.void
ManageNameIDRequest. setNameID(NameID value)
Sets the value of thenameID
property.void
NameIDMappingRequest. setNameID(NameID value)
Sets the value of thenameID
property.void
NameIDMappingResponse. setNameID(NameID value)
Sets the value of thenameID
property.void
AuthnRequest. setNameIDPolicy(NameIDPolicy nameIDPolicy)
Sets theNameIDPolicy
object.void
NameIDMappingRequest. setNameIDPolicy(NameIDPolicy nameIDPolicy)
Sets theNameIDPolicy
object.void
ManageNameIDRequest. setNewEncryptedID(NewEncryptedID value)
Sets the value of thenewEncryptedID
property.void
ManageNameIDRequest. setNewID(NewID value)
Sets the value of theNewID
property.void
LogoutRequest. setNotOnOrAfter(Date value)
Sets the value of the notOnOrAfter property.void
AuthnRequest. setProtocolBinding(String protocolBinding)
Sets the value of theProtocolBinding
attribute.void
IDPEntry. setProviderID(String uri)
Sets theProviderID
attribute value.void
AuthnRequest. setProviderName(String providerName)
Sets theProviderName
attribute value.void
Scoping. setProxyCount(Integer proxyCount)
Sets the value ofProxyCount
attribute.void
LogoutRequest. setReason(String value)
Sets the value of the reason property.void
AuthnQuery. setRequestedAuthnContext(RequestedAuthnContext requestedAuthnContext)
Sets theRequestedAuthnContext
object.void
AuthnRequest. setRequestedAuthnContext(RequestedAuthnContext reqAuthnContext)
Sets theRequestedAuthnContext
.void
Scoping. setRequesterIDs(List<RequesterID> requesterIDList)
Sets a list ofRequesterID
Objects.void
AuthnRequest. setScoping(Scoping scoping)
Sets theScoping
object.void
AuthnQuery. setSessionIndex(String sessionIndex)
Sets the value ofSessionIndex
attribute.void
LogoutRequest. setSessionIndex(List<String> sessionIndexList)
Sets the value of the SessionIndex property.void
NameIDPolicy. setSPNameQualifier(String spNameQualifier)
Sets the value ofSPNameQualifier
attribute.void
StatusResponse. setStatus(Status value)
Sets the value of the status property.void
Status. setStatusCode(StatusCode value)
Sets the value of the statusCode property.void
StatusCode. setStatusCode(StatusCode value)
Sets the value of the statusCode property.void
Status. setStatusDetail(StatusDetail value)
Sets the value of the statusDetail property.void
Status. setStatusMessage(String value)
Sets the value of the statusMessage property.void
AuthnRequest. setSubject(Subject subject)
Sets theSubject
object.void
SubjectQueryAbstract. setSubject(Subject subject)
Sets theSubject
object.void
ManageNameIDRequest. setTerminate(boolean terminate)
Set this request as terminating request.void
GetComplete. setValue(String value)
Sets the value of theGetComplete
URI.void
RequesterID. setValue(String value)
Sets the value of theRequesterID
URI.void
StatusCode. setValue(String value)
Sets the value of the value property.void
RequestAbstract. setVersion(String version)
Sets the value of theVersion
attribute.void
StatusResponse. setVersion(String value)
Sets the value of the version property.void
RequestAbstract. sign(org.forgerock.openam.saml2.crypto.signing.SigningConfig signingConfig)
Signs the Request.void
StatusResponse. sign(org.forgerock.openam.saml2.crypto.signing.SigningConfig signingConfig)
Signs theStatusResponse
. -
Uses of SAML2Exception in com.sun.identity.xacml.client
Methods in com.sun.identity.xacml.client that throw SAML2Exception Modifier and Type Method Description Response
XACMLRequestProcessor. processRequest(Request xacmlRequest, String pdpEntityId, String pepEntityId)
Processes an XACML context Request and returns an XACML context Response. -
Uses of SAML2Exception in com.sun.identity.xacml.common
Subclasses of SAML2Exception in com.sun.identity.xacml.common Modifier and Type Class Description class
XACMLException
This class is an extension point for all XACML related exceptions. -
Uses of SAML2Exception in com.sun.identity.xacml.context
Methods in com.sun.identity.xacml.context that throw SAML2Exception Modifier and Type Method Description XACMLAuthzDecisionQuery
ContextFactory. createXACMLAuthzDecisionQuery(String xml)
Returns a new instance ofXACMLAuthzDecisionQuery
.XACMLAuthzDecisionQuery
ContextFactory. createXACMLAuthzDecisionQuery(Element elem)
Returns a new instance ofXACMLAuthzDecisionQuery
. -
Uses of SAML2Exception in com.sun.identity.xacml.context.impl
Methods in com.sun.identity.xacml.context.impl that throw SAML2Exception Modifier and Type Method Description DocumentFragment
ActionImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
AttributeImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
DecisionImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
EnvironmentImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
RequestImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
ResourceImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
StatusCodeImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
StatusDetailImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
StatusImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
StatusMessageImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
SubjectImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
-
Uses of SAML2Exception in com.sun.identity.xacml.policy.impl
Methods in com.sun.identity.xacml.policy.impl that throw SAML2Exception Modifier and Type Method Description DocumentFragment
ObligationImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
DocumentFragment
ObligationsImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
-
Uses of SAML2Exception in com.sun.identity.xacml.saml2.impl
Methods in com.sun.identity.xacml.saml2.impl that throw SAML2Exception Modifier and Type Method Description protected void
XACMLAuthzDecisionQueryImpl. parseDOMElement(Element element)
DocumentFragment
XACMLAuthzDecisionQueryImpl. toDocumentFragment(Document document, boolean includeNSPrefix, boolean declareNS)
protected void
XACMLAuthzDecisionQueryImpl. validateData()
Constructors in com.sun.identity.xacml.saml2.impl that throw SAML2Exception Constructor Description XACMLAuthzDecisionQueryImpl(String xml)
This constructor is used to buildXACMLAuthzDecisionQuery
object from a XML string.XACMLAuthzDecisionQueryImpl(Element element)
This constructor is used to buildXACMLAuthzDecisionQuery
object from a block of existing XML that has already been built into a DOM. -
Uses of SAML2Exception in org.forgerock.am.saml2.impl
Methods in org.forgerock.am.saml2.impl that throw SAML2Exception Modifier and Type Method Description Saml2SsoResult
Saml2SsoResponseUtils. getSsoResultWithoutLocalLogin(Realm realm, String spEntityId, String idpEntityId, Subject subject, Assertion assertion, String storageKey)
Processes the received SAML2 response, without triggering local authentication.void
Saml2SsoResponseUtils. linkAccounts(String nameIdInfo, String universalId)
Sets up a persistent link between the federated account and the local user.Map<String,Set<String>>
Saml2SsoResponseUtils. mapSamlAttributes(Realm realm, String spEntityId, String idpEntityId, Saml2SsoResult ssoResult, Assertion assertion)
Maps the SAML2 attributes from the assertion to local attribute values.static void
Saml2Proxy. processSamlResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Processes the SAML response for the SAML2 authentication module and then directs the user back to the authentication process differently for XUI and non-XUI cases. -
Uses of SAML2Exception in org.forgerock.openam.federation.plugin.rooturl
Methods in org.forgerock.openam.federation.plugin.rooturl that throw SAML2Exception Modifier and Type Method Description String
RootUrlProvider. getRootURL(String realm, javax.servlet.http.HttpServletRequest request)
Gets the AM instance root url, with the context path included.
-