Class SASLResponse


  • @Deprecated
    public class SASLResponse
    extends Object
    Deprecated.
    since 12.0.0
    The SASLResponse class represents SASLResponse element defined in Authentication Service schema.
    • Field Detail

      • CONTINUE

        public static final String CONTINUE
        Deprecated.
        Continue status where the server expects the client to send another SASLRequest
        See Also:
        Constant Field Values
      • ABORT

        public static final String ABORT
        Deprecated.
        Abort status where the server is aborting the authentication exchange.
        See Also:
        Constant Field Values
      • OK

        public static final String OK
        Deprecated.
        OK status where the server considers the authentication exchange to have successfully completed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SASLResponse

        public SASLResponse​(String statusCode)
        Deprecated.
        Constructs a SASLResponse instance.
        Parameters:
        statusCode - Status Code.
      • SASLResponse

        public SASLResponse​(Element element)
                     throws AuthnSvcException
        Deprecated.
        Constructs a SASLResponse with a org.w3c.dom.Element.
        Parameters:
        element - a SASLResponse element
        Throws:
        AuthnSvcException - if an error occurs while parsing the SASLResponse element
    • Method Detail

      • getStatusCode

        public String getStatusCode()
        Deprecated.
        Returns value of attribute 'code' of Element 'Status'.
        Returns:
        value of attribute 'code' of Element 'Status'
        See Also:
        setStatusCode(String)
      • getData

        public byte[] getData()
        Deprecated.
        Returns value of Element 'Data'.
        Returns:
        value of Element 'Data'
        See Also:
        setData(byte[])
      • getCredentials

        public List getCredentials()
        Deprecated.
        Returns a list of child Element of 'Credentials' Element.
        Returns:
        a list of child Element of 'Credentials' Element
        See Also:
        setCredentials(List)
      • getServerMechanism

        public String getServerMechanism()
        Deprecated.
        Returns value of serverMechanism attribute.
        Returns:
        value of serverMechanism attribute
        See Also:
        setServerMechanism(String)
      • getId

        public String getId()
        Deprecated.
        Returns value of id attribute.
        Returns:
        value of id attribute
        See Also:
        setId(String)
      • getMessageID

        public String getMessageID()
        Deprecated.
        Returns value of messageID attribute of CorrelationHeader.
        Returns:
        value of messageID attribute
        See Also:
        setMessageID(String)
      • getRefToMessageID

        public String getRefToMessageID()
        Deprecated.
        Returns value of refToMessageID attribute of CorrelationHeader.
        Returns:
        value of refToMessageID attribute
        See Also:
        setRefToMessageID(String)
      • setStatusCode

        public void setStatusCode​(String statusCode)
        Deprecated.
        Sets value of attribute 'code' of Element 'Status'.
        Parameters:
        statusCode - value of attribute 'code' of Element 'Status'
        See Also:
        getStatusCode()
      • setPasswordTransforms

        public void setPasswordTransforms​(PasswordTransforms passwordTransforms)
        Deprecated.
        Sets child Element 'PasswordTransforms'
        Parameters:
        passwordTransforms - Element 'PasswordTransforms'
        See Also:
        getPasswordTransforms()
      • setData

        public void setData​(byte[] data)
        Deprecated.
        Sets value of Element 'Data'.
        Parameters:
        data - value of Element 'Data'
        See Also:
        getData()
      • setResourceOffering

        public void setResourceOffering​(ResourceOffering resourceOffering)
        Deprecated.
        Sets Element ResourceOffering.
        Parameters:
        resourceOffering - Element ResourceOffering
        See Also:
        getResourceOffering()
      • setCredentials

        public void setCredentials​(List credentials)
        Deprecated.
        Sets a list of child Elements of 'Credentials' Element.
        Parameters:
        credentials - a list of child Elements of 'Credentials' Element
        See Also:
        getCredentials()
      • setServerMechanism

        public void setServerMechanism​(String serverMechanism)
        Deprecated.
        Sets value of mechanism attribute.
        Parameters:
        serverMechanism - value of mechanism attribute
        See Also:
        getServerMechanism()
      • setId

        public void setId​(String id)
        Deprecated.
        Sets value of id attribute.
        Parameters:
        id - value of id attribute
        See Also:
        getId()
      • setMessageID

        public void setMessageID​(String messageID)
        Deprecated.
        Sets value of messageID attribute of CorrelationHeader.
        Parameters:
        messageID - value of messageID attribute
        See Also:
        getMessageID()
      • setRefToMessageID

        public void setRefToMessageID​(String refToMessageID)
        Deprecated.
        Sets value of refToMessageID attribute of CorrelationHeader.
        Parameters:
        refToMessageID - value of refToMessageID attribute
        See Also:
        getRefToMessageID()
      • toElement

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