use of edu.uiuc.ncsa.security.core.util.BasicIdentifier in project OA4MP by ncsa.
the class ClientEnvironment method getClient.
/**
* A {@link Client} object representing the instance of this service.
* @return
*/
public Client getClient() {
if (client == null) {
client = cp.get();
client.setIdentifier(new BasicIdentifier(getClientId()));
client.setSecret(getPrivKeyString());
}
return client;
}
Aggregations