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
public class AuthnRequestImpl extends RequestAbstractTypeImpl implements AuthnRequest
A concrete implementation ofAuthnRequest
.
-
-
Field Summary
Fields Modifier and Type Field Description private Integer
assertionConsumerServiceIndex
AssertionConsumerServiceIndex attribute.private String
assertionConsumerServiceURL
AssertionConsumerServiceURL attribute.private Integer
attributeConsumingServiceIndex
AttributeConsumingServiceIndex attribute.private Conditions
conditions
Conditions child element.private XSBooleanValue
forceAuthn
ForeceAuthn attribute.private XSBooleanValue
isPassive
IsPassive attribute.private NameIDPolicy
nameIDPolicy
NameIDPolicy child element.private String
protocolBinding
ProtocolBinding attribute.private String
providerName
ProviderName attribute.private RequestedAuthnContext
requestedAuthnContext
RequestedAuthnContext child element.private Scoping
scoping
Scoping child element.private Subject
subject
Subject 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 protected
AuthnRequestImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.
-
Method Summary
-
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 Subject subject
Subject child element.
-
nameIDPolicy
private NameIDPolicy nameIDPolicy
NameIDPolicy child element.
-
conditions
private Conditions conditions
Conditions child element.
-
requestedAuthnContext
private RequestedAuthnContext requestedAuthnContext
RequestedAuthnContext child element.
-
scoping
private Scoping scoping
Scoping child element.
-
forceAuthn
private XSBooleanValue forceAuthn
ForeceAuthn attribute.
-
isPassive
private 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:
isForceAuthn
in interfaceAuthnRequest
-
isForceAuthnXSBoolean
public XSBooleanValue isForceAuthnXSBoolean()
- Specified by:
isForceAuthnXSBoolean
in interfaceAuthnRequest
-
setForceAuthn
public void setForceAuthn(Boolean newForceAuth)
- Specified by:
setForceAuthn
in interfaceAuthnRequest
-
setForceAuthn
public void setForceAuthn(XSBooleanValue newForceAuthn)
- Specified by:
setForceAuthn
in interfaceAuthnRequest
-
isPassive
public Boolean isPassive()
- Specified by:
isPassive
in interfaceAuthnRequest
-
isPassiveXSBoolean
public XSBooleanValue isPassiveXSBoolean()
- Specified by:
isPassiveXSBoolean
in interfaceAuthnRequest
-
setIsPassive
public void setIsPassive(Boolean newIsPassive)
- Specified by:
setIsPassive
in interfaceAuthnRequest
-
setIsPassive
public void setIsPassive(XSBooleanValue newIsPassive)
- Specified by:
setIsPassive
in interfaceAuthnRequest
-
getProtocolBinding
public String getProtocolBinding()
- Specified by:
getProtocolBinding
in interfaceAuthnRequest
-
setProtocolBinding
public void setProtocolBinding(String newProtocolBinding)
- Specified by:
setProtocolBinding
in interfaceAuthnRequest
-
getAssertionConsumerServiceIndex
public Integer getAssertionConsumerServiceIndex()
- Specified by:
getAssertionConsumerServiceIndex
in interfaceAuthnRequest
-
setAssertionConsumerServiceIndex
public void setAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex)
- Specified by:
setAssertionConsumerServiceIndex
in interfaceAuthnRequest
-
getAssertionConsumerServiceURL
public String getAssertionConsumerServiceURL()
- Specified by:
getAssertionConsumerServiceURL
in interfaceAuthnRequest
-
setAssertionConsumerServiceURL
public void setAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)
- Specified by:
setAssertionConsumerServiceURL
in interfaceAuthnRequest
-
getAttributeConsumingServiceIndex
public Integer getAttributeConsumingServiceIndex()
- Specified by:
getAttributeConsumingServiceIndex
in interfaceAuthnRequest
-
setAttributeConsumingServiceIndex
public void setAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex)
- Specified by:
setAttributeConsumingServiceIndex
in interfaceAuthnRequest
-
getProviderName
public String getProviderName()
- Specified by:
getProviderName
in interfaceAuthnRequest
-
setProviderName
public void setProviderName(String newProviderName)
- Specified by:
setProviderName
in interfaceAuthnRequest
-
getSubject
public Subject getSubject()
- Specified by:
getSubject
in interfaceAuthnRequest
-
setSubject
public void setSubject(Subject newSubject)
- Specified by:
setSubject
in interfaceAuthnRequest
-
getNameIDPolicy
public NameIDPolicy getNameIDPolicy()
- Specified by:
getNameIDPolicy
in interfaceAuthnRequest
-
setNameIDPolicy
public void setNameIDPolicy(NameIDPolicy newNameIDPolicy)
- Specified by:
setNameIDPolicy
in interfaceAuthnRequest
-
getConditions
public Conditions getConditions()
- Specified by:
getConditions
in interfaceAuthnRequest
-
setConditions
public void setConditions(Conditions newConditions)
- Specified by:
setConditions
in interfaceAuthnRequest
-
getRequestedAuthnContext
public RequestedAuthnContext getRequestedAuthnContext()
- Specified by:
getRequestedAuthnContext
in interfaceAuthnRequest
-
setRequestedAuthnContext
public void setRequestedAuthnContext(RequestedAuthnContext newRequestedAuthnContext)
- Specified by:
setRequestedAuthnContext
in interfaceAuthnRequest
-
getScoping
public Scoping getScoping()
- Specified by:
getScoping
in interfaceAuthnRequest
-
setScoping
public void setScoping(Scoping newScoping)
- Specified by:
setScoping
in interfaceAuthnRequest
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildren
in interfaceXMLObject
- Overrides:
getOrderedChildren
in classRequestAbstractTypeImpl
-
-