Interface IWebAppSecurityCollaborator
public interface IWebAppSecurityCollaborator
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) void
handleException
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, Throwable wse) boolean
boolean
isUserInRole
(String role, IExtendedRequest req) void
login
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String username, String password) void
logout
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) void
postInvoke
(Object secObject) void
postInvokeForSecureResponse
(Object secObject) preInvoke
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String servletName, boolean enforceSecurity)
-
Method Details
-
preInvoke
Object preInvoke(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String servletName, boolean enforceSecurity) throws com.ibm.wsspi.webcontainer.security.SecurityViolationException, IOException - Throws:
com.ibm.wsspi.webcontainer.security.SecurityViolationException
IOException
-
authenticate
boolean authenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Throws:
javax.servlet.ServletException
IOException
-
login
void login(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String username, String password) throws javax.servlet.ServletException - Throws:
javax.servlet.ServletException
-
logout
void logout(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException - Throws:
javax.servlet.ServletException
-
preInvoke
Object preInvoke(String servletName) throws com.ibm.wsspi.webcontainer.security.SecurityViolationException, IOException - Throws:
com.ibm.wsspi.webcontainer.security.SecurityViolationException
IOException
-
preInvoke
- Throws:
com.ibm.wsspi.webcontainer.security.SecurityViolationException
-
postInvoke
- Throws:
javax.servlet.ServletException
-
postInvokeForSecureResponse
- Throws:
javax.servlet.ServletException
-
handleException
void handleException(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, Throwable wse) throws javax.servlet.ServletException, IOException - Throws:
javax.servlet.ServletException
IOException
-
getUserPrincipal
Principal getUserPrincipal() -
isCDINeeded
boolean isCDINeeded() -
isUserInRole
-
getFormLoginExtensionProcessor
-
getFormLogoutExtensionProcessor
-
getURIsInSecurityConstraints
-