| Package | Description |
|---|---|
| com.sun.enterprise.web | |
| com.sun.enterprise.web.connector.coyote | |
| com.sun.enterprise.web.pwc | |
| 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 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.session |
This package contains the standard
Manager and
Session implementations that represent the collection of
active sessions and the individual sessions themselves, respectively,
that are associated with a Context. |
| org.apache.catalina.startup | |
| org.glassfish.web.ha.strategy.builder |
| Modifier and Type | Class and Description |
|---|---|
class |
AdHocWebModule |
class |
ContextFacade
Facade object which masks the internal
Context
object from the web application. |
class |
WebModule
Class representing a web module for use by the Application Server.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
EmbeddedWebContainer.createContext(String id,
String ctxPath,
File location,
String defaultContextXmlLocation,
String defaultWebXmlLocation,
boolean useDOLforDeployment,
WebModuleConfig wmInfo)
Create a web module/application.
|
| Modifier and Type | Method and Description |
|---|---|
PersistenceStrategyBuilder |
PersistenceStrategyBuilderFactory.createPersistenceStrategyBuilder(String persistenceType,
String frequency,
String scope,
Context ctx)
creates the correct implementation of PersistenceStrategyBuilder
if an invalid combination is input; an error is logged
and MemoryStrategyBuilder is returned
|
String |
PersistenceStrategyBuilderFactory.getApplicationId(Context ctx)
returns the application id for the module
|
void |
CookieStrategyBuilder.initializePersistenceStrategy(Context ctx,
SessionManager smBean,
ServerConfigLookup serverConfigLookup) |
void |
FileStrategyBuilder.initializePersistenceStrategy(Context ctx,
SessionManager smBean,
ServerConfigLookup serverConfigLookup) |
void |
MemoryStrategyBuilder.initializePersistenceStrategy(Context ctx,
SessionManager smBean,
ServerConfigLookup serverConfigLookup) |
void |
BasePersistenceStrategyBuilder.initializePersistenceStrategy(Context ctx,
SessionManager smBean,
ServerConfigLookup serverConfigLookup) |
void |
PersistenceStrategyBuilder.initializePersistenceStrategy(Context ctx,
SessionManager smBean,
ServerConfigLookup serverConfigLookup) |
protected String |
BasePersistenceStrategyBuilder.prependContextPathTo(String str,
Context ctx) |
void |
BasePersistenceStrategyBuilder.readWebAppParams(Context ctx,
SessionManager smBean) |
void |
BasePersistenceStrategyBuilder.setDefaultParams(Context ctx,
SessionManager smBean) |
| Constructor and Description |
|---|
PESessionLocker(Context ctx)
Creates a new instance of PESessionLocker
|
| Modifier and Type | Method and Description |
|---|---|
void |
PECoyoteConnector.requestEndEvent(javax.servlet.http.HttpServletRequest request,
Host host,
Context context,
int statusCode)
Fires probe event related to the fact that the given request is about
to exit from the web container.
|
void |
PECoyoteConnector.requestStartEvent(javax.servlet.http.HttpServletRequest request,
Host host,
Context context)
Fires probe event related to the fact that the given request has
been entered the web container.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PwcWebModule
Class representing a web module (servlet context).
|
| Modifier and Type | Method and Description |
|---|---|
void |
PwcCoyoteRequest.setContext(Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
Context |
HttpRequestWrapper.getContext() |
Context |
HttpResponseWrapper.getContext() |
| Modifier and Type | Method and 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.
|
SecurityConstraint[] |
RealmAdapter.findSecurityConstraints(String requestPathMB,
String httpMethod,
Context context)
Returns null if there are no security constraints defined on any of the web resources within the context
|
boolean |
RealmAdapter.hasResourcePermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
RealmAdapter.invokeAuthenticateDelegate(HttpRequest request,
HttpResponse response,
Context context,
Authenticator authenticator,
boolean calledFromAuthenticate)
Authenticates the user making this request, based on the specified authentication mechanism.
|
boolean |
RealmAdapter.invokePostAuthenticateDelegate(HttpRequest request,
HttpResponse response,
Context context)
Post authentication for given request and response.
|
void |
HttpRequestWrapper.setContext(Context context) |
void |
HttpResponseWrapper.setContext(Context context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JaspicRealm.secureResponse(HttpRequest request,
HttpResponse response,
Context context) |
boolean |
JaspicRealm.validateRequest(HttpRequest request,
HttpResponse response,
Context context,
Authenticator authenticator,
boolean calledFromAuthenticate,
Function<javax.servlet.http.HttpServletRequest,Boolean> isMandatoryFn) |
| Modifier and Type | Method and Description |
|---|---|
Context |
Deployer.findDeployedApp(String contextPath)
Return the Context for the deployed application that is associated
with the specified context path (if any); otherwise return
null. |
Context |
Request.getContext()
Return the Context within which this Request is being processed.
|
Context |
Response.getContext()
Return the Context with which this Response is associated.
|
Context |
Host.map(String uri)
Return the Context that would be used to process the specified
host-relative request URI, if any; otherwise return
null. |
| Modifier and Type | Method and Description |
|---|---|
SecurityConstraint[] |
Realm.findSecurityConstraints(HttpRequest request,
Context context)
Return the SecurityConstraints configured to guard the request URI for this request, or
null if there is
no such constraint. |
SecurityConstraint[] |
Realm.findSecurityConstraints(String uri,
String method,
Context context)
Gets the security constraints configured by the given context for the given request URI and method.
|
boolean |
Realm.hasResourcePermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraint,
Context context)
Perform access control based on the specified authorization constraint.
|
void |
SessionLocker.init(Context context) |
boolean |
Realm.invokeAuthenticateDelegate(HttpRequest request,
HttpResponse response,
Context context,
Authenticator authenticator,
boolean calledFromAuthenticate)
Authenticates the user making this request, based on the specified login configuration.
|
boolean |
Realm.invokePostAuthenticateDelegate(HttpRequest request,
HttpResponse response,
Context context)
Post authentication for given request and response.
|
void |
Request.setContext(Context context)
Set the Context within which this Request is being processed.
|
void |
Response.setContext(Context context)
Set the Context with which this Response is associated.
|
| Modifier and Type | Field and Description |
|---|---|
protected Context |
AuthenticatorBase.context
The Context to which this Valve is attached.
|
| Modifier and Type | Field and Description |
|---|---|
protected Context |
Request.context
Associated context.
|
protected Context |
Response.context
Associated context.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Request.getContext()
Return the Context within which this Request is being processed.
|
Context |
Response.getContext()
Return the Context within which this Request is being processed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Connector.requestEndEvent(javax.servlet.http.HttpServletRequest request,
Host host,
Context context,
int statusCode)
Fires probe event related to the fact that the given request is about
to exit from the web container.
|
void |
Connector.requestStartEvent(javax.servlet.http.HttpServletRequest request,
Host host,
Context context)
Fires probe event related to the fact that the given request has
been entered the web container.
|
void |
Request.setContext(Context context)
Set the Context within which this Request is being processed.
|
void |
Response.setContext(Context context)
Set the Context within which this Request is being processed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StandardContext
Standard implementation of the Context interface.
|
| Modifier and Type | Field and Description |
|---|---|
protected Context |
ApplicationHttpRequest.context
The context for this request.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
StandardHostDeployer.findDeployedApp(String contextPath)
Return the Context for the deployed application that is associated
with the specified context path (if any); otherwise return
null. |
Context |
StandardHost.findDeployedApp(String contextPath)
Return the Context for the deployed application that is associated
with the specified context path (if any); otherwise return
null. |
Context |
StandardContext.findMappingObject()
FIXME: Fooling introspection ...
|
Context |
DummyResponse.getContext() |
Context |
DummyRequest.getContext() |
Context |
StandardHost.map(String uri)
Return the Context that would be used to process the specified
host-relative request URI, if any; otherwise return
null. |
| Modifier and Type | Method and Description |
|---|---|
void |
DummyResponse.setContext(Context context) |
void |
DummyRequest.setContext(Context context) |
| Constructor and Description |
|---|
ApplicationHttpRequest(javax.servlet.http.HttpServletRequest request,
Context context,
boolean crossContext,
javax.servlet.http.HttpServletMapping mappingForDispatch,
javax.servlet.DispatcherType dispatcherType)
Construct a new wrapped request around the specified servlet request.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityConstraint[] |
RealmBase.findSecurityConstraints(HttpRequest request,
Context context)
Return the SecurityConstraints configured to guard the request URI for this request, or
null if there is
no such constraint. |
SecurityConstraint[] |
RealmBase.findSecurityConstraints(String uri,
String method,
Context context)
Gets the security constraints configured by the given context for the given request URI and method.
|
boolean |
RealmBase.hasResourcePermission(HttpRequest request,
HttpResponse response,
SecurityConstraint[] constraints,
Context context)
Perform access control based on the specified authorization constraint.
|
boolean |
RealmBase.invokeAuthenticateDelegate(HttpRequest request,
HttpResponse response,
Context context,
Authenticator authenticator,
boolean calledFromAuthenticate)
Authenticates the user making this request, based on the specified login configuration.
|
boolean |
RealmBase.invokePostAuthenticateDelegate(HttpRequest request,
HttpResponse response,
Context context)
Post authentication for given request and response.
|
| Modifier and Type | Field and Description |
|---|---|
protected Context |
BaseSessionLocker._context |
| Modifier and Type | Method and Description |
|---|---|
protected void |
StandardSession.fireContainerEvent(Context context,
String type,
Object data)
Fire container events if the Context implementation is the
org.apache.catalina.core.StandardContext. |
void |
BaseSessionLocker.init(Context context) |
| Modifier and Type | Field and Description |
|---|---|
protected Context |
ContextConfig.context
The Context we are associated with.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
Embedded.createContext(String path,
String docBase)
Create, configure, and return a Context that will process all
HTTP requests received from one of the associated Connectors,
and directed to the specified context path on the virtual host
to which this Context is connected.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Embedded.removeContext(Context context)
Remove the specified Context from the set of defined Contexts for its
associated Host.
|
protected boolean |
HostConfig.restartContext(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReplicatedWebMethodSessionStrategyBuilder.initializePersistenceStrategy(Context ctx,
SessionManager smBean,
ServerConfigLookup serverConfigLookup) |
Copyright © 2019. All rights reserved.