org.acegisecurity.securechannel
Interface ChannelEntryPoint

All Known Implementing Classes:
CaptchaEntryPoint, RetryWithHttpEntryPoint, RetryWithHttpsEntryPoint

public interface ChannelEntryPoint

May be used by a ChannelProcessor to launch a web channel.

ChannelProcessors can elect to launch a new web channel directly, or they can delegate to another class. The ChannelEntryPoint is a pluggable interface to assist ChannelProcessors in performing this delegation.

Version:
$Id: ChannelEntryPoint.java 1784 2007-02-24 21:00:24Z luke_t $
Author:
Ben Alex

Method Summary
 void commence(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
          Commences a secure channel.
 

Method Detail

commence

void commence(javax.servlet.ServletRequest request,
              javax.servlet.ServletResponse response)
              throws IOException,
                     javax.servlet.ServletException
Commences a secure channel.

Implementations should modify the headers on the ServletResponse as necessary to commence the user agent using the implementation's supported channel type.

Parameters:
request - that a ChannelProcessor has rejected
response - so that the user agent can begin using a new channel
Throws:
IOException - DOCUMENT ME!
javax.servlet.ServletException - DOCUMENT ME!


Copyright © 2004-2010 Interface21, Inc. All Rights Reserved.