Uses of Interface
org.apache.catalina.HttpRequest
-
Packages that use HttpRequest Package Description com.sun.enterprise.web.pwc.connector.coyote com.sun.web.security com.sun.web.security.realmadapter org.apache.catalina org.apache.catalina.authenticator This package containsAuthenticatorimplementations for the various supported authentication methods (BASIC, DIGEST, and FORM).org.apache.catalina.connector org.apache.catalina.core org.apache.catalina.realm This package containsRealmimplementations for the various supported realm technologies for authenticating users and identifying their associated roles. -
-
Uses of HttpRequest in com.sun.enterprise.web.pwc.connector.coyote
Classes in com.sun.enterprise.web.pwc.connector.coyote that implement HttpRequest Modifier and Type Class Description classPwcCoyoteRequestCustomized version of the Tomcat 5 CoyoteRequest This is required for supporting Web Programmatic Login and setting the request encoding (charset). -
Uses of HttpRequest in com.sun.web.security
Classes in com.sun.web.security that implement HttpRequest Modifier and Type Class Description classHttpRequestWrapperMethods in com.sun.web.security with parameters of type HttpRequest Modifier and Type Method Description SecurityConstraint[]RealmAdapter. findSecurityConstraints(HttpRequest request, Context context)One of the initial operations being done to apply security to a request, is to find out if there are security constraints for a request.booleanRealmAdapter. hasResourcePermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, Context context)Perform access control based on the specified authorization constraint.booleanRealmAdapter. hasRole(HttpRequest request, HttpResponse response, Principal principal, String role)Check if the given principal has the provided role.booleanRealmAdapter. hasUserDataPermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints)Enforce any user data constraint required by the security constraint guarding this request URI.booleanRealmAdapter. hasUserDataPermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, String uri, String method)Checks if the given request URI and method are the target of any user-data-constraint with a transport-guarantee of CONFIDENTIAL, and whether any such constraint is already satisfied.booleanRealmAdapter. invokeAuthenticateDelegate(HttpRequest request, HttpResponse response, Context context, Authenticator authenticator, boolean calledFromAuthenticate)Authenticates the user making this request, based on the specified authentication mechanism.booleanRealmAdapter. invokePostAuthenticateDelegate(HttpRequest request, HttpResponse response, Context context)Post authentication for given request and response.voidRealmAdapter. logout(HttpRequest httpRequest)intRealmAdapter. preAuthenticateCheck(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, boolean disableProxyCaching, boolean securePagesWithPragma, boolean ssoEnabled)Checks whether or not authentication is needed.Constructors in com.sun.web.security with parameters of type HttpRequest Constructor Description HttpRequestWrapper(HttpRequest request, jakarta.servlet.http.HttpServletRequest servletRequest) -
Uses of HttpRequest in com.sun.web.security.realmadapter
Methods in com.sun.web.security.realmadapter with parameters of type HttpRequest Modifier and Type Method Description booleanAuthenticatorProxy. authenticate(HttpRequest request, HttpResponse response, LoginConfig config)voidJaspicRealm. cleanSubject(HttpRequest httpRequest)booleanJaspicRealm. secureResponse(HttpRequest request, HttpResponse response, Context context)booleanJaspicRealm. validateRequest(HttpRequest request, HttpResponse response, Context context, Authenticator authenticator, boolean calledFromAuthenticate, Function<jakarta.servlet.http.HttpServletRequest,Boolean> isMandatoryFn) -
Uses of HttpRequest in org.apache.catalina
Methods in org.apache.catalina with parameters of type HttpRequest Modifier and Type Method Description SecurityConstraint[]Realm. findSecurityConstraints(HttpRequest request, Context context)Return the SecurityConstraints configured to guard the request URI for this request, ornullif there is no such constraint.StringRealm. getAlternateAuthType(HttpRequest req)Return an alternate auth type from the request if available.PrincipalRealm. getAlternatePrincipal(HttpRequest req)Return an alternate principal from the request if available.booleanRealm. hasResourcePermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraint, Context context)Perform access control based on the specified authorization constraint.booleanRealm. hasRole(HttpRequest request, HttpResponse response, Principal principal, String role)Returntrueif the specified Principal has the specified security role, within the context of this Realm; otherwise returnfalse.booleanRealm. hasUserDataPermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraint)Enforce any user data constraint required by the security constraint guarding this request URI.booleanRealm. hasUserDataPermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, String uri, String method)Checks if the given request URI and method are the target of any user-data-constraint with a transport-guarantee of CONFIDENTIAL, and whether any such constraint is already satisfied.booleanRealm. invokeAuthenticateDelegate(HttpRequest request, HttpResponse response, Context context, Authenticator authenticator, boolean calledFromAuthenticate)Authenticates the user making this request, based on the specified login configuration.booleanRealm. invokePostAuthenticateDelegate(HttpRequest request, HttpResponse response, Context context)Post authentication for given request and response.voidAuthenticator. login(String userName, char[] password, HttpRequest request)voidAuthenticator. logout(HttpRequest request)voidRealm. logout(HttpRequest hreq)Logs out.intRealm. preAuthenticateCheck(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, boolean disableProxyCaching, boolean securePagesWithPragma, boolean ssoEnabled)Checks whether or not authentication is needed.voidAuditor. webInvocation(HttpRequest req, boolean success)Notify auditor of a servlet container invocation. -
Uses of HttpRequest in org.apache.catalina.authenticator
Methods in org.apache.catalina.authenticator with parameters of type HttpRequest Modifier and Type Method Description abstract booleanAuthenticatorBase. authenticate(HttpRequest request, HttpResponse response, LoginConfig config)Authenticate the user making this request, based on the specified login configuration.booleanBasicAuthenticator. authenticate(HttpRequest request, HttpResponse response, LoginConfig config)Authenticate the user making this request, based on the specified login configuration.booleanDigestAuthenticator. authenticate(HttpRequest request, HttpResponse response, LoginConfig config)Authenticate the user making this request, based on the specified login configuration.booleanFormAuthenticator. authenticate(HttpRequest request, HttpResponse response, LoginConfig config)Authenticate the user making this request, based on the specified login configuration.booleanNonLoginAuthenticator. authenticate(HttpRequest request, HttpResponse response, LoginConfig config)Authenticate the user making this request, based on the specified login configuration.booleanSSLAuthenticator. authenticate(HttpRequest request, HttpResponse response, LoginConfig config)Authenticate the user by checking for the existence of a certificate chain, and optionally asking a trust manager to validate that we trust this user.protected PrincipalAuthenticatorBase. doLogin(HttpRequest request, String username, char[] password)Process the login request.protected voidFormAuthenticator. forwardToErrorPage(HttpRequest request, HttpResponse response, LoginConfig config)Called to forward to the error page.protected voidFormAuthenticator. forwardToLoginPage(HttpRequest request, HttpResponse response, LoginConfig config)Called to forward to the login page.protected SessionAuthenticatorBase. getSession(HttpRequest request)Return the internal Session that is associated with this HttpRequest, ornullif there is no such Session.protected SessionAuthenticatorBase. getSession(HttpRequest request, boolean create)Return the internal Session that is associated with this HttpRequest, possibly creating a new one if necessary, ornullif there is no such session and we did not create one.voidAuthenticatorBase. login(String username, char[] password, HttpRequest request)voidAuthenticatorBase. logout(HttpRequest request)protected booleanFormAuthenticator. matchRequest(HttpRequest request)Does this request match the saved one (so that it must be the redirect we signaled after successful authentication?protected voidAuthenticatorBase. register(HttpRequest request, HttpResponse response, Principal principal, String authType, String username, char[] password)Register an authenticated Principal and authentication type in our request, in the current session (if there is one), and with our SingleSignOn valve, if there is one.protected booleanFormAuthenticator. restoreRequest(HttpRequest request, Session session)Restore the original request from information stored in our session.protected voidFormAuthenticator. saveRequest(HttpRequest request, Session session)Save the original request information into our session. -
Uses of HttpRequest in org.apache.catalina.connector
Classes in org.apache.catalina.connector that implement HttpRequest Modifier and Type Class Description classRequestWrapper object for the Coyote request. -
Uses of HttpRequest in org.apache.catalina.core
Classes in org.apache.catalina.core that implement HttpRequest Modifier and Type Class Description classDummyRequestDummy request object, used for request dispatcher mapping, as well as JSP precompilation. -
Uses of HttpRequest in org.apache.catalina.realm
Methods in org.apache.catalina.realm with parameters of type HttpRequest Modifier and Type Method Description protected voidRealmBase. disableProxyCaching(HttpRequest request, HttpResponse response, boolean disableProxyCaching, boolean securePagesWithPragma)SecurityConstraint[]RealmBase. findSecurityConstraints(HttpRequest request, Context context)Return the SecurityConstraints configured to guard the request URI for this request, ornullif there is no such constraint.StringRealmBase. getAlternateAuthType(HttpRequest req)Return an alternate auth type from the request if available.PrincipalRealmBase. getAlternatePrincipal(HttpRequest req)Return an alternate principal from the request if available.booleanRealmBase. hasResourcePermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, Context context)Perform access control based on the specified authorization constraint.booleanRealmBase. hasRole(HttpRequest request, HttpResponse response, Principal principal, String role)Returntrueif the specified Principal has the specified security role, within the context of this Realm; otherwise returnfalse.booleanRealmBase. hasUserDataPermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints)Enforce any user data constraint required by the security constraint guarding this request URI.booleanRealmBase. hasUserDataPermission(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, String uri, String method)Checks if the given request URI and method are the target of any user-data-constraint with a transport-guarantee of CONFIDENTIAL, and whether any such constraint is already satisfied.booleanRealmBase. invokeAuthenticateDelegate(HttpRequest request, HttpResponse response, Context context, Authenticator authenticator, boolean calledFromAuthenticate)Authenticates the user making this request, based on the specified login configuration.booleanRealmBase. invokePostAuthenticateDelegate(HttpRequest request, HttpResponse response, Context context)Post authentication for given request and response.voidRealmBase. logout(HttpRequest hreq)intRealmBase. preAuthenticateCheck(HttpRequest request, HttpResponse response, SecurityConstraint[] constraints, boolean disableProxyCaching, boolean securePagesWithPragma, boolean ssoEnabled)Checks whether or not authentication is needed.
-