Services are used by Penrose Server to provide interface for Penrose clients. Services are configured in conf/server.xml:
<server>
<service name="...">
<service-class>...</service-class>
<parameter>
<param-name>...</param-name>
<param-value>...</param-value>
</parameter>
</service>
</server>
Penrose contains 2 built-in services:
- JMX Service
- LDAP Service
JMX Service
JMX Service is responsible for handling requests from JMX clients (e.g. Penrose Studio). The default service name is "JMX Service" and class name is "org.safehaus.penrose.management.PenroseJMXService".
| Parameter | Description | Default |
|---|---|---|
| rmiPort | JMX RMI port | 1099 |
| httpPort | JMX HTTP port | 8112 |
LDAP Service
LDAP Service is responsible for handling requests from LDAP clients (e.g. LDAP command line tool, LDAP browser). The default service name is "LDAP Service" and the class name is "org.safehaus.penrose.ldap.PenroseLDAPService".
| Parameter | Description | Default |
|---|---|---|
| ldapPort | LDAP port | 10389 |
| ldapsPort | Secure LDAP port | 10639 |
| allowAnonymousAccess | Allow anonymous access | true |