JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.httpclient

Class HtmlUnitUsernamePasswordCredentials

  • All Implemented Interfaces:
    Serializable, org.apache.http.auth.Credentials


    public class HtmlUnitUsernamePasswordCredentials
    extends Object
    implements org.apache.http.auth.Credentials, Serializable 
    Wrapper for UsernamePasswordCredentials to avoid direct references spread around.
    Author:
    Ronald Brill, Lai Quang Duong
    See Also:
    Serialized Form
    • Constructor Detail

      • HtmlUnitUsernamePasswordCredentials

        public HtmlUnitUsernamePasswordCredentials(String userName,
         char[] password)
        The constructor with the username and password arguments.
        Parameters:
        userName - the user name
        password - the password
    • Method Detail

      • getPassword

        public String getPassword()
        Specified by:
        getPassword in interface org.apache.http.auth.Credentials
      • getUserPrincipal

        public Principal getUserPrincipal()
        Specified by:
        getUserPrincipal in interface org.apache.http.auth.Credentials
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /