com.plumtree.remote.auth
Interface IAuthProvider


public interface IAuthProvider

An interface that provides on-demand authentication against a remote system.


Method Summary
 void authenticate(java.lang.String username, java.lang.String password, AuthInfo authInfo)
          Authenticates the user into the portal.
 

Method Detail

authenticate

public void authenticate(java.lang.String username,
                         java.lang.String password,
                         AuthInfo authInfo)
                  throws AccessDeniedException,
                         ServiceException
Authenticates the user into the portal. Throws an AccessDeniedException if the user is not properly authenticated. As of release 5.0.4, the following subclasses of ServiceException should be used instead of AccessDeniedException:

Parameters:
username - the user to authenticate
password - the user's password
authInfo - an AuthInfo object containing information about this authentication source; can be null. Note that the names in the NamedValues in authInfo will be uppercase. authInfo is populated from SCI pages associated with the Web Service.
Throws:
AccessDeniedException - if the user was not successfully authenticated
ServiceException - if an error occurred
See Also:
AuthInfo, PasswordMustChangeException, PasswordExpiredException, InvalidUsernameOrPasswordException, InvalidConfigurationException, GeneralFailureException, RemoteServerUnreachableException, RemoteServerUnavailableException, AccountLockedException, AccountExpiredException


For additional information on the IDK, including tutorials, blogs, code samples and more,see the AquaLogic User Interaction Developer Center on BEA dev2dev.

Copyright ©2007 BEA Systems, Inc. All Rights Reserved.