Documentation
 
Installation
 
Setup guide
 
Advanced setups
 
  SSL Setup
  Filters
  Scripts
Schemas docs
 
  JAFS service
Other
 
  Security
 
  Built with Apache Forrest logo Financial help logo
 
Designed for Firefox logo Java.net member logo
 


PDF 

http://www.sbbi.net/jafs/1.0/jafs-service Schema documentation



Definition  > Declared Namespaces  > Top-level element(s)  > List of elements  > List of simple types  > Element declarations  > Simple types declarations 

Definition

JAFS service configuration grammar

Declared Namespaces

PrefixNamespace
Default namespacehttp://www.sbbi.net/jafs/1.0/jafs-service
xmlhttp://www.w3.org/XML/1998/namespace
xshttp://www.w3.org/2001/XMLSchema

Top-level element(s)

jafs-service

List of elements

adapterauth-realmscacerts-storecaStoreFilecrlcrlsdynamic-dns-clientevents-listenersevents-receiversfw-nat-ports-mapperjafs-servicekey-storekeyStoreFilelistenerlogin-configurationlogin-modulelogs-dirmail-settingsmanagementnetwork-interfacenetwork-interfacesreceiverschedulerscriptscriptsserver-eventservers-config-dirservices-data-dirservices-eventsession-eventsettingsmtpssl-settingsstats-servicestore-settingstarget-eventstaskwhois-server

List of simple types

AvailableLanguagesConsolePortRangeDynamicIPCheckTimeJAASLoginModuleFlagsValuesManagementSecurityProtocolReceiverListeningTimeServerEventsServicesEventsSessionEventsStatsComputeTime

Element declarations

adapter

DescriptionAn JMX adapter config, these JMX adapters are basically used to access the server MBeans from outside.

ContentSequence : setting*

Attributes

name
type: xs:string
required attribute
The name of the adapter

class-name
type: xs:string
required attribute
The adapter class name, the class must implement the net.sbbi.jafs.management.JMXAdapter interface

Used insidemanagement 

dynamic-dns-client

DescriptionA dynamic DNS client to update host names registered with DynDNS.org like companies

ContentSequence : setting{1}

Attributes

id
type: xs:string
required attribute
The entry identifier

class-name
type: xs:string
required attribute
The client class name to update the host name registered in a dynamic DNS provider, this class must implement the net.sbbi.jafs.utils.DynamicDNSHostNameUpdater interface.

Used insidenetwork-interface 

jafs-service

DescriptionThis xml grammar is used for global JAFS system settings

ContentAny : auth-realms{1},  events-listeners{1},  events-receivers{1},  logs-dir{1},  mail-settings{1},  management{1},  network-interfaces{1},  scheduler{1},  scripts{1},  servers-config-dir{1},  services-data-dir{1},  ssl-settings{1},  stats-service{1},  whois-server{1}

Used inside

auth-realms

Descriptionauthentication realms, define here the login modules you want to use with your different servers, the realms are using JAAS PAM architecture. For more info about JAAS take a look at http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/JAASRefGuide.html

ContentChoice : login-configuration{1}

Attributes

usable
type: xs:boolean
required attribute
this boolean enables those JAAS login modules settings to be used with JAFS. If set to false you'll have to set the regular JAAS configuration file.

Used insidejafs-service 

cacerts-store

DescriptionTrusted CA certificates key store, all signed clients X509 certificates by a CA contained in this key store will be accepted

ContentSequence : caStoreFile{1}

Attributes

password
type: xs:string
the password for this CA certificates keystore

type
type: xs:string
the type of the CA keystore

algo
type: xs:string
optional attribute
The CA keystore algorithm identifier, if not provided the ssl.TrustManagerFactory.algorithm system property will be used.

provider
type: xs:string
optional attribute
The CA keystore implementation provider name.

Used insidestore-settings 

crl

DescriptionA crl (Certificate Revocation List) config entry

ContentEmpty

Attributes

location
type: xs:anyURI
required attribute
This is the location of the list.

name
type: xs:string
required attribute
This is the name of the CRL entry, used to identify it.

Used insidecrls 

crls

DescriptionSettings to which define CRLs (Certificate Revocation List) must be used to check a client certificate

ContentSequence : crl{1,}

Attributes

reload-time
type: xs:int
required attribute
This is the time interval in minutes to reload the CRL config entries, so that the lists are keept up to date.

Used insidestore-settings 

servers-config-dir

Descriptionthis is the servers config files directory, put all the server config files you want to use here

Contentxs:string

Used insidejafs-service 

server-event

DescriptionA server type event container tag

ContentEmpty

Attributes

name
type: ServerEvents
required attribute
The name of the event

Used insidetarget-events 

services-event

DescriptionA services type event container tag

ContentEmpty

Attributes

name
type: ServicesEvents
required attribute
The name of the event

Used insidetarget-events 

session-event

DescriptionA session type event container tag

ContentEmpty

Attributes

name
type: SessionEvents
required attribute
The name of the event

Used insidetarget-events 

network-interfaces

DescriptionNetwork interface configuration entries container.

ContentSequence : network-interface{1,}

Used insidejafs-service 

network-interface

DescriptionA network interface configuration entry.

ContentSequence : dynamic-dns-client*,  fw-nat-ports-mapper?

Attributes

id
type: xs:string
required attribute
The interface identifier within the software.

default
type: xs:boolean
optional attribute
This setting is used to define if this network interface is the default. The default network interface will be used by components ( servers, jmx adapters.. ) who supports but do not specifiy a network interface identifier setting. When no entries are set as default, the first configuration entry will be used as the default one.

name
type: xs:string
required attribute
The interface name, can be defined by an OS name (I.E eth0), an host name (I.E foo.bar.com) or an IP (I.E 192.168.1.33)

fw-host-name
type: xs:string
optional attribute
If the interface is behind a firewall, you can specify here the firewall host name or ip.

dyn-ip-check-time
type: DynamicIPCheckTime
optional attribute
If you have an dynamic IP, specify here the time in minute to check if the IP has changed.

input-buffer
type: xs:positiveInteger
optional attribute
The network interface input buffer size in Kbyte.

output-buffer
type: xs:positiveInteger
optional attribute
The network interface output buffer size in Kbyte.

Used insidenetwork-interfaces 

key-store

Descriptionkey store settings, the key store contains your server certificate

ContentSequence : keyStoreFile{1}

Attributes

password
type: xs:string
the password for this key store

type
type: xs:string
the type of the key store

cert-alias
type: xs:string
optional attribute
The certificate alias in the keystore to define the certificate to be returned by the server. If not provided, a default implementation will try to find a certificate in the keystore matching default criterias such as certificate type and allowed certificate CA isuers.

algo
type: xs:string
optional attribute
The keystore algorithm identifier, if not provided the ssl.KeyManagerFactory.algorithm system property will be used.

provider
type: xs:string
optional attribute
The keystore implementation provider name.

Used insidestore-settings 

listener

DescriptionAn events listener configuration entry, these listeners can be used to receive events and then handle them as they need to be, see interface net.sbbi.jafs.events.PushEventsListener for more information to create your own listener

ContentSequence : setting*,  target-events{1}

Attributes

name
type: xs:string
required attribute
The name of the listener, a simple custom identifier

class-name
type: xs:string
required attribute
The class name of the listener, the class must implement the net.sbbi.jafs.events.PushEventsListener interface.

asynchronous
type: xs:boolean
optional attribute
By default the listener are synchronous, meaning that once an event is fired by a component, the listener will receive it immediatly and will use the component thread to do its job. This can cause some problems especially if the listener takes a lot of time to do its job. When set to true the listener will receives events asynchronously, meaning that the listener will not receive immediatly but as soon as possible the event fired by a component. The listener will have it's own dedicated thread to do it's job. If your listener implementation uses network it should be set to asynchronous to avoid any network lag issues. Default value to false.

Used insideevents-listeners 

login-configuration

DescriptionA set of login modules configuration entry, all login modules entries within a login module configuration will be used to authenticate the user.

ContentSequence : login-module{1}

Attributes

name
type: xs:string
required attribute
the identifier of this login module setting

OTPEnabled
type: xs:string
required attribute
setting to instruct if all the login modules in this config entry can be used with One Time Passwords, make sure the login modules implements the net.sbbi.jafs.auth.OTPLoginModule for such functionality

Used insideauth-realms 

login-module

DescriptionA login module configuration entry

ContentSequence : setting{1}

Attributes

flag
type: JAASLoginModuleFlagsValues
required attribute
The requirement flag for a login module winthin a login modules set : 1) Required - The LoginModule is required to succeed. If it succeeds or fails, authentication still continues to proceed down the LoginModule list. 2) Requisite - The LoginModule is required to succeed. If it succeeds, authentication continues down the LoginModule list. If it fails, control immediately returns to the application (authentication does not proceed down the LoginModule list). 3) Sufficient - The LoginModule is not required to succeed. If it does succeed, control immediately returns to the application (authentication does not proceed down the LoginModule list). If it fails, authentication continues down the LoginModule list. 4) Optional - The LoginModule is not required to succeed. If it succeeds or fails, authentication still continues to proceed down the LoginModule list.

class-name
type: xs:string
required attribute
the JAAS login module class name

Used insidelogin-configuration 

logs-dir

Descriptiondirectory path where server logs will be saved

Contentxs:string

Used insidejafs-service 

events-listeners

DescriptionEvents listener classes container.

ContentSequence : listener*

Used insidejafs-service 

events-receivers

DescriptionEvents receivers classes container.

ContentSequence : receiver*

Used insidejafs-service 

fw-nat-ports-mapper

DescriptionDriver for automatic nat ports mappings on the firewall.

ContentSequence : setting*

Attributes

class-name
type: xs:string
required attribute
The driver class name that will open/close the required ports, the driver must implement the net.sbbi.jafs.nat.NatPortsMapper class in order to be compatible.

mappings-monitoring-time
type: xs:int
optional attribute
This attribute is is used to define the time lapse (in minutes) to check that all ports are correctly mapped on the NAT device. The ports are remapped automatically when not mapped anymore (NAT device restart and config lost..). When not provided or set to zero, the check will not be done.

Used insidenetwork-interface 

management

Descriptionsettings for the JAFS JMX based management interface

ContentSequence : adapter*

Attributes

locale
type: AvailableLanguages
required attribute
the language of the exposed management beans, french ( fr_FR ) or english (en_US)

manage-session
type: xs:boolean
required attribute
setting to manage connected clients, if the server can accept a lot of client this setting should be turned off

plug-to-server
type: xs:boolean
required attribute
if set to true, the managment service will try to plug on an existing JMX MBeans servers on the current JVM

server-domain
type: xs:string
optional attribute
this is the domain of the JMX server you want to use. When the plug-to-server is set to true, Jafs will try to find an MBean server with this given name. When the plug-to-server is set to false, Jafs will create an MBean server with this given name. When not provided, the default value is Jafs.

mbeans-prefix
type: xs:string
optional attribute
the prefix used ( such as $PREFIX servers:name=server_sample_server ) for all Jafs MBeans object names registration on the MBean Server. When not provided, the default value is Jafs.

Used insidejafs-service 

mail-settings

Descriptionsetting to define some mail profiles which will be used to send mails.

ContentSequence : smtp{1}

Used insidejafs-service 

keyStoreFile

Descriptionthe path to the keystore file

Contentxs:string

Used insidekey-store 

caStoreFile

Descriptionthe path to the certificates authorities store file

Contentxs:string

Used insidecacerts-store 

receiver

DescriptionAn events receiver configuration entry, these receivers can be used to receive events from the EIS, see interface net.sbbi.jafs.events.PullEventsListener for more information to create your own receivers

ContentSequence : setting*

Attributes

name
type: xs:string
required attribute
The name of the receiver, a simple custom identifier

class-name
type: xs:string
required attribute
The class name of the listener, the class must implement the net.sbbi.jafs.events.PullEventsListener interface.

listening-time
type: ReceiverListeningTime
required attribute
The receiver listening time interval in ms, each xx listening-time ms the receiver will listen if new events are available form the EIS.

Used insideevents-receivers 

scheduler

Descriptionscheduler task, currently not in use if you need an external task you can go ahead, simple make sure that this task class implements the Executable avalon interface

ContentSequence : task{1}

Used insidejafs-service 

target-events

DescriptionA simple session, service or server events subscriptions container for a listener.

ContentSequence : server-event*,  services-event*,  session-event*

Used insidelistener 

task

DescriptionA custom task to execute each X mins.

ContentSequence : setting*

Attributes

name
type: xs:string
required attribute
the name of the task

interval
type: xs:unsignedInt
required attribute
the execution interval in ms

class-name
type: xs:string
required attribute
the name of the class that implements this task, the class must implement the Avalon org.apache.avalon.framework.activity.Executable interface and the org.apache.avalon.framework.parameters.Parameterizable if the task needs external settings to work.

Used insidescheduler 

script

Descriptionelement to define where to load a scripts file

ContentEmpty

Attributes

file
type: xs:string
required attribute
the path of the script file

Used insidescripts 

scripts

Descriptionscripts location for variables output in server messages

ContentChoice : script{1}

Used insidejafs-service 

services-data-dir

Descriptionthis is the directory where some files used for server state persistance will be storedthis is the directory where some files used for server state persistance will be stored

Contentxs:string

Used insidejafs-service 

setting

Descriptiona setting entry for the login module

Contentxs:string

Attributes

name
type: xs:string
required attribute
the setting name

Used insideadapter  dynamic-dns-client  listener  login-module  fw-nat-ports-mapper  receiver  task 

smtp

Descriptionelement to define some settings so that they can be used to send mails.

ContentEmpty

Attributes

id
type: xs:string
required attribute
the id of this setting, this will be used in some other parts of the config to bind mail setting to this entry.

host
type: xs:string
required attribute
the smtp hostname

user
type: xs:string
the smtp user name

password
type: xs:string
the smtp user password

from
type: xs:string
required attribute
the sender email

to
type: xs:string
required attribute
the receiver email

cc
type: xs:string
the carbon copy email

bcc
type: xs:string
the blind carbon copy email

ni
type: xs:string
optional attribute
the network interface to use to send mails. The default network interface will be used when no setting specified.

Used insidemail-settings 

ssl-settings

Descriptiongeneric ssl settings for SSL servers and the SSL management console

ContentSequence : store-settings{1,}

Used insidejafs-service 

stats-service

Descriptionstatistics service setings

ContentEmpty

Attributes

time
type: StatsComputeTime
required attribute
the stats computation time in mins, I.E 10 means that statistics will be computed every 10 mins with data gathered between this time. data is only gathered when a session ends

Used insidejafs-service 

store-settings

DescriptionA setting entry to define a server certificate keystore/certificate alias, a keystore to define the accepted CA certificats issuers and a list of CRL to check client certificates.

ContentSequence : cacerts-store{1},  crls*,  key-store{1}

Attributes

name
type: xs:string
required attribute
The identifier of this store settings entry. Will be used to define which settings are used by a server or other component that require such settings.

system-default
type: xs:boolean
optional attribute
Sets this store settings entry as the default JVM setting. Only one entry ca ben configured with this setting set to true.

Used insidessl-settings 

whois-server

DescriptionServer host name to be used for FTP clients session whois lookups.

Contentxs:string

Used insidejafs-service 

Simple types declarations

DynamicIPCheckTime

DescriptionNo type description provided

Base typexs:unsignedByte
Max value25
Min value1

ManagementSecurityProtocol

DescriptionNo type description provided

Base typexs:string
Possible valuesSSL |  TLS |  none

JAASLoginModuleFlagsValues

DescriptionNo type description provided

Base typexs:string
Possible valuesRequisite |  Required |  Sufficient |  Optional

ConsolePortRange

DescriptionNo type description provided

Base typexs:unsignedInt
Max value65536
Min value1024

ReceiverListeningTime

DescriptionNo type description provided

Base typexs:unsignedInt
Max value3600000
Min value100

StatsComputeTime

DescriptionNo type description provided

Base typexs:unsignedInt
Max value43200
Min value10

AvailableLanguages

DescriptionNo type description provided

Base typexs:string
Possible valuesfr_FR |  en_US

SessionEvents

DescriptionNo type description provided

Base typexs:string
Possible values* |  onConnect |  onDisconnect |  onLogin |  onTimeout |  onWelcome |  onWrongCredentials |  onFileDelete |  onFileRenamed |  onFileUploadFinished |  onFileUploadStart |  onFailedFileUpload |  onAbortedFileUpload |  onFileUploadFilterMatch |  onFileDownloadFinished |  onFileDownloadStart |  onFailedFileDownload |  onAbortedFileDownload |  onFileDownloadFilterMatch |  onInputBufferMaxSizeReceived

ServerEvents

DescriptionNo type description provided

Base typexs:string
Possible values* |  onServerClosed |  onServerOpened |  onServerStarted |  onServerStopped |  onServerFatalError |  onBannedUser |  onHammering |  onBlackListMatch |  onTooManyConns |  onTooManyConnsPerIp |  onMemoryShortage

ServicesEvents

DescriptionNo type description provided

Base typexs:string
Possible values* |  onStatRefreshed |  onIPChanged |  onIPBlackListReload |  onCRLReload


 

Copyright © 2005 SuperBonBon Industries. All rights reserved.
Unless otherwise expressly noted, the contents of these pages are licensed under the Creative Commons - Attribution / Share Alike license.