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:
org.opensaml.core.xml.XMLObject,org.opensaml.saml.common.SAMLObject,org.opensaml.saml.common.SignableSAMLObject,org.opensaml.saml.saml2.core.AuthnRequest,org.opensaml.saml.saml2.core.RequestAbstractType,org.opensaml.xmlsec.signature.SignableXMLObject
public class AuthnRequestImpl extends RequestAbstractTypeImpl implements org.opensaml.saml.saml2.core.AuthnRequest
A concrete implementation ofAuthnRequest.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerassertionConsumerServiceIndexAssertionConsumerServiceIndex attribute.private StringassertionConsumerServiceURLAssertionConsumerServiceURL attribute.private IntegerattributeConsumingServiceIndexAttributeConsumingServiceIndex attribute.private org.opensaml.saml.saml2.core.ConditionsconditionsConditions child element.private org.opensaml.core.xml.schema.XSBooleanValueforceAuthnForeceAuthn attribute.private org.opensaml.core.xml.schema.XSBooleanValueisPassiveIsPassive attribute.private org.opensaml.saml.saml2.core.NameIDPolicynameIDPolicyNameIDPolicy child element.private StringprotocolBindingProtocolBinding attribute.private StringproviderNameProviderName attribute.private org.opensaml.saml.saml2.core.RequestedAuthnContextrequestedAuthnContextRequestedAuthnContext child element.private org.opensaml.saml.saml2.core.ScopingscopingScoping child element.private org.opensaml.saml.saml2.core.SubjectsubjectSubject 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_NAME
-
Fields 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
Constructors Modifier Constructor Description protectedAuthnRequestImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAssertionConsumerServiceIndex()StringgetAssertionConsumerServiceURL()IntegergetAttributeConsumingServiceIndex()org.opensaml.saml.saml2.core.ConditionsgetConditions()org.opensaml.saml.saml2.core.NameIDPolicygetNameIDPolicy()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()StringgetProtocolBinding()StringgetProviderName()org.opensaml.saml.saml2.core.RequestedAuthnContextgetRequestedAuthnContext()org.opensaml.saml.saml2.core.ScopinggetScoping()org.opensaml.saml.saml2.core.SubjectgetSubject()BooleanisForceAuthn()org.opensaml.core.xml.schema.XSBooleanValueisForceAuthnXSBoolean()BooleanisPassive()org.opensaml.core.xml.schema.XSBooleanValueisPassiveXSBoolean()voidsetAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex)voidsetAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)voidsetAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex)voidsetConditions(org.opensaml.saml.saml2.core.Conditions newConditions)voidsetForceAuthn(Boolean newForceAuth)voidsetForceAuthn(org.opensaml.core.xml.schema.XSBooleanValue newForceAuthn)voidsetIsPassive(Boolean newIsPassive)voidsetIsPassive(org.opensaml.core.xml.schema.XSBooleanValue newIsPassive)voidsetNameIDPolicy(org.opensaml.saml.saml2.core.NameIDPolicy newNameIDPolicy)voidsetProtocolBinding(String newProtocolBinding)voidsetProviderName(String newProviderName)voidsetRequestedAuthnContext(org.opensaml.saml.saml2.core.RequestedAuthnContext newRequestedAuthnContext)voidsetScoping(org.opensaml.saml.saml2.core.Scoping newScoping)voidsetSubject(org.opensaml.saml.saml2.core.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, setVersion
-
Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
-
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, setSchemaType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion
-
Methods inherited from interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceID
-
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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 Detail
-
subject
private org.opensaml.saml.saml2.core.Subject subject
Subject child element.
-
nameIDPolicy
private org.opensaml.saml.saml2.core.NameIDPolicy nameIDPolicy
NameIDPolicy child element.
-
conditions
private org.opensaml.saml.saml2.core.Conditions conditions
Conditions child element.
-
requestedAuthnContext
private org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext
RequestedAuthnContext child element.
-
scoping
private org.opensaml.saml.saml2.core.Scoping scoping
Scoping child element.
-
forceAuthn
private org.opensaml.core.xml.schema.XSBooleanValue forceAuthn
ForeceAuthn attribute.
-
isPassive
private org.opensaml.core.xml.schema.XSBooleanValue isPassive
IsPassive attribute.
-
protocolBinding
private String protocolBinding
ProtocolBinding attribute.
-
assertionConsumerServiceIndex
private Integer assertionConsumerServiceIndex
AssertionConsumerServiceIndex attribute.
-
assertionConsumerServiceURL
private String assertionConsumerServiceURL
AssertionConsumerServiceURL attribute.
-
attributeConsumingServiceIndex
private Integer attributeConsumingServiceIndex
AttributeConsumingServiceIndex attribute.
-
providerName
private String providerName
ProviderName attribute.
-
-
Constructor Detail
-
AuthnRequestImpl
protected AuthnRequestImpl(String namespaceURI, String elementLocalName, 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 Detail
-
isForceAuthn
public Boolean isForceAuthn()
- Specified by:
isForceAuthnin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
isForceAuthnXSBoolean
public org.opensaml.core.xml.schema.XSBooleanValue isForceAuthnXSBoolean()
- Specified by:
isForceAuthnXSBooleanin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setForceAuthn
public void setForceAuthn(Boolean newForceAuth)
- Specified by:
setForceAuthnin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setForceAuthn
public void setForceAuthn(org.opensaml.core.xml.schema.XSBooleanValue newForceAuthn)
- Specified by:
setForceAuthnin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
isPassive
public Boolean isPassive()
- Specified by:
isPassivein interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
isPassiveXSBoolean
public org.opensaml.core.xml.schema.XSBooleanValue isPassiveXSBoolean()
- Specified by:
isPassiveXSBooleanin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setIsPassive
public void setIsPassive(Boolean newIsPassive)
- Specified by:
setIsPassivein interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setIsPassive
public void setIsPassive(org.opensaml.core.xml.schema.XSBooleanValue newIsPassive)
- Specified by:
setIsPassivein interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getProtocolBinding
public String getProtocolBinding()
- Specified by:
getProtocolBindingin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setProtocolBinding
public void setProtocolBinding(String newProtocolBinding)
- Specified by:
setProtocolBindingin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getAssertionConsumerServiceIndex
public Integer getAssertionConsumerServiceIndex()
- Specified by:
getAssertionConsumerServiceIndexin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setAssertionConsumerServiceIndex
public void setAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex)
- Specified by:
setAssertionConsumerServiceIndexin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getAssertionConsumerServiceURL
public String getAssertionConsumerServiceURL()
- Specified by:
getAssertionConsumerServiceURLin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setAssertionConsumerServiceURL
public void setAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)
- Specified by:
setAssertionConsumerServiceURLin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getAttributeConsumingServiceIndex
public Integer getAttributeConsumingServiceIndex()
- Specified by:
getAttributeConsumingServiceIndexin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setAttributeConsumingServiceIndex
public void setAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex)
- Specified by:
setAttributeConsumingServiceIndexin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getProviderName
public String getProviderName()
- Specified by:
getProviderNamein interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setProviderName
public void setProviderName(String newProviderName)
- Specified by:
setProviderNamein interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getSubject
public org.opensaml.saml.saml2.core.Subject getSubject()
- Specified by:
getSubjectin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setSubject
public void setSubject(org.opensaml.saml.saml2.core.Subject newSubject)
- Specified by:
setSubjectin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getNameIDPolicy
public org.opensaml.saml.saml2.core.NameIDPolicy getNameIDPolicy()
- Specified by:
getNameIDPolicyin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setNameIDPolicy
public void setNameIDPolicy(org.opensaml.saml.saml2.core.NameIDPolicy newNameIDPolicy)
- Specified by:
setNameIDPolicyin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getConditions
public org.opensaml.saml.saml2.core.Conditions getConditions()
- Specified by:
getConditionsin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setConditions
public void setConditions(org.opensaml.saml.saml2.core.Conditions newConditions)
- Specified by:
setConditionsin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getRequestedAuthnContext
public org.opensaml.saml.saml2.core.RequestedAuthnContext getRequestedAuthnContext()
- Specified by:
getRequestedAuthnContextin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setRequestedAuthnContext
public void setRequestedAuthnContext(org.opensaml.saml.saml2.core.RequestedAuthnContext newRequestedAuthnContext)
- Specified by:
setRequestedAuthnContextin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getScoping
public org.opensaml.saml.saml2.core.Scoping getScoping()
- Specified by:
getScopingin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
setScoping
public void setScoping(org.opensaml.saml.saml2.core.Scoping newScoping)
- Specified by:
setScopingin interfaceorg.opensaml.saml.saml2.core.AuthnRequest
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject- Overrides:
getOrderedChildrenin classRequestAbstractTypeImpl
-
-