org.codehaus.enunciate.service
Interface SecurityExceptionChecker

All Known Implementing Classes:
DefaultSecurityExceptionChecker

public interface SecurityExceptionChecker

Author:
Ryan Heaton

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.
 

Method Detail

isAuthenticationFailed

boolean isAuthenticationFailed(java.lang.Throwable throwable)
Whether the given throwable is an authentication failed exception.

Parameters:
throwable - The throwable to check.
Returns:
Whether the given throwable is an authentication failed exception.

isAccessDenied

boolean isAccessDenied(java.lang.Throwable throwable)
Whether the given throwable is an access denied exception.

Parameters:
throwable - The throwable to check.
Returns:
Whether the given throwable is an access denied exception.