com.ibm.rational.stp.client.samples
Class Example.MyAuthCallback
Object
com.ibm.rational.stp.client.samples.Example.MyAuthCallback
- All Implemented Interfaces:
- javax.wvcm.ProviderFactory.Callback
- Enclosing class:
- Example
private static class Example.MyAuthCallback
- extends Object
- implements javax.wvcm.ProviderFactory.Callback
CM API Authentication callback. This callback is invoked when the
ClearCase CM API provider logs in to the CM Server.
Nested classes/interfaces inherited from interface javax.wvcm.ProviderFactory.Callback |
javax.wvcm.ProviderFactory.Callback.Authentication |
Constructor Summary |
Example.MyAuthCallback(String serverUrl,
String login,
String password)
Construct a new authentication callback with the correct credentials
for the specified CM server. |
Method Summary |
javax.wvcm.ProviderFactory.Callback.Authentication |
getAuthentication(String realm,
int retries)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverUrl
private final String serverUrl
login
private final String login
password
private final String password
Example.MyAuthCallback
public Example.MyAuthCallback(String serverUrl,
String login,
String password)
- Construct a new authentication callback with the correct credentials
for the specified CM server.
getAuthentication
public javax.wvcm.ProviderFactory.Callback.Authentication getAuthentication(String realm,
int retries)
- Specified by:
getAuthentication
in interface javax.wvcm.ProviderFactory.Callback
Copyright © IBM 2008. All rights reserved.