jp.terasoluna.fw.web.thin
Class UnauthenticatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.ServletException
              extended by jp.terasoluna.fw.web.thin.UnauthenticatedException
All Implemented Interfaces:
java.io.Serializable

public class UnauthenticatedException
extends javax.servlet.ServletException

Authentication exception class.

This class notifies that the framework has detected a request for the path to which user does not have access authority. AuthenticationControlFilter generates this exception and error page is displayed through container. For the exception related details, refer to AuthenticationControlFilter.

Description example
Provide the following description in deployment descriptor (web.xml).
 <web-app>
   ...
   <error-page>
     <exception-type>
       jp.terasoluna.fw.web.thin.UnauthenticatedException
     </exception-type>
     <location>/error/authenticated-error.do</location>
   </error-page>
   ...
 </web-app>
 

See Also:
AuthenticationControlFilter, AuthenticationController, Serialized Form

Field Summary
private static long serialVersionUID
          Serial version ID
 
Constructor Summary
UnauthenticatedException()
           
 
Method Summary
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version ID

See Also:
Constant Field Values
Constructor Detail

UnauthenticatedException

public UnauthenticatedException()