Results 1 to 2 of 2

Thread: Authentication Service using AuthenticationManager

  1. #1
    Join Date
    Jun 2009
    Location
    Bahia Blanca, Buenos Aires, Argentina
    Posts
    63

    Default Authentication Service using AuthenticationManager

    Hi!
    I have been reading a lot of code just to understand the inner workings of acegi and use it in the best way possible.
    I'm using Services exported through DWR, and wanted to authenticate the user from my Javascript UI (not from a plain HTML page or via BASIC HTTP Authentication).
    I have seen other implementations that extend AuthenticationProcessingFilter, but it seems to be tied to a Web Context.
    Also i haven't seen any implementation using AuthenticationManager conected via Spring, which it seems a more general aproach.

    I was thinking in something like:
    Code:
    import org.acegisecurity.AuthenticationManager;
    
    public class AuthenticationService {
    
    AuthenticationManager am;
    // am setter and getter
    
      public org.acegi.Authentication authenticate(Authentication authenticate) {
       return am.authenticate(authenticate);
     }
    
    }
    Or i just simply export AuthenticationManager or ProviderManager with DWR?

    thanks!!

  2. #2
    Join Date
    Jun 2009
    Location
    Bahia Blanca, Buenos Aires, Argentina
    Posts
    63

    Default

    This thread is being discussed here: http://forum.springsource.org/showthread.php?t=72916

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •