Decision Center API

ilog.rules.teamserver.auth
Class UsernamePasswordAuthenticationCredentials

java.lang.Object
  extended by ilog.rules.teamserver.auth.AuthenticationCredentials
      extended by ilog.rules.teamserver.auth.UsernamePasswordAuthenticationCredentials
All Implemented Interfaces:
Serializable

public class UsernamePasswordAuthenticationCredentials
extends AuthenticationCredentials

Represents a simple user/password credential.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ilog.rules.teamserver.auth.AuthenticationCredentials
AuthenticationHandlerClassname
 
Constructor Summary
UsernamePasswordAuthenticationCredentials(String username, String password)
          Creates a credential given a username and a password.
 
Method Summary
 String getPassword()
          Returns the password of the user.
 String getUsername()
          Returns the name of the user.
 
Methods inherited from class ilog.rules.teamserver.auth.AuthenticationCredentials
addAuthenticationDetails, getAuthenticationDetailNames, getAuthenticationDetails, removeAuthenticationDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernamePasswordAuthenticationCredentials

public UsernamePasswordAuthenticationCredentials(String username,
                                                 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 String getUsername()
Returns the name of the user.

Returns:
The name of the user.

getPassword

public String getPassword()
Returns the password of the user.

Returns:
The password of the user.

Decision Center API

© Copyright IBM Corp. 1987, 2013