Class AuthnRequestImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml2.core.impl.RequestAbstractTypeImpl
org.opensaml.saml.saml2.core.impl.AuthnRequestImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,SignableSAMLObject,AuthnRequest,RequestAbstractType,SignableXMLObject
A concrete implementation of
AuthnRequest.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntegerAssertionConsumerServiceIndex attribute.private StringAssertionConsumerServiceURL attribute.private IntegerAttributeConsumingServiceIndex attribute.private ConditionsConditions child element.private XSBooleanValueForeceAuthn attribute.private XSBooleanValueIsPassive attribute.private NameIDPolicyNameIDPolicy child element.private StringProtocolBinding attribute.private StringProviderName attribute.private RequestedAuthnContextRequestedAuthnContext child element.private ScopingScoping child element.private SubjectSubject child element.Fields inherited from interface org.opensaml.saml.saml2.core.AuthnRequest
ASSERTION_CONSUMER_SERVICE_INDEX_ATTRIB_NAME, ASSERTION_CONSUMER_SERVICE_URL_ATTRIB_NAME, ATTRIBUTE_CONSUMING_SERVICE_INDEX_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, FORCE_AUTHN_ATTRIB_NAME, IS_PASSIVE_ATTRIB_NAME, PROTOCOL_BINDING_ATTRIB_NAME, PROVIDER_NAME_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAMEFields inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType
CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_QNAME, OBTAINED_CONSENT, PRIOR_CONSENT, TYPE_LOCAL_NAME, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthnRequestImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex) voidsetAssertionConsumerServiceURL(String newAssertionConsumerServiceURL) voidsetAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex) voidsetConditions(Conditions newConditions) voidsetForceAuthn(Boolean newForceAuth) voidsetForceAuthn(XSBooleanValue newForceAuthn) voidsetIsPassive(Boolean newIsPassive) voidsetIsPassive(XSBooleanValue newIsPassive) voidsetNameIDPolicy(NameIDPolicy newNameIDPolicy) voidsetProtocolBinding(String newProtocolBinding) voidsetProviderName(String newProviderName) voidsetRequestedAuthnContext(RequestedAuthnContext newRequestedAuthnContext) voidsetScoping(Scoping newScoping) voidsetSubject(Subject newSubject) Methods inherited from class org.opensaml.saml.saml2.core.impl.RequestAbstractTypeImpl
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignatureReferenceID, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersionMethods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignatureMethods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSignedMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersionMethods inherited from interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceIDMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
subject
Subject child element. -
nameIDPolicy
NameIDPolicy child element. -
conditions
Conditions child element. -
requestedAuthnContext
RequestedAuthnContext child element. -
scoping
Scoping child element. -
forceAuthn
ForeceAuthn attribute. -
isPassive
IsPassive attribute. -
protocolBinding
ProtocolBinding attribute. -
assertionConsumerServiceIndex
AssertionConsumerServiceIndex attribute. -
assertionConsumerServiceURL
AssertionConsumerServiceURL attribute. -
attributeConsumingServiceIndex
AttributeConsumingServiceIndex attribute. -
providerName
ProviderName attribute.
-
-
Constructor Details
-
AuthnRequestImpl
protected AuthnRequestImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
isForceAuthn
- Specified by:
isForceAuthnin interfaceAuthnRequest
-
isForceAuthnXSBoolean
- Specified by:
isForceAuthnXSBooleanin interfaceAuthnRequest
-
setForceAuthn
- Specified by:
setForceAuthnin interfaceAuthnRequest
-
setForceAuthn
- Specified by:
setForceAuthnin interfaceAuthnRequest
-
isPassive
- Specified by:
isPassivein interfaceAuthnRequest
-
isPassiveXSBoolean
- Specified by:
isPassiveXSBooleanin interfaceAuthnRequest
-
setIsPassive
- Specified by:
setIsPassivein interfaceAuthnRequest
-
setIsPassive
- Specified by:
setIsPassivein interfaceAuthnRequest
-
getProtocolBinding
- Specified by:
getProtocolBindingin interfaceAuthnRequest
-
setProtocolBinding
- Specified by:
setProtocolBindingin interfaceAuthnRequest
-
getAssertionConsumerServiceIndex
- Specified by:
getAssertionConsumerServiceIndexin interfaceAuthnRequest
-
setAssertionConsumerServiceIndex
- Specified by:
setAssertionConsumerServiceIndexin interfaceAuthnRequest
-
getAssertionConsumerServiceURL
- Specified by:
getAssertionConsumerServiceURLin interfaceAuthnRequest
-
setAssertionConsumerServiceURL
- Specified by:
setAssertionConsumerServiceURLin interfaceAuthnRequest
-
getAttributeConsumingServiceIndex
- Specified by:
getAttributeConsumingServiceIndexin interfaceAuthnRequest
-
setAttributeConsumingServiceIndex
- Specified by:
setAttributeConsumingServiceIndexin interfaceAuthnRequest
-
getProviderName
- Specified by:
getProviderNamein interfaceAuthnRequest
-
setProviderName
- Specified by:
setProviderNamein interfaceAuthnRequest
-
getSubject
- Specified by:
getSubjectin interfaceAuthnRequest
-
setSubject
- Specified by:
setSubjectin interfaceAuthnRequest
-
getNameIDPolicy
- Specified by:
getNameIDPolicyin interfaceAuthnRequest
-
setNameIDPolicy
- Specified by:
setNameIDPolicyin interfaceAuthnRequest
-
getConditions
- Specified by:
getConditionsin interfaceAuthnRequest
-
setConditions
- Specified by:
setConditionsin interfaceAuthnRequest
-
getRequestedAuthnContext
- Specified by:
getRequestedAuthnContextin interfaceAuthnRequest
-
setRequestedAuthnContext
- Specified by:
setRequestedAuthnContextin interfaceAuthnRequest
-
getScoping
- Specified by:
getScopingin interfaceAuthnRequest
-
setScoping
- Specified by:
setScopingin interfaceAuthnRequest
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject- Overrides:
getOrderedChildrenin classRequestAbstractTypeImpl
-