Class BasicAuthenticationCredentials

java.lang.Object
org.kuali.rice.ksb.service.BasicAuthenticationCredentials
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
BasicAuthenticationConnectionCredentials

public class BasicAuthenticationCredentials extends Object implements org.springframework.beans.factory.InitializingBean
Initializes authenticationService with user credentials.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • BasicAuthenticationCredentials

      public BasicAuthenticationCredentials()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Register the service credentials for the service
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
      See Also:
      • InitializingBean.afterPropertiesSet()
    • getAuthenticationService

      public BasicAuthenticationService getAuthenticationService()
      Gets the BasicAuthenticationService to use
      Returns:
      BasicAuthenticationService the BasicAuthenticationService
    • setAuthenticationService

      public void setAuthenticationService(BasicAuthenticationService authenticationService)
      Sets the authenticationService
      Parameters:
      authenticationService - the BasicAthenticationService to set
    • getServiceNameSpaceURI

      public String getServiceNameSpaceURI()
      Gets the serviceNameSpaceURI
      Returns:
      String serviceNameSpaceURI of this BasicAuthenticationCredentials
    • setServiceNameSpaceURI

      public void setServiceNameSpaceURI(String serviceNameSpaceURI)
      Sets the serviceNameSpaceURI
      Parameters:
      serviceNameSpaceURI - the serviceNameSpaceURI to set
    • getLocalServiceName

      public String getLocalServiceName()
      Gets the localServiceName
      Returns:
      String localServiceName of this BasicAuthenticationCredentials
    • setLocalServiceName

      public void setLocalServiceName(String localServiceName)
      Sets the localServiceName
      Parameters:
      localServiceName - the localServiceName to set
    • getUsername

      public String getUsername()
      Gets the username
      Returns:
      username the username of this BasicAuthenticationCredentials
    • setUsername

      public void setUsername(String username)
      Sets the username
      Parameters:
      username - the username to set
    • getPassword

      public String getPassword()
      Gets the password
      Returns:
      password the password of this BasicAuthenticationCredentials
    • setPassword

      public void setPassword(String password)
      Sets the password
      Parameters:
      password - the password to set
    • validate

      protected boolean validate()
      Validates authenticationService, serviceNameSpaceURI, localServiceName, username, and password
      Returns:
      true if the authentictionSerivce is not null and the serviceNameSpaceURI, localServiceName, username, and password are not blank