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)
BasicAuthenticationService
checkServiceAuthentication
in interface BasicAuthenticationService
serviceNameSpaceURI
- 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)
BasicAuthenticationService
getPasswordForService
in interface BasicAuthenticationService
serviceNameSpaceURI
- the serviceNameSpaceURI of the serviceserviceName
- the serviceName of the serviceusername
- the username for the servicepublic BasicAuthenticationConnectionCredentials getConnectionCredentials(String serviceNameSpaceURI, String serviceName)
BasicAuthenticationService
getConnectionCredentials
in interface BasicAuthenticationService
serviceNameSpaceURI
- the serviceNameSpaceURI of the serviceserviceName
- the serviceName of the servicepublic void registerServiceCredentials(BasicAuthenticationCredentials credentials)
BasicAuthenticationService
registerServiceCredentials
in interface BasicAuthenticationService
credentials
- the credentials for the servicepublic void registerConnectionCredentials(BasicAuthenticationConnectionCredentials credentials)
BasicAuthenticationService
registerConnectionCredentials
in interface BasicAuthenticationService
credentials
- the credentials for the serviceCopyright © 2005–2015 The Kuali Foundation. All rights reserved.