Developing SPIs for LiveCycle ES > Creating an Invite External Users Handler > Defining the component XML file for the authorization handler

Defining the component XML file for the authorization handler
You must define a component XML file in order to deploy the invite external users handler component. A component XML file exists for each component and provides metadata about the component. For information about the component XML file, see Component XML Elements.
The following component.xml file is used for the invite external users handler. Notice that the service name is InviteExternalUsersSample and the operation this service exposes is named invitedUser. The input parameter is a java.util.List instance and the output value is an array of com.adobe.edc.server.spi.esrp.InvitedUserProviderResult instances.
Example: Defining the component XML file for the invite external users handler
<component xmlns=”http://adobe.com/idp/dsc/component/document”>
<component-id>com.adobe.livecycle.samples.inviteexternalusers</component-id>
<version>1.0</version>
<bootstrap-class>com.adobe.livecycle.samples.inviteexternalusers.provider.BootstrapImpl</bootstrap-class>
<descriptor-class>com.adobe.idp.dsc.component.impl.DefaultPOJODescriptorImpl</descriptor-class>
<services>
<service name=”InviteExternalUsersSample”>
<specifications>
<specification spec-id=”com.adobe.edc.server.spi.ersp.InvitedUserProvider”/>
</specifications>
<specification-version>1.0</specification-version>
<implementation-class>com.adobe.livecycle.samples.inviteexternalusers.provider.InviteExternalUsersSample</implementation-class>
<auto-deploy category-id=”Samples” service-id=”InviteExternalUsersSample” major-version=”1” minor-version=”0”/>
<operations>
<operation name=”invitedUser”>
<input-parameter name=”input” type=”java.util.List” required=”true”/>
<output-parameter name=”result” type=”com.adobe.edc.server.spi.esrp.InvitedUserProviderResult[]”/>
</operation>
</operations>
</service>
</services>
</component>

Developing SPIs for LiveCycle ES > Creating an Invite External Users Handler > Defining the component XML file for the authorization handler

Programming with LiveCycle ES (LiveDocs)
Adobe LiveCycle ES Update 1

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000913_2.html