Project: stp

com.ibm.rational.wvcm.stp
Interface StpProvider.NotifyAuthenticatedOption

Enclosing interface:
StpProvider

public static interface StpProvider.NotifyAuthenticatedOption

If the Callback object provided to an StpProvider implements this interface, the callback will be notified when an Authentication object returned by the Callback's getAuthentication() method is successfully verified to be valid.


Method Summary
 void notifyAuthenticated(StpProvider.Domain domain, String realm, StpProvider provider, ProviderFactory.Callback.Authentication authentication)
          Notifies the Callback object that an authentication object that it previously returned has been found to be valid for the specified domain, realm, and provider.
 

Method Detail

notifyAuthenticated

void notifyAuthenticated(StpProvider.Domain domain,
                         String realm,
                         StpProvider provider,
                         ProviderFactory.Callback.Authentication authentication)
Notifies the Callback object that an authentication object that it previously returned has been found to be valid for the specified domain, realm, and provider. If the provided credentials were not valid, the Callback's getAuthentication method will be called another time for a new set of credentials.

Parameters:
domain - The Domain that had requested credentials.
realm - an identifier for the authentication realm that had requested credentials.
provider - The StpProvider instance that had requested authentication.
authentication - The credentials that were returned by the Callback and were accepted by the provider for the given domain and realm.

Generated Fri 14-Oct-2011 03:44 PM

Copyright © IBM 2011. All rights reserved.