Note | ||
---|---|---|
| ||
The content below is for Apache Syncope <= 1.2 - for later versions the Getting Started guide is available. |
Table of Contents | ||
---|---|---|
|
Introduction
Once you have created your project, you already have a set of tools for evaluating Syncope in a quite rich scenario, without the need of setting up additional components like JEE container, database, LDAP server and so on.
Running
Go under
Code Block |
---|
console |
From the top-level directory of your project, execute:
Code Block |
---|
mvn clean package |
then, from the console
subdirectory execute subdirectory of your project and execute the following command:
Code Block |
---|
mvn -P embedded
|
Logging
Log files are available under
Code Block |
---|
core/target/log
console/target/log
|
Components available
Syncope core
Syncope core is the main web application, exposing a set of RESTful services.
- Base URL for REST methods: http://localhost:9080/syncope/rest/
- Credentials: 'admin' / 'password'
Syncope console
Syncope console is the administration interface for dealing with Syncope core.
- Access URL: http://localhost:9080/syncope-console
- Credentials: 'admin' / 'password'
Syncope internal storage
Syncope core's persistence is based on JPA: this allows deployment on a wide range of DBMS; when running in embedded mode, H2 (in-memory) is used for internal storage.
An A SQL web interface is available at http://localhost:9082/:9080/syncope/db.jsp:
- Choose configuration 'Generic H2 (Embedded)'
Insert
Code Block jdbc:h2:mem:syncopedb
as JDBC URL
- Click 'Connect' button
External database resource
(Do you want to understand what an external resource is? Check ConnectorInstancesAndResources Connectors and resources).
An H2 TCP database is available for propagation.
An A SQL web interface is available at http://localhost:9082/:
- Choose configuration 'Generic H2 (Server)'
Insert
Code Block jdbc:h2:tcp://localhost:9092/mem:testdb
as JDBC URL
- Set 'sa' as password
- Click 'Connect' button
External LDAP resource
(Do you want to understand what an external resource is? Check ConnectorInstancesAndResources Connectors and resources).
An Apache DS instance is available for propagation.
...
- host: localhost
- port: 1389
base DN:
Code Block o=isp
bind DN:
Code Block uid=admin,ou=system
- bind password: 'secret'
External SOAP resource
(Do you want to understand what an external resource is? Check ConnectorInstancesAndResources Connectors and resources).
An example SOAP server is available at http://localhost:9080/wssample/services.
You can check its internal storage by visiting http://localhost:9080/wssample/exploredb.jsp.DISPLAYTITLE:Run Syncope in embedded mode