CWTRPC
0.9.0

de.itsvs.cwtrpc.security
Class AbstractRpcAuthenticationFailureHandler

java.lang.Object
  extended by de.itsvs.cwtrpc.security.AbstractRpcFailureHandler
      extended by de.itsvs.cwtrpc.security.AbstractRpcAuthenticationFailureHandler
All Implemented Interfaces:
InitializingBean, AuthenticationFailureHandler, ServletContextAware
Direct Known Subclasses:
DefaultRpcAuthenticationFailureHandler, SimpleRpcAuthenticationFailureHandler

public abstract class AbstractRpcAuthenticationFailureHandler
extends AbstractRpcFailureHandler
implements AuthenticationFailureHandler

Since:
0.9
Author:
Volker Schmidt

Constructor Summary
AbstractRpcAuthenticationFailureHandler()
           
 
Method Summary
abstract  Exception lookupRemoteExceptionFor(HttpServletRequest request, AuthenticationException exception)
           
 void onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception)
           
 
Methods inherited from class de.itsvs.cwtrpc.security.AbstractRpcFailureHandler
addNoCacheResponseHeaders, afterPropertiesSet, getServletContext, invalidateSession, setServletContext, writeExpectedException, writeUnexpectedException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRpcAuthenticationFailureHandler

public AbstractRpcAuthenticationFailureHandler()
Method Detail

lookupRemoteExceptionFor

public abstract Exception lookupRemoteExceptionFor(HttpServletRequest request,
                                                   AuthenticationException exception)

onAuthenticationFailure

public void onAuthenticationFailure(HttpServletRequest request,
                                    HttpServletResponse response,
                                    AuthenticationException exception)
                             throws IOException,
                                    ServletException
Specified by:
onAuthenticationFailure in interface AuthenticationFailureHandler
Throws:
IOException
ServletException

Controlled
Web Toolkit RPC

Copyright 2011 IT Services VS GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.