|
Project: stp | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ProviderFactory.Callback
Provides callback functions that can be invoked by a provider.
Nested Class Summary | |
---|---|
static interface |
ProviderFactory.Callback.Authentication
Authentication information for the current user. |
Method Summary | |
---|---|
ProviderFactory.Callback.Authentication |
getAuthentication(String realm,
int retryCount)
Get authentication information for the current user. |
Method Detail |
---|
ProviderFactory.Callback.Authentication getAuthentication(String realm, int retryCount) throws WvcmException
The provider calls Callback.getAuthentication, and the client returns an object that implements the Authentication interface. The provider will then call the Authentication interface methods on that object to obtain authentication information for the current user.
realm
- an identifier for the authentication realm that is requesting credentials.
A single provider instance can access resources in different authentication realms,
so the user must be provided with the name of the authentication realm in order to
determine what credentials to provide.retryCount
- the number of times the provider has unsuccessfully
attempted to get authentication for this operation.
This parameter helps the client decide when to provide a more detailed authentication
dialog, or potentially abort the operation rather than making additional attempts
to get credentials from the user.
WvcmException
- if the user aborted the authentication request.
|
Generated Sat 15-Jan-2011 04:14 AM | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |