Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.providers.rcp
Interface RemoteAuthenticationManager  view RemoteAuthenticationManager download RemoteAuthenticationManager.java

All Known Implementing Classes:
RemoteAuthenticationManagerImpl

public interface RemoteAuthenticationManager

Allows remote clients to attempt authentication.

Version:
$Id: RemoteAuthenticationManager.java,v 1.2 2005/11/17 00:55:51 benalex Exp $

Method Summary
 GrantedAuthority[] attemptAuthentication(java.lang.String username, java.lang.String password)
          Attempts to authenticate the remote client using the presented username and password.
 

Method Detail

attemptAuthentication

public GrantedAuthority[] attemptAuthentication(java.lang.String username,
                                                java.lang.String password)
                                         throws RemoteAuthenticationException
Attempts to authenticate the remote client using the presented username and password. If authentication is successful, an array of GrantedAuthority[] objects will be returned.

In order to maximise remoting protocol compatibility, a design decision was taken to operate with minimal arguments and return only the minimal amount information required for remote clients to enable/disable relevant user interface commands etc. There is nothing preventing users from implementing their own equivalent package that works with more complex object types.