Client-side object which queries a
RemoteAuthenticationManager to validate an authentication request. A
new Authentication object is created by this class comprising the request Authentication
object's principal , credentials and the GrantedAuthority []s returned by the
RemoteAuthenticationManager .
The RemoteAuthenticationManager should not require any special username or password setting on
the remoting client proxy factory to execute the call. Instead the entire authentication request must be
encapsulated solely within the Authentication request object. In practical terms this means the
RemoteAuthenticationManager will not be protected by BASIC or any other HTTP-level
authentication.
If authentication fails, a RemoteAuthenticationException will be thrown. This exception should
be caught and displayed to the user, enabling them to retry with alternative credentials etc.
author: Ben Alex version: $Id: RemoteAuthenticationProvider.java 1948 2007-08-25 00:15:30Z benalex $ |