org.kuali.rice.ksb.service.impl
Class BasicAuthenticationServiceImpl

java.lang.Object
  extended by org.kuali.rice.ksb.service.impl.BasicAuthenticationServiceImpl
All Implemented Interfaces:
BasicAuthenticationService

public class BasicAuthenticationServiceImpl
extends Object
implements BasicAuthenticationService

Implements the BasicAuthenticationService

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
BasicAuthenticationService

Constructor Summary
BasicAuthenticationServiceImpl()
          Constructs BasicAuthenticationServiceImpl with a serviceCredentialsMap and a connectionCredentialsMap
 
Method Summary
 boolean checkServiceAuthentication(String serviceNameSpaceURI, QName serviceName, String username, String password)
          Validates service authentication for the given serviceNameSpaceURI, serviceName, username and password
 BasicAuthenticationConnectionCredentials getConnectionCredentials(String serviceNameSpaceURI, String serviceName)
          Gets the connection credentials for the given serviceNameSpaceURI and serviceName
 void registerConnectionCredentials(BasicAuthenticationConnectionCredentials credentials)
          Registers the connection credentials of the service
 void registerServiceCredentials(BasicAuthenticationCredentials credentials)
          Registers the service credentials of the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthenticationServiceImpl

public BasicAuthenticationServiceImpl()
Constructs BasicAuthenticationServiceImpl with a serviceCredentialsMap and a connectionCredentialsMap

Method Detail

checkServiceAuthentication

public boolean checkServiceAuthentication(String serviceNameSpaceURI,
                                          QName serviceName,
                                          String username,
                                          String password)
Description copied from interface: BasicAuthenticationService
Validates service authentication for the given serviceNameSpaceURI, serviceName, username and password

Specified by:
checkServiceAuthentication in interface BasicAuthenticationService
Parameters:
serviceNameSpaceURI - the serviceNameSpaceURI of the service
serviceName - the serviceName of the service
username - the username for the service
password - the password for the service
Returns:
true if the service can be authenticated

getConnectionCredentials

public BasicAuthenticationConnectionCredentials getConnectionCredentials(String serviceNameSpaceURI,
                                                                         String serviceName)
Description copied from interface: BasicAuthenticationService
Gets the connection credentials for the given serviceNameSpaceURI and serviceName

Specified by:
getConnectionCredentials in interface BasicAuthenticationService
Parameters:
serviceNameSpaceURI - the serviceNameSpaceURI of the service
serviceName - the serviceName of the service
Returns:
the BasicAuthenticationConnectionCredentials for the given serviceNameSpaceURI and serviceName

registerServiceCredentials

public void registerServiceCredentials(BasicAuthenticationCredentials credentials)
Description copied from interface: BasicAuthenticationService
Registers the service credentials of the service

Specified by:
registerServiceCredentials in interface BasicAuthenticationService
Parameters:
credentials - the credentials for the service

registerConnectionCredentials

public void registerConnectionCredentials(BasicAuthenticationConnectionCredentials credentials)
Description copied from interface: BasicAuthenticationService
Registers the connection credentials of the service

Specified by:
registerConnectionCredentials in interface BasicAuthenticationService
Parameters:
credentials - the credentials for the service


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.