org.norther.tammi.spray.engine
Class AuthorizationExceptionFilter
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.norther.tammi.core.base.LogException
org.norther.tammi.spray.filter.DefaultExceptionFilter
org.norther.tammi.spray.engine.DefaultTemplateExceptionFilter
org.norther.tammi.spray.engine.AuthorizationExceptionFilter
- All Implemented Interfaces:
- Serializable, Filter, Manageable, TemplateExceptionFilter, ExceptionFilter, TerminationFilter
public class AuthorizationExceptionFilter
- extends DefaultTemplateExceptionFilter
An exception for authorization errors.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
AuthorizationExceptionFilter
public AuthorizationExceptionFilter()
- Constructs a new exception.
AuthorizationExceptionFilter
public AuthorizationExceptionFilter(String auth)
- Constructs a new exception with authentication.
- Parameters:
auth - the authentication.
AuthorizationExceptionFilter
public AuthorizationExceptionFilter(String template,
String auth)
- Constructs a new exception with a template and authentication.
- Parameters:
template - the actual template.auth - the authentication.
prepareCommit
protected void prepareCommit(ServletRequest request,
ServletResponse response,
FilterChain chain)
- Description copied from class:
DefaultExceptionFilter
- A callback for subclasses to modify the response before committing.
- Overrides:
prepareCommit in class DefaultExceptionFilter
- Parameters:
request - the request.response - the response.chain - the filter chain.
Copyright © 2004 The Norther Organization. All rights reserved.