Class UsernamePasswordCredentialsSource

java.lang.Object
org.kuali.rice.ksb.security.credentials.UsernamePasswordCredentialsSource
All Implemented Interfaces:
CredentialsSource

public final class UsernamePasswordCredentialsSource extends Object implements CredentialsSource
Implementation of a CredentialsSource that contains a username and password.

Note that this implementation is for service-to-service authentication. It cannot handle user-to-service authentication.

Since:
0.9
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • UsernamePasswordCredentialsSource

      public UsernamePasswordCredentialsSource(String username, String password)
      Constructor that accepts the username and password for which to construct UsernamePasswordAuthenticationToken's from.
      Parameters:
      username - the username.
      password - the password.
  • Method Details