Just a second...

User-written components

Consider deploying user-written components to define custom behavior as part of your solution.

Server-related components

All of these components must be created as Java™ classes and put on the classpath of the Diffusion™ server .

Authentication handlers
These components handle authentication of clients that connect to the Diffusion server or change the principal that they use to connect to the Diffusion server . If the client connection is allowed, the authentication handler assigns roles to the client session.

You can have zero, one, or many authentication handlers configured on your Diffusion server.

For more information, see Developing a local authentication handler and .

Note: Local authentication handlers, on the Diffusion server , can be written only in Java . However, control authentication handlers that are part of a client whose API supports Authentication Control can be written in other languages.
Hooks
Startup and shutdown hooks are called by the Diffusion server . The startup hook is instantiated and called as the Diffusion server starts and before publishers are loaded. The shutdown hook is called as the Diffusion server stops.

For example, you can use a shutdown hook to persist some aspect of the state of the Diffusion server to disk.

HTTP service handlers
These components handle HTTP requests as part of an HTTP service in the Diffusion server's built-in web server. Provide a user-written HTTP service handler to enable the Diffusion web server to handle any kind of HTTP request.