Interface IWebAppSecurityCollaborator
-
public interface IWebAppSecurityCollaborator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanauthenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)ExtensionProcessorgetFormLoginExtensionProcessor(IServletContext webapp)ExtensionProcessorgetFormLogoutExtensionProcessor(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.PrincipalgetUserPrincipal()voidhandleException(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, java.lang.Throwable wse)booleanisCDINeeded()booleanisUserInRole(java.lang.String role, IExtendedRequest req)voidlogin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String username, java.lang.String password)voidlogout(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)voidpostInvoke(java.lang.Object secObject)voidpostInvokeForSecureResponse(java.lang.Object secObject)java.lang.ObjectpreInvoke()java.lang.ObjectpreInvoke(java.lang.String servletName)java.lang.ObjectpreInvoke(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String servletName, boolean enforceSecurity)
-
-
-
Method Detail
-
preInvoke
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- Throws:
com.ibm.wsspi.webcontainer.security.SecurityViolationExceptionjava.io.IOException
-
authenticate
boolean authenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
login
void login(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String username, java.lang.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
java.lang.Object preInvoke(java.lang.String servletName) throws com.ibm.wsspi.webcontainer.security.SecurityViolationException, java.io.IOException- Throws:
com.ibm.wsspi.webcontainer.security.SecurityViolationExceptionjava.io.IOException
-
preInvoke
java.lang.Object preInvoke() throws com.ibm.wsspi.webcontainer.security.SecurityViolationException- Throws:
com.ibm.wsspi.webcontainer.security.SecurityViolationException
-
postInvoke
void postInvoke(java.lang.Object secObject) throws javax.servlet.ServletException- Throws:
javax.servlet.ServletException
-
postInvokeForSecureResponse
void postInvokeForSecureResponse(java.lang.Object secObject) throws javax.servlet.ServletException- Throws:
javax.servlet.ServletException
-
handleException
void handleException(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse rsp, java.lang.Throwable wse) throws javax.servlet.ServletException, java.io.IOException- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
getUserPrincipal
java.security.Principal getUserPrincipal()
-
isCDINeeded
boolean isCDINeeded()
-
isUserInRole
boolean isUserInRole(java.lang.String role, IExtendedRequest req)
-
getFormLoginExtensionProcessor
ExtensionProcessor getFormLoginExtensionProcessor(IServletContext webapp)
-
getFormLogoutExtensionProcessor
ExtensionProcessor getFormLogoutExtensionProcessor(IServletContext webapp)
-
getURIsInSecurityConstraints
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)
-
-