ilog.rules.teamserver.auth

Class UsernamePasswordAuthenticationCredentials

  • All Implemented Interfaces:
    java.io.Serializable


    public class UsernamePasswordAuthenticationCredentials
    extends AuthenticationCredentials
    Represents a simple user/password credential.
    See Also:
    Serialized Form
    • Constructor Detail

      • UsernamePasswordAuthenticationCredentials

        public UsernamePasswordAuthenticationCredentials(java.lang.String username,
                                                 java.lang.String password)
        Creates a credential given a username and a password.
        Parameters:
        username - The name of the user.
        password - The password.
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
        Returns the name of the user.
        Returns:
        The name of the user.
      • getPassword

        public java.lang.String getPassword()
        Returns the password of the user.
        Returns:
        The password of the user.

© Copyright IBM Corp. 1987, 2017