Addon container
Introduction
Addon containers can be deployed on the Soffid console, using the addon management page.
These addons are bare jar files that are containing some other addons as well as an index file, named META-INF/soffid-plugin.xml. This file can contain the following tags:
Tag
|
Description
|
---|---|
name | Friendly add-on name |
version | Version number |
core |
Identifies a business logic or common classes addon. The following attributes are mandatory: name: addon name resource: add-on entry name |
web |
Identifies a web addon. The following attributes are mandatory: name: addon name resource: add-on entry name |
webservice |
Identifies a webservice (.aar) addon. The following attributes are mandatory: name: addon name resource: add-on entry name |
agents |
Identifies a connector (.jar) addon. The following attributes are mandatory: name: addon name resource: add-on entry name |
agents/agent |
Register a connector stored on a a agents connector addon. It has the following inner tags: name : Connector name javaClass: Java class that implements the connector userInterface: ZK page that is used to configure the agent. It must be placed into agents connector addon enableAccessControl: contains "true" when the access control tab must be enabled for this connector. |
Here you have a sample soffid addon descriptor
<?xml version="1.0" encoding="UTF-8"?>
<SoffidIAMPlugin xmlns="http://www.soffid.com/schema/iam-plugin-v1">
<name>Soffid Identity Federation</name>
<version>${pom.version}</version>
<core name="Federation common classes" resource="federation-common-1.0.0.jar"/>
<core name="Federation core classes" resource="federation-core-1.0.0.jar"/>
<web name="Federation web files" resource="federation-web-1.0.0.war"/>
<agents name="SAML Identity Provider (IDP)" resource="saml-idp-1.0.0.jar">
<agent>
<name>SAML Identity Provider</name>
<javaClass>com.soffid.iam.addons.federation.agent.IDPAgent</javaClass>
<userInterface>IDPAgent.zul</userInterface>
<enableAccessControl>false</enableAccessControl>
</agent>
</agents>
</SoffidIAMPlugin>