hudson.security
Class AuthenticationManagerProxy

java.lang.Object
  extended by hudson.security.AuthenticationManagerProxy
All Implemented Interfaces:
org.acegisecurity.AuthenticationManager

public class AuthenticationManagerProxy
extends Object
implements org.acegisecurity.AuthenticationManager

AuthenticationManager proxy that delegates to another instance.

This is used so that we can set up servlet filters first (which requires a reference to AuthenticationManager), then later change the actual authentication manager (and its set up) at runtime.

Author:
Kohsuke Kawaguchi

Constructor Summary
AuthenticationManagerProxy()
           
 
Method Summary
 org.acegisecurity.Authentication authenticate(org.acegisecurity.Authentication authentication)
           
 void setDelegate(org.acegisecurity.AuthenticationManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationManagerProxy

public AuthenticationManagerProxy()
Method Detail

authenticate

public org.acegisecurity.Authentication authenticate(org.acegisecurity.Authentication authentication)
                                              throws org.acegisecurity.AuthenticationException
Specified by:
authenticate in interface org.acegisecurity.AuthenticationManager
Throws:
org.acegisecurity.AuthenticationException

setDelegate

public void setDelegate(org.acegisecurity.AuthenticationManager manager)


Copyright © 2004-2013. All Rights Reserved.