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 AccessDeniedException if the user is not properly authenticated. As of portal version 5.0.4, the following subclasses of ServiceException should be used instead of AccessDeniedException:

Parameters:
username - the name of the user to authenticate
password - the user's password
authInfo - an AuthInfo object containing information about this authentication source; can be null. Note: 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 Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.