You must define a component XML file in order to deploy the external authorization 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 external authorization handler. Notice that the service name is PrintControlSPISample and the operation this service exposes is named evaluate. The input parameter is com.adobe.edc.server.spi.authorization.ExternalAuthDTO and the output value is com.adobe.edc.server.spi.authorization.ExternalAuthResultDTO.<component xmlns="http://adobe.com/idp/dsc/component/document"><component-id>com.adobe.livecycle.samples.externalauthorization</component-id><version>1.0</version><class-path>adobe-livecycle-client.jar edc-server-spi.jar adobe-rightsmanagement-client.jar adobe-usermanager-client.jar</class-path><services><service name="PrintControlSPISample"><specifications><specification spec-id="com.adobe.edc.server.spi.authorization.ExternalAuthorizer"/></specifications><specification-version>1.0</specification-version><implementation-class>com.adobe.livecycle.samples.externalauthorization.provider.PrintServiceSPISample</implementation-class><auto-deploy category-id="Samples" service-id="PrintControlSPISample" major-version="1" minor-version="0"/><operations><operation name="evaluate"><input-parameter name="input" type="com.adobe.edc.server.spi.authorization.ExternalAuthDTO" required="true"/><output-parameter name="result" type="com.adobe.edc.server.spi.authorization.ExternalAuthResultDTO"/></operation><operation name="getProviderProperties"><output-parameter name="result" type="com.adobe.edc.server.spi.authorization.ExternalAuthPropertyDTO"/></operation></operations></service></services></component>
| 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.html