Class ManageNameIDRequestImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
-
- com.sun.identity.saml2.protocol.impl.ManageNameIDRequestImpl
-
- All Implemented Interfaces:
ManageNameIDRequest,RequestAbstract
public class ManageNameIDRequestImpl extends RequestAbstractImpl implements ManageNameIDRequest
-
-
Field Summary
Fields Modifier and Type Field Description StringelementName-
Fields inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
consent, destinationURI, extensions, isMutable, isSignatureValid, isSigned, issueInstant, nameID, publicKey, requestId, signatureString, signedXMLString, version
-
-
Constructor Summary
Constructors Constructor Description ManageNameIDRequestImpl()Constructor to createManageNameIDRequestObject.ManageNameIDRequestImpl(String xmlString)Constructor to createManageNameIDRequestObject.ManageNameIDRequestImpl(Element element)Constructor to createManageNameIDRequestObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedIDgetEncryptedID()Returns the value of theencryptedIDproperty.NameIDgetNameID()Returns the value of thenameIDproperty.NewEncryptedIDgetNewEncryptedID()Returns the value of theNewEncryptedIDobject.NewIDgetNewID()Returns the value of theNewIDproperty.booleangetTerminate()Returns true if this is a terminating request.voidmakeImmutable()Makes this object immutable.voidsetEncryptedID(EncryptedID value)Sets the value of theencryptedIDproperty.voidsetNameID(NameID value)Sets the value of thenameIDproperty.voidsetNewEncryptedID(NewEncryptedID value)Sets the value of thenewEncryptedIDproperty.voidsetNewID(NewID value)Sets the value of theNewIDproperty.voidsetTerminate(boolean value)Set this request as terminating request.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation-
Methods inherited from class com.sun.identity.saml2.protocol.impl.RequestAbstractImpl
getAttributesString, getConsent, getDestination, getElements, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, getXMLString, isMutable, isSignatureValid, isSigned, parseDOMAttributes, parseDOMChileElements, parseDOMElement, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, validateData, 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
-
-
-
-
Field Detail
-
elementName
public final String elementName
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ManageNameIDRequestImpl
public ManageNameIDRequestImpl()
Constructor to createManageNameIDRequestObject.
-
ManageNameIDRequestImpl
public ManageNameIDRequestImpl(Element element) throws SAML2Exception
Constructor to createManageNameIDRequestObject.- Parameters:
element- Document Element ofManageNameIDRequestobject.- Throws:
SAML2Exception- ifManageNameIDRequestcannot be created.
-
ManageNameIDRequestImpl
public ManageNameIDRequestImpl(String xmlString) throws SAML2Exception
Constructor to createManageNameIDRequestObject.- Parameters:
xmlString- XML Representation of theManageNameIDRequestobject.- Throws:
SAML2Exception- ifManageNameIDRequestcannot be created.
-
-
Method Detail
-
getNewEncryptedID
public NewEncryptedID getNewEncryptedID()
Returns the value of theNewEncryptedIDobject.- Specified by:
getNewEncryptedIDin interfaceManageNameIDRequest- Returns:
- the value of
NewEncryptedIDobject. - See Also:
setNewEncryptedID(NewEncryptedID)
-
setNewEncryptedID
public void setNewEncryptedID(NewEncryptedID value) throws SAML2Exception
Sets the value of thenewEncryptedIDproperty.- Specified by:
setNewEncryptedIDin interfaceManageNameIDRequest- Parameters:
value- the value of thenewEncryptedIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getNewEncryptedID()
-
getEncryptedID
public EncryptedID getEncryptedID()
Returns the value of theencryptedIDproperty.- Specified by:
getEncryptedIDin interfaceManageNameIDRequest- 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 interfaceManageNameIDRequest- Parameters:
value- the value of theencryptedIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getEncryptedID()
-
getNewID
public NewID getNewID()
Returns the value of theNewIDproperty.- Specified by:
getNewIDin interfaceManageNameIDRequest- Returns:
- the value of the
NewIDproperty. - See Also:
setNewID(NewID)
-
setNewID
public void setNewID(NewID value) throws SAML2Exception
Sets the value of theNewIDproperty.- Specified by:
setNewIDin interfaceManageNameIDRequest- Parameters:
value- the value of theNewIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getNewID()
-
getNameID
public NameID getNameID()
Returns the value of thenameIDproperty.- Specified by:
getNameIDin interfaceManageNameIDRequest- 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 interfaceManageNameIDRequest- Parameters:
value- the value of thenameIDproperty.- Throws:
SAML2Exception- ifObjectis immutable.- See Also:
getNameID()
-
getTerminate
public boolean getTerminate()
Returns true if this is a terminating request.- Specified by:
getTerminatein interfaceManageNameIDRequest- Returns:
- true if this is a terminating request.
- See Also:
setTerminate(boolean)
-
setTerminate
public void setTerminate(boolean value) throws SAML2ExceptionSet this request as terminating request.- Specified by:
setTerminatein interfaceManageNameIDRequest- Parameters:
value- true to set this request as terminating request.- Throws:
SAML2Exception- if this object is immutable.- See Also:
getTerminate()
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceRequestAbstract- Overrides:
toXMLStringin classRequestAbstractImpl- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception- , if it could not create String object
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation- Specified by:
toXMLStringin interfaceRequestAbstract- Overrides:
toXMLStringin classRequestAbstractImpl- Parameters:
includeNSPrefix- determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- determines whether or not the namespace is declared within the Element.- Returns:
- a String , String representation of this Object.
- Throws:
SAML2Exception- ,if it could not create String object.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceRequestAbstract- Overrides:
makeImmutablein classRequestAbstractImpl
-
-