Interface IWebAppSecurityCollaborator
public interface IWebAppSecurityCollaborator
-
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) voidhandleException(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, Throwable wse) booleanbooleanisUserInRole(String role, IExtendedRequest req) voidlogin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String username, String password) voidlogout(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) voidpostInvoke(Object secObject) voidpostInvokeForSecureResponse(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.SecurityViolationExceptionIOException
-
authenticate
boolean authenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Throws:
javax.servlet.ServletExceptionIOException
-
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.SecurityViolationExceptionIOException
-
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.ServletExceptionIOException
-
getUserPrincipal
Principal getUserPrincipal() -
isCDINeeded
boolean isCDINeeded() -
isUserInRole
-
getFormLoginExtensionProcessor
-
getFormLogoutExtensionProcessor
-
getURIsInSecurityConstraints
-