- Timestamp:
- 11/20/14 13:47:17 (10 years ago)
- Location:
- DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/CHANGES.txt
r5836 r5840 72 72 be ignored. 73 73 74 November 20, 2014. A new feature: an "all" access mode is added. The user with this permission have 75 the same rights as the owner, that it he can update permissions on the annotation 76 and delete it at all. Also, the pieces of code handling permissions, have been refactored. -
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/UPDATE.txt
r5836 r5840 1 1 2 Placing tarball: take the tar-ball of the new version 1.6 -basic, and follow the3 standard MPI deployment procedure. 2 Placing tarball: take the tar-ball of the new version 1.6.1-shibboleth, and follow the 3 standard MPI deployment procedure. 4 4 5 A new feature: a user with "write" access can update 6 annotation as a whole, but if he also sends permission updates they will be 7 ignored. 5 Update the dasish annotation database with: 6 INSERT INTO access(access_mode) VALUES ('all'); 7 8 A new feature: an "all" access mode is added. The user with this permission have 9 the same rights as the owner, that it he can update permissions on the annotation 10 and delete it at all. 8 11 9 12 -
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/pom.xml
r5836 r5840 5 5 <groupId>eu.dasish.annotation</groupId> 6 6 <artifactId>annotator-backend</artifactId> 7 <version>1.6 -shibboleth</version>7 <version>1.6.1-shibboleth</version> 8 8 <packaging>war</packaging> 9 9 <name>annotator-backend Jersey Webapp</name> -
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/RequestWrappers.java
r5836 r5840 49 49 50 50 public String FORBIDDEN_RESOURCE_ACTION(String identifier, String resource, String action) { 51 return " The logged-in principal cannot " + action + "the " + resource + " with the identifier " + identifier;51 return " The logged-in principal cannot perform action that falls under access mode'" + action + "', with the " + resource + " with the identifier " + identifier; 52 52 } 53 53 -
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/webapp/WEB-INF/shhaa.xml
r5774 r5840 38 38 <username>anonymous</username> 39 39 </fallback> 40 <sso action="lI">https://lux1 7.mpi.nl/Shibboleth.sso/Login</sso>41 <slo action="lO">https://lux1 7.mpi.nl/Shibboleth.sso/Logout</slo>40 <sso action="lI">https://lux16.mpi.nl/Shibboleth.sso/Login</sso> 41 <slo action="lO">https://lux16.mpi.nl/Shibboleth.sso/Logout</slo> 42 42 </authentication> 43 43 -
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/webapp/WEB-INF/web.xml
r5838 r5840 40 40 <context-param> 41 41 <param-name>eu.dasish.annotation.backend.isShibbolethSession</param-name> 42 <param-value> false</param-value>42 <param-value>true</param-value> 43 43 </context-param> 44 44 <context-param> … … 48 48 <context-param> 49 49 <param-name>eu.dasish.annotation.backend.logout.shibboleth</param-name> 50 <param-value>https://lux1 7.mpi.nl/Shibboleth.sso/Logout</param-value>50 <param-value>https://lux16.mpi.nl/Shibboleth.sso/Logout</param-value> 51 51 </context-param> 52 52 … … 111 111 112 112 <!-- Spring security --> 113 <filter>113 <!-- <filter> 114 114 <filter-name>springSecurityFilterChain</filter-name> 115 115 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> … … 118 118 <filter-name>springSecurityFilterChain</filter-name> 119 119 <url-pattern>/*</url-pattern> 120 </filter-mapping> 120 </filter-mapping> --> 121 121 122 122 <!-- Shibboleth filter --> 123 <!--<filter>123 <filter> 124 124 <filter-name>AAIFilter</filter-name> 125 125 <filter-class>de.mpg.aai.shhaa.AuthFilter</filter-class> … … 128 128 <filter-name>AAIFilter</filter-name> 129 129 <url-pattern>/*</url-pattern> 130 </filter-mapping> -->130 </filter-mapping> 131 131 132 132 </web-app>
Note: See TracChangeset
for help on using the changeset viewer.