Class NameIDMappingRequestImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
-
- com.sun.identity.saml2.protocol.impl.NameIDMappingRequestImpl
-
- All Implemented Interfaces:
NameIDMappingRequest,RequestAbstract
public class NameIDMappingRequestImpl extends RequestAbstractImpl implements NameIDMappingRequest
-
-
Field Summary
-
Fields inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
consent, destinationURI, elementName, extensions, isMutable, isSignatureValid, isSigned, issueInstant, publicKey, requestId, signatureString, signedXMLString, version
-
-
Constructor Summary
Constructors Constructor Description NameIDMappingRequestImpl()Constructor to createManageNameIDRequestObject.NameIDMappingRequestImpl(String xmlString)Constructor to createManageNameIDRequestObject.NameIDMappingRequestImpl(Element element)Constructor to createManageNameIDRequestObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseIDgetBaseID()Returns the value of the baseID property.EncryptedIDgetEncryptedID()Returns the value of theencryptedIDproperty.NameIDgetNameID()Returns the value of thenameIDproperty.NameIDPolicygetNameIDPolicy()Returns theNameIDPolicyobject.protected voidgetXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS)voidmakeImmutable()Makes this object immutable.protected voidparseDOMAttributes(Element element)Parses attributes of the Docuemnt Element for this object.protected voidparseDOMChileElements(ListIterator iter)Parses child elements of the Docuemnt Element for this object.voidsetBaseID(BaseID value)Sets the value of the baseID property.voidsetEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidsetNameID(NameID value)Sets the value of thenameIDproperty.voidsetNameIDPolicy(NameIDPolicy nameIDPolicy)Sets theNameIDPolicyobject.protected voidvalidateData()-
Methods inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
getAttributesString, getConsent, getDestination, getElements, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, parseDOMElement, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString, validateID, validateIssueInstant, validateVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.identity.saml2.protocol.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString
-
-
-
-
Constructor Detail
-
NameIDMappingRequestImpl
public NameIDMappingRequestImpl()
Constructor to createManageNameIDRequestObject.
-
NameIDMappingRequestImpl
public NameIDMappingRequestImpl(Element element) throws SAML2Exception
Constructor to createManageNameIDRequestObject.- Parameters:
element- Document Element ofManageNameIDRequestobject.- Throws:
SAML2Exception- ifManageNameIDRequestcannot be created.
-
NameIDMappingRequestImpl
public NameIDMappingRequestImpl(String xmlString) throws SAML2Exception
Constructor to createManageNameIDRequestObject.- Parameters:
xmlString- XML Representation of theManageNameIDRequestobject.- Throws:
SAML2Exception- ifManageNameIDRequestcannot be created.
-
-
Method Detail
-
getEncryptedID
public EncryptedID getEncryptedID()
Returns the value of theencryptedIDproperty.- Specified by:
getEncryptedIDin interfaceNameIDMappingRequest- Returns:
- the value of the
encryptedIDproperty. - See Also:
setEncryptedID(EncryptedID)
-
setEncryptedID
public void setEncryptedID(EncryptedID value) throws SAML2Exception
Sets the value of theencryptedIDproperty.- Specified by:
setEncryptedIDin interfaceNameIDMappingRequest- Parameters:
value- the value of theencryptedIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getEncryptedID()
-
getNameID
public NameID getNameID()
Returns the value of thenameIDproperty.- Specified by:
getNameIDin interfaceNameIDMappingRequest- Returns:
- the value of the
nameIDproperty. - See Also:
setNameID(NameID)
-
setNameID
public void setNameID(NameID value) throws SAML2Exception
Sets the value of thenameIDproperty.- Specified by:
setNameIDin interfaceNameIDMappingRequest- Parameters:
value- the value of thenameIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getNameID()
-
getNameIDPolicy
public NameIDPolicy getNameIDPolicy()
Returns theNameIDPolicyobject.- Specified by:
getNameIDPolicyin interfaceNameIDMappingRequest- Returns:
- the
NameIDPolicyobject. - See Also:
setNameIDPolicy(NameIDPolicy)
-
setNameIDPolicy
public void setNameIDPolicy(NameIDPolicy nameIDPolicy) throws SAML2Exception
Sets theNameIDPolicyobject.- Specified by:
setNameIDPolicyin interfaceNameIDMappingRequest- Parameters:
nameIDPolicy- the newNameIDPolicyobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getNameIDPolicy()
-
getBaseID
public BaseID getBaseID()
Returns the value of the baseID property.- Specified by:
getBaseIDin interfaceNameIDMappingRequest- Returns:
- the value of the baseID property
- See Also:
setBaseID(com.sun.identity.saml2.assertion.BaseID)
-
setBaseID
public void setBaseID(BaseID value) throws SAML2Exception
Sets the value of the baseID property.- Specified by:
setBaseIDin interfaceNameIDMappingRequest- Parameters:
value- the value of the baseID property to be set- Throws:
SAML2Exception- if the object is immutable- See Also:
getBaseID()
-
parseDOMAttributes
protected void parseDOMAttributes(Element element) throws SAML2Exception
Parses attributes of the Docuemnt Element for this object.- Overrides:
parseDOMAttributesin classRequestAbstractImpl- Parameters:
element- the Document Element of this object.- Throws:
SAML2Exception- if error parsing the Document Element.
-
parseDOMChileElements
protected void parseDOMChileElements(ListIterator iter) throws SAML2Exception
Parses child elements of the Docuemnt Element for this object.- Overrides:
parseDOMChileElementsin classRequestAbstractImpl- Parameters:
iter- the child elements iterator.- Throws:
SAML2Exception- if error parsing the Document Element.
-
getXMLString
protected void getXMLString(Set namespaces, StringBuffer attrs, StringBuffer childElements, boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
- Overrides:
getXMLStringin classRequestAbstractImpl- Throws:
SAML2Exception
-
validateData
protected void validateData() throws SAML2Exception- Overrides:
validateDatain classRequestAbstractImpl- Throws:
SAML2Exception
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceRequestAbstract- Overrides:
makeImmutablein classRequestAbstractImpl
-
-