git clone https://@opensourceprojects.eu/git/p/timbus/domain/llm timbus-domain-llm



File Date Author Commit
README.md 2015-02-10 cecoutinho cecoutinho [4c01fc] moved from ../../b7a0
searchResponseExample.xml 2015-02-10 cecoutinho cecoutinho [4c01fc] moved from ../../b7a0

Read Me

Legal Monitoring

Security

  • the tool uses container based security
  • the userdatabaserealm is used by default

Server side

tomcat-users.xml:

<tomcat-users>
  <role rolename="user"/>
  <user password="llmtest" roles="user" username="llmtest"/>
</tomcat-users>

server.xml:

<GlobalNamingResources>
   <Resource 
     auth="Container"
     factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
     name="UserDatabase" pathname="conf/tomcat-users.xml"
     type="org.apache.catalina.UserDatabase"/>
</GlobalNamingResources>

And at least the web.xml:

<security-constraint>
  <web-resource-collection>
    <web-resource-name>user</web-resource-name>
    <url-pattern>/*</url-pattern>
  </web-resource-collection>
  <auth-constraint>
    <role-name>user</role-name>
  </auth-constraint>
</security-constraint>
<security-constraint>
  <web-resource-collection>
    <web-resource-name>Public</web-resource-name>
    <description>Matches a few special pages.</description>
    <url-pattern>...</url-pattern>
  </web-resource-collection>
</security-constraint>
<security-role>
  <description>A role for doing the legal stuff</description>
  <role-name>user</role-name>
</security-role>
<login-config>
  <auth-method>FORM</auth-method>
  <realm-name>UserDatabase</realm-name>      
  <form-login-config>
    <form-login-page>/login.html</form-login-page>
    <form-error-page>/login.html</form-error-page>        
  </form-login-config>
</login-config>

Virtual Box

  • the survey is running in a CM19 VM
  • password dneail01

LimeSurvey

XSite-Scripting

It is needed, to harmonize the machine, port and protocol for accessing and storing the survey. At the moment j2ep is used as a proxy, redirecting the requests to the llm tool.

It seems, that there is an issue with special characters. It is needed, to search for the author Atli... and remove the surename.

  • Wie funktioniert der Zugriff für den Proxy (XSite-Scripting)

C:\Users\drd\projects\apache-tomcat-7.0.34\webapps