home
/
resin 4.0
/
candi resources
resin 4.0
installation
admin docs
resin 4.0
<cluster>
<database>
<host>
ports
<resin>
resource tags
candi resources
<server>
session
<web-app>
index
dev docs
examples
changes
resource beans
resource tags
<server>
List of Resin's CanDI-style resources.
Administration
Clustered Caching (JCache)
JMS
Protocols
Rewrite
Repository
Request Conditions
Scheduling
Security
Administration
Administration
NAME
DESCRIPTION
<resin:JmxService>
Enables cluster-wide JMX administration.
<resin:LogService>
Stores high-priority log messages in a database.
<resin:PingMailer>
Mails a notification when a ping check fails.
<resin:PingThread>
Checks status of Resin sutomatically.
<resin:StatService>
Gathers timed runtime status of Resin for graphing.
<resin:XaLogService>
Transaction log service.
<resin:RemoteAdminService>
Enables administration by remote agents, like an eclipse console.
Clustered Caching (JCache)
Caches
NAME
DESCRIPTION
<resin:ByteStreamCache>
Distributed cache of InputStream/OutputStream byte streams across a cluster pod.
<resin:ClusterCache>
JCache-style distributed object cache across a cluster pod (java.util.Map).
<resin:GlobalCache>
JCache-style distributed object cache across the entire Resin system.
JMS
JMS
NAME
DESCRIPTION
<resin:JmsConnectionFactory>
Combined Queue and Topic ConnectionFactory.
<resin:ClusterQueue>
Clustered queue.
<resin:FileQueue>
Filesystem based queue.
<resin:FileTopic>
Filesystem based topic.
<resin:MemoryQueue>
Memory based queue.
<resin:MemoryTopic>
Memory based topic.
Protocols
Protocols
NAME
DESCRIPTION
<resin:FastCgiPort>
FastCGI requests, e.g. from nginx.
Rewrite
Dispatch rules
NAME
DESCRIPTION
<resin:Dispatch>
Normal servlet dispatching with optional
target
rewriting.
<resin:FastCgiProxy>
Proxies the request to a backend server using FastCGI as a proxy protocol.
<resin:Forbidden>
Send a HTTP forbidden response.
<resin:Forward>
Forwards to the new URL using RequestDispatcher.forward with the
target
URL.
<resin:HttpProxy>
Proxies the request to a backend server using HTTP as a proxy protocol.
<resin:LoadBalance>
Load balance to a cluster of backend Resin servers.
<resin:Redirect>
Send a HTTP redirect to a new URL specified by
target
.
<resin:SendError>
Send a HTTP error response.
AbstractTargetDispatchRule
Base class for custom dispatch rules.
Rewrite filters
NAME
DESCRIPTION
<resin:SetHeader>
Sets a response header.
<resin:SetRequestSecure>
Marks the request as secure.
<mypkg:MyFilter>
Servlet filters.
Repository
Repository
NAME
DESCRIPTION
<resin:ProjectJarRepository>
Maven-style library jar management for webapps.
Request Conditions
Basic conditions
NAME
DESCRIPTION
<resin:IfAuthType>
Checks for the authentication type, request.getAuthType().
<resin:IfCookie>
Checks for the presence of a named HTTP cookie from request.getCookies().
<resin:IfCron>
Matches if the current time is in an active range configured by cron-style times.
<resin:IfFileExists>
Matches if the URL corresponds to an actual file.
<resin:IfHeader>
Tests for a HTTP header and value match.
<resin:IfLocale>
Tests for a Locale match from the HTTP request.
<resin:IfLocalPort>
Compares the local port of the request, request.getLocalPort().
<resin:IfMethod>
Compares the HTTP method, request.getMethod().
<resin:IfNetwork>
Compares the remote IP address to a network pattern like 192.168/16.
<resin:IfQueryParam>
Tests for a HTTP query parameger, request.getParameter().
<resin:IfRemoteAddr>
Tests against the remote IP address, request.getRemoteAddr().
<resin:IfRemoteUser>
Tests against the remote user, request.getRemoteUser().
<resin:IfSecure>
True for SSL requests, i.e. if request.isSecure() is true.
<resin:IfUserInRole>
Tests is the user is in the servlet security role.
RequestPredicate
Interface for custom request predicates.
Combining conditions
NAME
DESCRIPTION
<resin:And>
Matches if all children match.
<resin:Or>
Matches if any children match.
<resin:Not>
Matches if the child does not match.
<resin:NotAnd>
Matches if any child does not match.
<resin:NotOr>
Matches if all the children do not match.
Scheduling
Scheduling
NAME
DESCRIPTION
<resin:ScheduledTask>
cron-style task scheduling.
Security
Authenticators
NAME
DESCRIPTION
<resin:AdminAuthenticator>
Resin administration authentication (same syntax as XmlAuthenticator).
<resin:DatabaseAuthenticator>
Authentication using a JDBC database schema.
<resin:JaasAuthenticator>
Java authentication service authenticator.
<resin:LdapAuthenticator>
LDAP authentication using JNDI.
<resin:PropertiesAuthenticator>
.properties file authentication.
<resin:XmlAuthenticator>
.xml file authentication.
AbstractAuthenticator
Abstract class for custom authentication.
Single Signon
NAME
DESCRIPTION
<resin:ClusterSingleSignon>
Cluster-based single signon.
<resin:MemorySingleSignon>
Memory-based single signon.
Login managers
NAME
DESCRIPTION
<resin:BasicLogin>
HTTP basic authentication.
<resin:DigestLogin>
HTTP digest authentication.
<resin:FormLogin>
Servlet form authentication.
AbstractLogin
Abstract class for custom login.
Authorization rules
NAME
DESCRIPTION
<resin:Allow>
Allows access to a URL pattern.
<resin:Deny>
Denies access to a URL pattern.
Permission Mapping
NAME
DESCRIPTION
<resin:XmlRoleMap>
Role to group permission mapping.
AbstractRoleMap
Abstract class for custom role to group permission mapping.
resource tags
resin 4.0
<server>
Copyright © 1998-2009 Caucho Technology, Inc. All rights reserved.
Resin
®
is a registered trademark, and Quercus
tm
, Amber
tm
, and Hessian
tm
are trademarks of Caucho Technology.