public class BasicAuthenticationServiceImpl extends Object implements BasicAuthenticationService
BasicAuthenticationService| Constructor and Description |
|---|
BasicAuthenticationServiceImpl()
Constructs BasicAuthenticationServiceImpl with a serviceCredentialsMap and a connectionCredentialsMap
|
| Modifier and Type | Method and Description |
|---|---|
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
|
String |
getPasswordForService(String serviceNameSpaceURI,
QName serviceName,
String username)
Gets the password for the given serviceNameSpaceURI, serviceName, username
|
void |
registerConnectionCredentials(BasicAuthenticationConnectionCredentials credentials)
Registers the connection credentials of the service
|
void |
registerServiceCredentials(BasicAuthenticationCredentials credentials)
Registers the service credentials of the service
|
public BasicAuthenticationServiceImpl()
public boolean checkServiceAuthentication(String serviceNameSpaceURI, QName serviceName, String username, String password)
BasicAuthenticationServicecheckServiceAuthentication in interface BasicAuthenticationServiceserviceNameSpaceURI - the serviceNameSpaceURI of the serviceserviceName - the serviceName of the serviceusername - the username for the servicepassword - the password for the servicepublic String getPasswordForService(String serviceNameSpaceURI, QName serviceName, String username)
BasicAuthenticationServicegetPasswordForService in interface BasicAuthenticationServiceserviceNameSpaceURI - the serviceNameSpaceURI of the serviceserviceName - the serviceName of the serviceusername - the username for the servicepublic BasicAuthenticationConnectionCredentials getConnectionCredentials(String serviceNameSpaceURI, String serviceName)
BasicAuthenticationServicegetConnectionCredentials in interface BasicAuthenticationServiceserviceNameSpaceURI - the serviceNameSpaceURI of the serviceserviceName - the serviceName of the servicepublic void registerServiceCredentials(BasicAuthenticationCredentials credentials)
BasicAuthenticationServiceregisterServiceCredentials in interface BasicAuthenticationServicecredentials - the credentials for the servicepublic void registerConnectionCredentials(BasicAuthenticationConnectionCredentials credentials)
BasicAuthenticationServiceregisterConnectionCredentials in interface BasicAuthenticationServicecredentials - the credentials for the serviceCopyright © 2005–2015 The Kuali Foundation. All rights reserved.