de.itsvs.cwtrpc.security
Class AbstractRpcFailureHandler
java.lang.Object
de.itsvs.cwtrpc.security.AbstractRpcFailureHandler
- All Implemented Interfaces:
- InitializingBean, ServletContextAware
- Direct Known Subclasses:
- AbstractRpcAuthenticationFailureHandler, DefaultRpcLogoutFailureHandler
public abstract class AbstractRpcFailureHandler
- extends Object
- implements ServletContextAware, InitializingBean
- Since:
- 0.9
- Author:
- Volker Schmidt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRpcFailureHandler
public AbstractRpcFailureHandler()
getServletContext
public ServletContext getServletContext()
setServletContext
public void setServletContext(ServletContext servletContext)
- Specified by:
setServletContext in interface ServletContextAware
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface InitializingBean
writeUnexpectedException
protected void writeUnexpectedException(HttpServletRequest request,
HttpServletResponse response,
Throwable exception)
throws IOException
- Throws:
IOException
writeExpectedException
protected void writeExpectedException(HttpServletRequest request,
HttpServletResponse response,
Exception remoteException)
throws IOException
- Throws:
IOException
invalidateSession
protected void invalidateSession(HttpServletRequest request)
addNoCacheResponseHeaders
protected void addNoCacheResponseHeaders(HttpServletRequest request,
HttpServletResponse response)
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
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.