com.groupdocs.viewer.domain

Class WindowsAuthenticationCredential



  • public class WindowsAuthenticationCredential
    extends Object

    Represents a container for the windows authentication credentials.

    • Constructor Detail

      • WindowsAuthenticationCredential

        public WindowsAuthenticationCredential(String userName,
                                       String password)

        Initializes new instance of windows authentication credential.

        Parameters:
        userName - The use name.
        password - The password.
      • WindowsAuthenticationCredential

        public WindowsAuthenticationCredential(String userName,
                                       String password,
                                       String domain)

        Initializes new instance of windows authentication credential.

        Parameters:
        userName - The user name.
        password - The password.
        domain - The domain.
    • Method Detail

      • getUserName

        public String getUserName()

        The user name.

        Returns:
        the user name
      • getPassword

        public String getPassword()

        The password.

        Returns:
        the password
      • getDomain

        public String getDomain()

        The domain.

        Returns:
        the domain
      • toNetworkCredential

        public com.groupdocs.viewer.domain.NetworkCredential toNetworkCredential()

        Maps windows authentication credential to network credential.

        Returns:
        Network credential.