com.ibm.portal.auth
Interface DecisionMaker


public interface DecisionMaker

Decides if a certain action should be performed or not NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme. The API can not be invoked directly by a custom servlet.

Since:
7.0.0.2
Note:
This interface is designed to be implemented by clients.

Method Summary
 void init(SecurityFilterConfig conf)
          Initializes the object
 boolean process(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Provides the answer of the decision
 

Method Detail

process

boolean process(javax.servlet.http.HttpServletRequest req,
                javax.servlet.http.HttpServletResponse resp)
Provides the answer of the decision

Parameters:
req -
Returns:
true if the action should be performed false if not

init

void init(SecurityFilterConfig conf)
Initializes the object

Parameters:
conf -