jp.terasoluna.fw.web.thin
Interface AuthorizationController


public interface AuthorizationController

Interface that performs the access authority check in Filter.

Class that implements this interface provides the access authority check function.

The implementation class of this interface should be thread safe.

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

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

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

Method Detail

isAuthorized

boolean isAuthorized(java.lang.String pathInfo,
                     javax.servlet.ServletRequest req)
Performs the authority check of the HTTP session which is specified for the path information of request.

Parameters:
pathInfo - Path information
req - HTTP request
Returns:
It is true if the authority check 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 the check is required