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