org.apache.shindig.auth
Class AuthenticationHandler.InvalidAuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.shindig.auth.AuthenticationHandler.InvalidAuthenticationException
- All Implemented Interfaces:
- Serializable
- Enclosing interface:
- AuthenticationHandler
public static final class AuthenticationHandler.InvalidAuthenticationException
- extends Exception
An exception thrown by an AuthenticationHandler in the situation where
a malformed credential or token is passed. A handler which throws this exception
is required to include the appropriate error state in the servlet response
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AuthenticationHandler.InvalidAuthenticationException
public AuthenticationHandler.InvalidAuthenticationException(String message,
Throwable cause)
- Parameters:
message - Message to output in error responsecause - Underlying exception
AuthenticationHandler.InvalidAuthenticationException
public AuthenticationHandler.InvalidAuthenticationException(String message,
Throwable cause,
Map<String,String> additionalHeaders,
String redirect)
- Parameters:
message - Message to output in error responsecause - Underlying exceptionadditionalHeaders - Headers to add to error responseredirect - URL to redirect to on error
getAdditionalHeaders
public Map<String,String> getAdditionalHeaders()
getRedirect
public String getRedirect()
Copyright © 2007-2012. All Rights Reserved.