jp.terasoluna.fw.web.thin
Interface AuthenticationController


public interface AuthenticationController

Interface that performs logon check in Filter.

The class that implements this interface provides the logon check function.

Implementation class of this interface should be thread-safe.

*For the configuration method of implementation class of this interface, refer to AuthenticationControlFilter.

See Also:
AuthenticationControlFilter, AuthorizationControlFilter, AuthorizationController, BlockageControlFilter, BlockageController, ServerBlockageControlFilter, ServerBlockageController

Method Summary
 boolean isAuthenticated(java.lang.String pathInfo, javax.servlet.ServletRequest req)
          Checks if the HTTP session which is specified for the path information of request is authenticated.
 boolean isCheckRequired(javax.servlet.ServletRequest req)
          Checks if logon check is required.
 

Method Detail

isAuthenticated

boolean isAuthenticated(java.lang.String pathInfo,
                        javax.servlet.ServletRequest req)
Checks if the HTTP session which is specified for the path information of request is authenticated.

Parameters:
pathInfo - Path information
req - HTTP request
Returns:
It is true when authentication is successful

isCheckRequired

boolean isCheckRequired(javax.servlet.ServletRequest req)
Checks if the logon check is required.

Parameters:
req - ServletRequest instance to be checked
Returns:
It is true if check is required