Portlet Factory, Version 6.1.2
Lotus WCM Access builder Standalone
To run WCM models standalone, you need to create a security constraint to force users to authenticate. For example, you can add the following to web.xml, between SecurityConstraint_5 and EXAMPLE SOAP Security Constraint:
<security-constraint id="SecurityConstraint_6"> <!-- Models with Lotus WCM builder need to log in before proceeding. Applies to models under WEB-INF/models/LotusWCM --> <web-resource-collection id="WebResourceCollection_6"> <web-resource-name>LotusWCM </web-resource-name> <url-pattern>/webengine/test/functionaltests/LotusWCM /*</url-pattern> </web-resource-collection> <auth-constraint id="AuthConstraint_6"> <description>Roles allowed to execute models under test/functionaltests/LotusWCM </description> <role-name>IBMAdministrators</role-name> <role-name>AllAuthenticatedUsers</role-name> </auth-constraint> </security-constraint>Note: The directory (WEB-INF/models/LotusWCM in this example) and the ID need to be changed to suit your system. Rebuild your Development WAR and restart the Web Application in the WebSphere® Application Server Admin Console for the changes to take effect. .
Library | Support |