Package | Description |
---|---|
org.apache.catalina | |
org.apache.catalina.authenticator |
This package contains
Authenticator implementations for the
various supported authentication methods (BASIC, DIGEST, and FORM). |
org.apache.catalina.connector | |
org.apache.catalina.core | |
org.apache.catalina.realm |
This package contains
Realm implementations for the
various supported realm technologies for authenticating users and
identifying their associated roles. |
org.apache.catalina.valves |
This package contains a variety of small Valve implementations that do
not warrant being packaged separately.
|
org.jboss.web.rewrite |
Modifier and Type | Method and Description |
---|---|
boolean |
Authenticator.authenticate(Request request,
javax.servlet.http.HttpServletResponse response) |
void |
Valve.event(Request request,
Response response,
HttpEvent event)
Process an event.
|
SecurityConstraint[] |
Realm.findSecurityConstraints(Request request,
Context context)
Return the SecurityConstraints configured to guard the request URI for
this request, or
null if there is no such constraint. |
boolean |
Realm.hasResourcePermission(Request request,
Response response,
SecurityConstraint[] constraint,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
Realm.hasUserDataPermission(Request request,
Response response,
SecurityConstraint[] constraint)
Enforce any user data constraint required by the security constraint
guarding this request URI.
|
void |
Container.invoke(Request request,
Response response)
Process the specified Request, and generate the corresponding Response,
according to the design of this particular Container.
|
void |
Valve.invoke(Request request,
Response response)
Perform request processing as required by this Valve.
|
void |
Authenticator.login(Request request,
String username,
String password) |
void |
Authenticator.logout(Request request) |
Modifier and Type | Method and Description |
---|---|
boolean |
AuthenticatorBase.authenticate(Request request,
javax.servlet.http.HttpServletResponse response)
API login.
|
protected abstract boolean |
AuthenticatorBase.authenticate(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified
login configuration.
|
boolean |
DigestAuthenticator.authenticate(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified
login configuration.
|
boolean |
FormAuthenticator.authenticate(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified
login configuration.
|
boolean |
BasicAuthenticator.authenticate(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified
login configuration.
|
boolean |
SSLAuthenticator.authenticate(Request request,
javax.servlet.http.HttpServletResponse 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.
|
boolean |
NonLoginAuthenticator.authenticate(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified
login configuration.
|
protected void |
FormAuthenticator.forwardToErrorPage(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Called to forward to the error page
|
protected void |
FormAuthenticator.forwardToLoginPage(Request request,
javax.servlet.http.HttpServletResponse response,
LoginConfig config)
Called to forward to the login page
|
protected String |
DigestAuthenticator.generateNonce(Request request)
Generate a unique token.
|
void |
AuthenticatorBase.invoke(Request request,
Response response)
Enforce the security restrictions in the web application deployment
descriptor of our associated Context.
|
void |
SingleSignOn.invoke(Request request,
Response response)
Perform single-sign-on support processing for this request.
|
void |
AuthenticatorBase.login(Request request,
String username,
String password) |
void |
AuthenticatorBase.logout(Request request) |
protected boolean |
FormAuthenticator.matchRequest(Request request)
Does this request match the saved one (so that it must be the redirect
we signalled after successful authentication?
|
boolean |
SingleSignOn.reauthenticate(String ssoId,
Realm realm,
Request request)
Attempts reauthentication to the given
Realm using
the credentials associated with the single sign-on session
identified by argument ssoId . |
protected boolean |
AuthenticatorBase.reauthenticateFromSSO(String ssoId,
Request request)
Attempts reauthentication to the
Realm using
the credentials included in argument entry . |
protected void |
AuthenticatorBase.register(Request request,
javax.servlet.http.HttpServletResponse response,
Principal principal,
String authType,
String username,
String 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 boolean |
FormAuthenticator.restoreRequest(Request request,
Session session)
Restore the original request from information stored in our session.
|
protected void |
FormAuthenticator.saveRequest(Request request,
Session session)
Save the original request information into our session.
|
protected void |
AuthenticatorBase.unregister(Request request,
javax.servlet.http.HttpServletResponse response)
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.
|
Modifier and Type | Field and Description |
---|---|
protected Request |
RequestFacade.request
The wrapped request.
|
protected Request |
HttpEventImpl.request
Associated request.
|
protected Request |
Response.request
The request with which this response is associated.
|
Modifier and Type | Method and Description |
---|---|
Request |
Connector.createRequest()
Create (or allocate) and return a Request object suitable for
specifying the contents of a Request to the responsible Container.
|
Request |
Response.getRequest()
Return the Request with which this Response is associated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CoyoteAdapter.convertURI(MessageBytes uri,
Request request)
Character conversion of the URI.
|
boolean |
CoyoteAdapter.isSessionIdValid(Request request,
String id)
Return
true if the session identifier specified
identifies a valid session. |
protected void |
CoyoteAdapter.parseSessionCookiesId(Request req,
Request request)
Parse session id in URL.
|
protected void |
CoyoteAdapter.parseSessionId(Request req,
Request request)
Parse session id in URL.
|
protected boolean |
CoyoteAdapter.postParseRequest(Request req,
Request request,
Response res,
Response response)
Parse additional request parameters.
|
void |
Response.setRequest(Request request)
Set the Request with which this Response is associated.
|
Constructor and Description |
---|
HttpEventImpl(Request request,
Response response) |
InputBuffer(Request request)
Default constructor.
|
InputBuffer(Request request,
int size)
Alternate constructor which allows specifying the initial buffer size.
|
RequestFacade(Request request)
Construct a wrapper for the specified request.
|
Modifier and Type | Method and Description |
---|---|
Request |
DummyResponse.getRequest() |
Modifier and Type | Method and Description |
---|---|
void |
ContainerBase.invoke(Request request,
Response response)
Process the specified Request, to produce the corresponding Response,
by invoking the first Valve in our pipeline (if any), or the basic
Valve otherwise.
|
void |
DummyResponse.setRequest(Request request) |
Modifier and Type | Method and Description |
---|---|
SecurityConstraint[] |
RealmBase.findSecurityConstraints(Request request,
Context context)
Return the SecurityConstraints configured to guard the request URI for
this request, or
null if there is no such constraint. |
boolean |
RealmBase.hasResourcePermission(Request request,
Response response,
SecurityConstraint[] constraints,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
RealmBase.hasUserDataPermission(Request request,
Response response,
SecurityConstraint[] constraints)
Enforce any user data constraint required by the security constraint
guarding this request URI.
|
Modifier and Type | Field and Description |
---|---|
protected List<Request> |
EventOrAsyncConnectionManagerValve.cometRequests
List of current Coment connections.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtendedAccessLogValve.DateElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.TimeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.RequestHeaderElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.ResponseHeaderElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.ServletContextElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.CookieElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.ResponseAllHeaderElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.RequestAttributeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.SessionAttributeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
ExtendedAccessLogValve.RequestParameterElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.AccessLogElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.ThreadNameElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.LocalAddrElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.RemoteAddrElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.HostElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.LogicalUserNameElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.ProtocolElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.UserElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.DateAndTimeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.RequestElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.HttpStatusCodeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.LocalPortElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.ByteSentElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.MethodElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.ElapsedTimeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.QueryElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.SessionIdElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.RequestURIElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.LocalServerNameElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.StringElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.HeaderElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.CookieElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.ResponseHeaderElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.RequestAttributeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
void |
AccessLogValve.SessionAttributeElement.addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time) |
boolean |
SemaphoreValve.controlConcurrency(Request request,
Response response)
Subclass friendly method to add conditions.
|
void |
EventOrAsyncConnectionManagerValve.event(Request request,
Response response,
HttpEvent event)
Use events to update the connection state.
|
void |
StuckThreadDetectionValve.event(Request request,
Response response,
HttpEvent event) |
void |
ValveBase.event(Request request,
Response response,
HttpEvent event)
Process a Comet event.
|
void |
EventOrAsyncConnectionManagerValve.invoke(Request request,
Response response)
Register requests for tracking, whenever needed.
|
void |
AccessLogValve.invoke(Request request,
Response response)
Log a message summarizing the specified request and response, according
to the format specified by the
pattern property. |
void |
SemaphoreValve.invoke(Request request,
Response response)
Do concurrency control on the request using the semaphore.
|
void |
RequestDumperValve.invoke(Request request,
Response response)
Log the interesting request parameters, invoke the next Valve in the
sequence, and log the interesting response parameters.
|
void |
RemoteIpValve.invoke(Request request,
Response response)
The implementation-specific logic represented by this Valve.
|
void |
PersistentValve.invoke(Request request,
Response response)
Select the appropriate child Context to process this request,
based on the specified request URI.
|
void |
RemoteHostValve.invoke(Request request,
Response response)
Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering. |
void |
StuckThreadDetectionValve.invoke(Request request,
Response response)
The implementation-specific logic represented by this Valve.
|
void |
RemoteAddrValve.invoke(Request request,
Response response)
Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering. |
abstract void |
ValveBase.invoke(Request request,
Response response)
The implementation-specific logic represented by this Valve.
|
void |
CrawlerSessionManagerValve.invoke(Request request,
Response response) |
void |
JDBCAccessLogValve.invoke(Request request,
Response response)
This method is invoked by Tomcat on each query.
|
void |
ErrorReportValve.invoke(Request request,
Response response)
Invoke the next Valve in the sequence.
|
abstract void |
RequestFilterValve.invoke(Request request,
Response response)
Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering. |
void |
SSLValve.invoke(Request request,
Response response) |
String |
SSLValve.mygetHeader(Request request,
String header) |
void |
SemaphoreValve.permitDenied(Request request,
Response response)
Subclass friendly method to add error handling when a permit isn't granted.
|
protected void |
RequestFilterValve.process(String property,
Request request,
Response response)
Perform the filtering that has been configured for this Valve, matching
against the specified request property.
|
protected void |
ErrorReportValve.report(Request request,
Response response,
Throwable throwable)
Prints out an error report.
|
Modifier and Type | Field and Description |
---|---|
protected Request |
TomcatResolver.request |
Modifier and Type | Method and Description |
---|---|
void |
RewriteValve.invoke(Request request,
Response response) |
Constructor and Description |
---|
TomcatResolver(Request request) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.