public interface IWebAppSecurityCollaborator
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
ExtensionProcessor |
getFormLoginExtensionProcessor(IServletContext webapp) |
ExtensionProcessor |
getFormLogoutExtensionProcessor(IServletContext webapp) |
java.util.List<java.lang.String> |
getURIsInSecurityConstraints(java.lang.String appName,
java.lang.String contextRoot,
java.lang.String vHost,
java.util.List<java.lang.String> URIs) |
java.security.Principal |
getUserPrincipal() |
void |
handleException(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp,
java.lang.Throwable wse) |
boolean |
isCDINeeded() |
boolean |
isUserInRole(java.lang.String role,
IExtendedRequest req) |
void |
login(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String username,
java.lang.String password) |
void |
logout(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
postInvoke(java.lang.Object secObject) |
void |
postInvokeForSecureResponse(java.lang.Object secObject) |
java.lang.Object |
preInvoke() |
java.lang.Object |
preInvoke(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String servletName,
boolean enforceSecurity) |
java.lang.Object |
preInvoke(java.lang.String servletName) |
java.lang.Object preInvoke(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String servletName, boolean enforceSecurity) throws com.ibm.wsspi.webcontainer.security.SecurityViolationException, java.io.IOException
com.ibm.wsspi.webcontainer.security.SecurityViolationException
java.io.IOException
boolean authenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
void login(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String username, java.lang.String password) throws javax.servlet.ServletException
javax.servlet.ServletException
void logout(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException
javax.servlet.ServletException
java.lang.Object preInvoke(java.lang.String servletName) throws com.ibm.wsspi.webcontainer.security.SecurityViolationException, java.io.IOException
com.ibm.wsspi.webcontainer.security.SecurityViolationException
java.io.IOException
java.lang.Object preInvoke() throws com.ibm.wsspi.webcontainer.security.SecurityViolationException
com.ibm.wsspi.webcontainer.security.SecurityViolationException
void postInvoke(java.lang.Object secObject) throws javax.servlet.ServletException
javax.servlet.ServletException
void postInvokeForSecureResponse(java.lang.Object secObject) throws javax.servlet.ServletException
javax.servlet.ServletException
void handleException(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, java.lang.Throwable wse) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
java.security.Principal getUserPrincipal()
boolean isCDINeeded()
boolean isUserInRole(java.lang.String role, IExtendedRequest req)
ExtensionProcessor getFormLoginExtensionProcessor(IServletContext webapp)
ExtensionProcessor getFormLogoutExtensionProcessor(IServletContext webapp)
java.util.List<java.lang.String> getURIsInSecurityConstraints(java.lang.String appName, java.lang.String contextRoot, java.lang.String vHost, java.util.List<java.lang.String> URIs)