|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.liberty.ws.authnsvc.protocol.SASLRequest
The SASLRequest
class represents SASLRequest
element defined in Authentication Service schema.
Constructor Summary | |
SASLRequest(org.w3c.dom.Element element)
This constructor takes a org.w3c.dom.Element . |
|
SASLRequest(java.lang.String mechanism)
Constructs a SASLRequest instance. |
Method Summary | |
java.lang.String |
getAdvisoryAuthnID()
Returns value of advisoryAuthnID attribute. |
java.lang.String |
getAuthzID()
Returns value of authzID attribute. |
byte[] |
getData()
Returns value of Element 'Data' |
java.lang.String |
getId()
Returns value of id attribute. |
java.lang.String |
getMechanism()
Returns value of mechanism attribute. |
java.lang.String |
getMessageID()
Returns value of messageID attribute of
CorrelationHeader . |
java.lang.String |
getRefToMessageID()
Returns value of refToMessageID attribute of
CorrelationHeader . |
org.w3c.dom.Element |
getRequestAuthnContext()
Returns Element RequestAuthnContext |
void |
setAdvisoryAuthnID(java.lang.String advisoryAuthnID)
Sets value of advisoryAuthnID attribute. |
void |
setAuthzID(java.lang.String authzID)
Sets value of authzID attribute. |
void |
setData(byte[] data)
Sets value of Element 'Data'. |
void |
setId(java.lang.String id)
Sets value of id attribute. |
void |
setMechanism(java.lang.String mechanism)
Sets value of mechanism attribute |
void |
setMessageID(java.lang.String messageID)
Sets value of messageID attribute of
CorrelationHeader . |
void |
setRefToMessageID(java.lang.String refToMessageID)
Sets value of refToMessageID attribute of
CorrelationHeader . |
void |
setRequestAuthnContext(org.w3c.dom.Element requestAuthnContext)
Sets Element RequestAuthnContext . |
org.w3c.dom.Element |
toElement()
Returns SASLRequest in org.w3c.dom.Element
format. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SASLRequest(java.lang.String mechanism)
SASLRequest
instance.mechanism
- Mechanism attribute value.public SASLRequest(org.w3c.dom.Element element) throws AuthnSvcException
org.w3c.dom.Element
.element
- a SASLRequest
elementAuthnSvcException
- if an error occurs while parsing the
SASLRequest
elementMethod Detail |
public byte[] getData()
public org.w3c.dom.Element getRequestAuthnContext()
RequestAuthnContext
RequestAuthnContext
public java.lang.String getMechanism()
mechanism
attribute.mechanism
attributepublic java.lang.String getAuthzID()
authzID
attribute.authzID
attributepublic java.lang.String getAdvisoryAuthnID()
advisoryAuthnID
attribute.advisoryAuthnID
attributepublic java.lang.String getId()
id
attribute.id
attributepublic java.lang.String getMessageID()
messageID
attribute of
CorrelationHeader
.messageID
attributepublic java.lang.String getRefToMessageID()
refToMessageID
attribute of
CorrelationHeader
.refToMessageID
attributepublic void setData(byte[] data)
data
- value of Element 'Data'public void setRequestAuthnContext(org.w3c.dom.Element requestAuthnContext)
RequestAuthnContext
.requestAuthnContext
- Element RequestAuthnContext
public void setMechanism(java.lang.String mechanism)
mechanism
attributemechanism
- value of mechanism
attributepublic void setAuthzID(java.lang.String authzID)
authzID
attribute.authzID
- value of authzID
attributepublic void setAdvisoryAuthnID(java.lang.String advisoryAuthnID)
advisoryAuthnID
attribute.advisoryAuthnID
- value of advisoryAuthnID
attributepublic void setId(java.lang.String id)
id
attribute.id
- value of id
attributepublic void setMessageID(java.lang.String messageID)
messageID
attribute of
CorrelationHeader
.messageID
- value of messageID
attributepublic void setRefToMessageID(java.lang.String refToMessageID)
refToMessageID
attribute of
CorrelationHeader
.refToMessageID
- value of refToMessageID
attributepublic org.w3c.dom.Element toElement() throws AuthnSvcException
SASLRequest
in org.w3c.dom.Element
format.SASLRequest
in org.w3c.dom.Element
format.AuthnSvcException
- if an error occurs while creating the
SASLRequest
element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |