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

Quick Search    Search Deep

org.acegisecurity.intercept.web
Interface AuthenticationEntryPoint  view AuthenticationEntryPoint download AuthenticationEntryPoint.java


public interface AuthenticationEntryPoint

Used by SecurityEnforcementFilter to commence an authentication scheme.

Version:
$Id: AuthenticationEntryPoint.java,v 1.4 2005/11/17 00:55:50 benalex Exp $

Method Summary
 void commence(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, org.acegisecurity.AuthenticationException authException)
          Commences an authentication scheme.
 

Method Detail

commence

public void commence(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     org.acegisecurity.AuthenticationException authException)
              throws java.io.IOException,
                     javax.servlet.ServletException
Commences an authentication scheme.

SecurityEnforcementFilter will populate the HttpSession attribute named AuthenticationProcessingFilter.ACEGI_SECURITY_TARGET_URL_KEY with the requested target URL before calling this method.

Implementations should modify the headers on the ServletResponse as necessary to commence the authentication process.