de.itsvs.cwtrpc.security
Class SimpleRpcAuthenticationFailureHandler
java.lang.Object
de.itsvs.cwtrpc.security.AbstractRpcFailureHandler
de.itsvs.cwtrpc.security.AbstractRpcAuthenticationFailureHandler
de.itsvs.cwtrpc.security.SimpleRpcAuthenticationFailureHandler
- All Implemented Interfaces:
- InitializingBean, AuthenticationFailureHandler, ServletContextAware
public class SimpleRpcAuthenticationFailureHandler
- extends AbstractRpcAuthenticationFailureHandler
- Since:
- 0.9
- Author:
- Volker Schmidt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRpcAuthenticationFailureHandler
public SimpleRpcAuthenticationFailureHandler()
isIncludeExceptionMessage
public boolean isIncludeExceptionMessage()
setIncludeExceptionMessage
public void setIncludeExceptionMessage(boolean includeExceptionMessage)
getDefaultExceptionClass
public Class<? extends Exception> getDefaultExceptionClass()
setDefaultExceptionClass
public void setDefaultExceptionClass(Class<? extends Exception> defaultExceptionClass)
getExceptionClassMappings
public Map<Class<? extends AuthenticationException>,Class<? extends Exception>> getExceptionClassMappings()
setExceptionClassMappings
public void setExceptionClassMappings(Map<Class<? extends AuthenticationException>,Class<? extends Exception>> exceptionClassMappings)
createDefaultExceptionClassMappings
protected Map<Class<? extends AuthenticationException>,Class<? extends Exception>> createDefaultExceptionClassMappings()
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet in interface InitializingBean- Overrides:
afterPropertiesSet in class AbstractRpcFailureHandler
lookupRemoteExceptionFor
public Exception lookupRemoteExceptionFor(HttpServletRequest request,
AuthenticationException exception)
- Specified by:
lookupRemoteExceptionFor in class AbstractRpcAuthenticationFailureHandler
createRemoteException
protected Exception createRemoteException(HttpServletRequest request,
AuthenticationException exception,
Class<? extends Exception> remoteExceptionClass)
getMessageConstructor
protected <T extends Exception> Constructor<T> getMessageConstructor(Class<T> exception)
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.