@Deprecated public class SASLResponse extends Object
SASLResponse
class represents SASLResponse
element defined in Authentication Service schema.Constructor and Description |
---|
SASLResponse(Element element)
Deprecated.
Constructs a
SASLResponse with a
org.w3c.dom.Element . |
SASLResponse(String statusCode)
Deprecated.
Constructs a
SASLResponse instance. |
Modifier and Type | Method and Description |
---|---|
List |
getCredentials()
Deprecated.
Returns a list of child Element of 'Credentials' Element.
|
byte[] |
getData()
Deprecated.
Returns value of Element 'Data'.
|
String |
getId()
Deprecated.
Returns value of
id attribute. |
String |
getMessageID()
Deprecated.
Returns value of
messageID attribute of
CorrelationHeader . |
PasswordTransforms |
getPasswordTransforms()
Deprecated.
Returns child Element 'PasswordTransforms'.
|
String |
getRefToMessageID()
Deprecated.
Returns value of
refToMessageID attribute of
CorrelationHeader . |
ResourceOffering |
getResourceOffering()
Deprecated.
Returns Element
ResourceOffering . |
String |
getServerMechanism()
Deprecated.
Returns value of
serverMechanism attribute. |
String |
getStatusCode()
Deprecated.
Returns value of attribute 'code' of Element 'Status'.
|
void |
setCredentials(List credentials)
Deprecated.
Sets a list of child Elements of 'Credentials' Element.
|
void |
setData(byte[] data)
Deprecated.
Sets value of Element 'Data'.
|
void |
setId(String id)
Deprecated.
Sets value of
id attribute. |
void |
setMessageID(String messageID)
Deprecated.
Sets value of
messageID attribute of
CorrelationHeader . |
void |
setPasswordTransforms(PasswordTransforms passwordTransforms)
Deprecated.
Sets child Element 'PasswordTransforms'
|
void |
setRefToMessageID(String refToMessageID)
Deprecated.
Sets value of
refToMessageID attribute of
CorrelationHeader . |
void |
setResourceOffering(ResourceOffering resourceOffering)
Deprecated.
Sets Element
ResourceOffering . |
void |
setServerMechanism(String serverMechanism)
Deprecated.
Sets value of
mechanism attribute. |
void |
setStatusCode(String statusCode)
Deprecated.
Sets value of attribute 'code' of Element 'Status'.
|
Element |
toElement()
Deprecated.
Returns
SASLResponse in org.w3c.dom.Element
format. |
public SASLResponse(String statusCode)
SASLResponse
instance.statusCode
- Status Code.public SASLResponse(Element element) throws AuthnSvcException
SASLResponse
with a
org.w3c.dom.Element
.element
- a SASLResponse
elementAuthnSvcException
- if an error occurs while parsing the
SASLResponse
elementpublic String getStatusCode()
SASLResponse.setStatusCode(String)
public PasswordTransforms getPasswordTransforms()
SASLResponse.setPasswordTransforms(PasswordTransforms)
public byte[] getData()
SASLResponse.setData(byte[])
public ResourceOffering getResourceOffering()
ResourceOffering
.ResourceOffering
.SASLResponse.setResourceOffering(ResourceOffering)
public List getCredentials()
SASLResponse.setCredentials(List)
public String getServerMechanism()
serverMechanism
attribute.serverMechanism
attributeSASLResponse.setServerMechanism(String)
public String getId()
id
attribute.id
attributeSASLResponse.setId(String)
public String getMessageID()
messageID
attribute of
CorrelationHeader
.messageID
attributeSASLResponse.setMessageID(String)
public String getRefToMessageID()
refToMessageID
attribute of
CorrelationHeader
.refToMessageID
attributeSASLResponse.setRefToMessageID(String)
public void setStatusCode(String statusCode)
statusCode
- value of attribute 'code' of Element 'Status'SASLResponse.getStatusCode()
public void setPasswordTransforms(PasswordTransforms passwordTransforms)
passwordTransforms
- Element 'PasswordTransforms'SASLResponse.getPasswordTransforms()
public void setData(byte[] data)
data
- value of Element 'Data'SASLResponse.getData()
public void setResourceOffering(ResourceOffering resourceOffering)
ResourceOffering
.resourceOffering
- Element ResourceOffering
SASLResponse.getResourceOffering()
public void setCredentials(List credentials)
credentials
- a list of child Elements of 'Credentials' ElementSASLResponse.getCredentials()
public void setServerMechanism(String serverMechanism)
mechanism
attribute.serverMechanism
- value of mechanism
attributeSASLResponse.getServerMechanism()
public void setId(String id)
id
attribute.id
- value of id
attributeSASLResponse.getId()
public void setMessageID(String messageID)
messageID
attribute of
CorrelationHeader
.messageID
- value of messageID
attributeSASLResponse.getMessageID()
public void setRefToMessageID(String refToMessageID)
refToMessageID
attribute of
CorrelationHeader
.refToMessageID
- value of refToMessageID
attributeSASLResponse.getRefToMessageID()
public Element toElement() throws AuthnSvcException
SASLResponse
in org.w3c.dom.Element
format.SASLResponse
in org.w3c.dom.Element
format.AuthnSvcException
- if an error occurs while creating the
SASLResponse
elementCopyright © 2010-2018, ForgeRock All Rights Reserved.