- Timestamp:
- 02/25/15 21:08:35 (9 years ago)
- Location:
- DASISH/t5.6/backend/annotator-backend/tags/git-copy-censored
- Files:
-
- 2 deleted
- 5 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/backend/annotator-backend/tags/git-copy-censored/annotator-backend/src/main/sql/principal_non-shibb.sql
r4995 r6062 37 37 38 38 INSERT INTO users(username, password) VALUES 39 (' olhsha@mpi.nl','07bb23ab0eca1757ec95a96312a063bbc69c1c3788f08d23994e371c3bff9bede3583f30e319fedbc96356352ff3bb0045d01ccd45a49f58a21baa52d925c7e2');40 INSERT INTO users(username, password) VALUES (' olasei@mpi.nl','cecc2ce46d93555c4cfb747f1313dce819c934626db2716728c07c4f505a43b470ed988f84397505f9c988bf60e61952260e93bc75b91eb733fcaf9c13845e5d');39 ('alice@mail.domain','someverylonghash...'); 40 INSERT INTO users(username, password) VALUES ('bob@mail.domain','anotherlonghash...'); 41 41 42 INSERT INTO authorities(username, authority) VALUES (' olhsha@mpi.nl', 'ROLE_USER');43 INSERT INTO authorities(username, authority) VALUES (' olasei@mpi.nl', 'ROLE_USER');42 INSERT INTO authorities(username, authority) VALUES ('alice@mail.domain', 'ROLE_USER'); 43 INSERT INTO authorities(username, authority) VALUES ('bob@mail.domain', 'ROLE_USER'); -
DASISH/t5.6/backend/annotator-backend/tags/git-copy-censored/annotator-backend/src/main/webapp/META-INF/context.xml
r4603 r6062 19 19 20 20 --> 21 <!-- IMPORTANT: Set your username and password attributes below! --> 21 22 <Context antiJARLocking="true" path="/annotator-backend"> 22 23 <Resource auth="Container" … … 24 25 logAbandoned="true" maxActive="10" maxIdle="5" maxWait="4000" 25 26 name="jdbc/DASISHAnnotator" 26 password=" dasish"27 password="password" 27 28 removeAbandoned="false" 28 29 removeAbandonedTimeout="10" 29 30 type="javax.sql.DataSource" 30 31 url="jdbc:postgresql:annotator" 31 username=" dasish"/>32 username="username"/> 32 33 </Context> -
DASISH/t5.6/backend/annotator-backend/tags/git-copy-censored/annotator-backend/src/main/webapp/WEB-INF/shhaa.xml
r5892 r6062 38 38 <username>anonymous</username> 39 39 </fallback> 40 <sso action="lI">https:// corpus1.mpi.nl/Shibboleth.sso/Login</sso>41 <slo action="lO">https:// corpus1.mpi.nl/Shibboleth.sso/Logout</slo>40 <sso action="lI">https://yourserver/Shibboleth.sso/Login</sso> 41 <slo action="lO">https://yourserver/Shibboleth.sso/Logout</slo> 42 42 </authentication> 43 43 -
DASISH/t5.6/backend/annotator-backend/tags/git-copy-censored/annotator-backend/src/main/webapp/WEB-INF/web.xml
r5892 r6062 48 48 <context-param> 49 49 <param-name>eu.dasish.annotation.backend.logout.shibboleth</param-name> 50 <param-value>https:// corpus1.mpi.nl/Shibboleth.sso/Logout</param-value>50 <param-value>https://yourserver/Shibboleth.sso/Logout</param-value> 51 51 </context-param> 52 52 … … 86 86 </servlet-mapping> 87 87 88 <!-- <security-constraint> 89 <display-name>Protected backend localhost</display-name> 90 <web-resource-collection> 91 <web-resource-name> Protected backend rest service</web-resource-name> 92 <description /> 93 <url-pattern>/*</url-pattern> 94 <http-method>GET</http-method> 95 <http-method>DELETE</http-method> 96 <http-method>PUT</http-method> 97 <http-method>POST</http-method> 98 </web-resource-collection> 99 <auth-constraint> 100 <role-name>tomcat</role-name> 101 </auth-constraint> 102 </security-constraint> 103 <login-config> 104 <auth-method>BASIC</auth-method> 105 </login-config> 106 <security-role> 107 <description> The role that is required to log in to the Application 108 </description> 109 <role-name>tomcat</role-name> 110 </security-role> --> 111 88 <!-- ATTENTION: uncomment spring security filter and comment shibboleth filter if you want to use spring security --> 112 89 <!-- Spring security --> 113 90 <!-- <filter> -
DASISH/t5.6/backend/annotator-backend/tags/git-copy-censored/annotator-backend/src/test/resources/test-data/InsertTestData.sql
r5850 r6062 27 27 INSERT INTO access(access_mode) VALUES ('all'); 28 28 29 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Twan', '00000000-0000-0000-0000-000000000111', ' twagoo@mpi.nl', 'Twan.Goosen@mpi.nl', 'developer'); --130 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Peter', '00000000-0000-0000-0000-000000000112', ' petwit@mpi.nl', 'Peter.Withers@mpi.nl', 'developer'); -- 231 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES (' Olha', '00000000-0000-0000-0000-000000000113', 'olhsha@mpi.nl', 'Olha.Shakaravska@mpi.nl', 'admin'); -- 332 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Eric', '00000000-0000-0000-0000-000000000114', 'eric aprincipal@mpi.nl', 'Eric.Auer@mpi.nl', 'developer'); -- 433 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Daan', '00000000-0000-0000-0000-000000000115', ' broeder@mpi.ml', 'Daan.Broeder@mpi.nl', 'developer'); --534 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Menzo', '00000000-0000-0000-0000-000000000116', ' menwin@mpi.nl', 'Menzo.Windhouwer@mpi.nl', 'developer'); -- 635 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Przemek', '00000000-0000-0000-0000-000000000117', ' przlen@mpi,nl', 'Przemek.Lenkiewicz@mpi.nl', 'principal'); -- 736 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Stephanie', '00000000-0000-0000-0000-000000000118', ' gusrotst@gu.se', 'stephanie.roth@gu.se', 'developer'); -- 837 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Olof', '00000000-0000-0000-0000-000000000119', ' gusolsol@gu.se', 'olof.olsson.2@gu.se', 'developer'); -- 938 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Willem', '00000000-0000-0000-0000-000000000220', 'wil elb@mpi.nl', 'Willem.Elbers@mpi.nl', 'developer'); -- 1039 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES (' Olaf', '00000000-0000-0000-0000-000000000221', 'olasei@mpi.nl', 'Olaf.Seibert@mpi.nl', 'developer'); -- 1129 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Twan', '00000000-0000-0000-0000-000000000111', 'x@mail.domain', 'X.Developer@mail.domain', 'developer'); --1 30 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Peter', '00000000-0000-0000-0000-000000000112', 'y@mail.domain', 'Y.Developer@mail.domain', 'developer'); -- 2 31 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Alice', '00000000-0000-0000-0000-000000000113', 'alice@mmail.domain', 'Alice.X@mail.domain', 'admin'); -- 3 32 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Eric', '00000000-0000-0000-0000-000000000114', 'eric@mail.domain', 'Eric.Y@mail.domain', 'developer'); -- 4 33 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Daan', '00000000-0000-0000-0000-000000000115', 'z@mail.domain', 'Daan.Z@mail.domain', 'developer'); --5 34 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Menzo', '00000000-0000-0000-0000-000000000116', 'u@mail.domain', 'Menzo.U@mail.domain', 'developer'); -- 6 35 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Przemek', '00000000-0000-0000-0000-000000000117', 'w@mail.domain', 'Przemek.W@mail.domain', 'principal'); -- 7 36 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Stephanie', '00000000-0000-0000-0000-000000000118', 's@mail.se', 'Stephanie.s@mail.se', 'developer'); -- 8 37 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Olof', '00000000-0000-0000-0000-000000000119', 'o@mail.se', 'olof.o@mail.se', 'developer'); -- 9 38 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Willem', '00000000-0000-0000-0000-000000000220', 'wil@mail.domain', 'Willem.Wil@mail.domain', 'developer'); -- 10 39 INSERT INTO principal (principal_name, external_id, remote_id, e_mail, account) VALUES ('Bob', '00000000-0000-0000-0000-000000000221', 'bob@mail.domain', 'Bob.Y@mail.domain', 'developer'); -- 11 40 40 41 41
Note: See TracChangeset
for help on using the changeset viewer.