com.sun.identity.liberty.ws.authnsvc.protocol
Class SASLRequest

java.lang.Object
  |
  +--com.sun.identity.liberty.ws.authnsvc.protocol.SASLRequest

public class SASLRequest
extends java.lang.Object

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

SASLRequest

public SASLRequest(java.lang.String mechanism)
Constructs a SASLRequest instance.
Parameters:
mechanism - Mechanism attribute value.

SASLRequest

public SASLRequest(org.w3c.dom.Element element)
            throws AuthnSvcException
This constructor takes a org.w3c.dom.Element.
Parameters:
element - a SASLRequest element
Throws:
AuthnSvcException - if an error occurs while parsing the SASLRequest element
Method Detail

getData

public byte[] getData()
Returns value of Element 'Data'
Returns:
value of Element 'Data'

getRequestAuthnContext

public org.w3c.dom.Element getRequestAuthnContext()
Returns Element RequestAuthnContext
Returns:
Element RequestAuthnContext

getMechanism

public java.lang.String getMechanism()
Returns value of mechanism attribute.
Returns:
value of mechanism attribute

getAuthzID

public java.lang.String getAuthzID()
Returns value of authzID attribute.
Returns:
value of authzID attribute

getAdvisoryAuthnID

public java.lang.String getAdvisoryAuthnID()
Returns value of advisoryAuthnID attribute.
Returns:
value of advisoryAuthnID attribute

getId

public java.lang.String getId()
Returns value of id attribute.
Returns:
value of id attribute

getMessageID

public java.lang.String getMessageID()
Returns value of messageID attribute of CorrelationHeader.
Returns:
value of messageID attribute

getRefToMessageID

public java.lang.String getRefToMessageID()
Returns value of refToMessageID attribute of CorrelationHeader.
Returns:
value of refToMessageID attribute

setData

public void setData(byte[] data)
Sets value of Element 'Data'.
Parameters:
data - value of Element 'Data'

setRequestAuthnContext

public void setRequestAuthnContext(org.w3c.dom.Element requestAuthnContext)
Sets Element RequestAuthnContext.
Parameters:
requestAuthnContext - Element RequestAuthnContext

setMechanism

public void setMechanism(java.lang.String mechanism)
Sets value of mechanism attribute
Parameters:
mechanism - value of mechanism attribute

setAuthzID

public void setAuthzID(java.lang.String authzID)
Sets value of authzID attribute.
Parameters:
authzID - value of authzID attribute

setAdvisoryAuthnID

public void setAdvisoryAuthnID(java.lang.String advisoryAuthnID)
Sets value of advisoryAuthnID attribute.
Parameters:
advisoryAuthnID - value of advisoryAuthnID attribute

setId

public void setId(java.lang.String id)
Sets value of id attribute.
Parameters:
id - value of id attribute

setMessageID

public void setMessageID(java.lang.String messageID)
Sets value of messageID attribute of CorrelationHeader.
Parameters:
messageID - value of messageID attribute

setRefToMessageID

public void setRefToMessageID(java.lang.String refToMessageID)
Sets value of refToMessageID attribute of CorrelationHeader.
Parameters:
refToMessageID - value of refToMessageID attribute

toElement

public org.w3c.dom.Element toElement()
                              throws AuthnSvcException
Returns SASLRequest in org.w3c.dom.Element format.
Returns:
SASLRequest in org.w3c.dom.Element format.
Throws:
AuthnSvcException - if an error occurs while creating the SASLRequest element


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.