org.codehaus.enunciate.service
Class DefaultSecurityExceptionChecker

java.lang.Object
  extended by org.codehaus.enunciate.service.DefaultSecurityExceptionChecker
All Implemented Interfaces:
SecurityExceptionChecker

public class DefaultSecurityExceptionChecker
extends java.lang.Object
implements SecurityExceptionChecker

Default security exception checker.

Author:
Ryan Heaton

Constructor Summary
DefaultSecurityExceptionChecker()
           
 
Method Summary
 boolean isAccessDenied(java.lang.Throwable throwable)
          Whether the given throwable is an access denied exception.
 boolean isAuthenticationFailed(java.lang.Throwable throwable)
          Whether the given throwable is an authentication failed exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSecurityExceptionChecker

public DefaultSecurityExceptionChecker()
Method Detail

isAuthenticationFailed

public boolean isAuthenticationFailed(java.lang.Throwable throwable)
Description copied from interface: SecurityExceptionChecker
Whether the given throwable is an authentication failed exception.

Specified by:
isAuthenticationFailed in interface SecurityExceptionChecker
Parameters:
throwable - The throwable to check.
Returns:
Whether the given throwable is an authentication failed exception.

isAccessDenied

public boolean isAccessDenied(java.lang.Throwable throwable)
Description copied from interface: SecurityExceptionChecker
Whether the given throwable is an access denied exception.

Specified by:
isAccessDenied in interface SecurityExceptionChecker
Parameters:
throwable - The throwable to check.
Returns:
Whether the given throwable is an access denied exception.