Changeset 5323
- Timestamp:
- 06/04/14 14:21:18 (10 years ago)
- Location:
- VirtualCollectionRegistry/trunk/VirtualCollectionRegistry
- Files:
-
- 1 added
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/pom.xml
r5312 r5323 437 437 <type>jar</type> 438 438 </dependency> 439 <dependency> 440 <groupId>de.mpg.mpgaai</groupId> 441 <artifactId>mpgaai-shhaa</artifactId> 442 <version>1.0.4</version> 443 </dependency> 439 444 </dependencies> 440 445 -
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/resources/log4j.properties
r5307 r5323 3 3 log4j.appender.Console.layout.conversionPattern=%d %p [%c#%M:%L] - %m%n 4 4 5 log4j.appender.File.File=${catalina.base}/logs/v lo.log5 log4j.appender.File.File=${catalina.base}/logs/vcr.log 6 6 log4j.appender.File=org.apache.log4j.DailyRollingFileAppender 7 7 log4j.appender.File.layout=org.apache.log4j.PatternLayout -
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/WEB-INF/web-shib.xml
r5312 r5323 6 6 <display-name>CLARIN Virtual Collection Registry</display-name> 7 7 8 <!-- Shibboleth --> 9 10 <context-param> 11 <param-name>ShhaaConfigLocation</param-name> 12 <param-value>/WEB-INF/shhaa.xml</param-value> 13 </context-param> 14 15 <!-- Make sure this one is declared before the wicket filter, the order matters. Shibboleth should trigger the login, before continuing with the wicket filter.--> 16 <filter> 17 <filter-name>AAIFilter</filter-name> 18 <filter-class>de.mpg.aai.shhaa.AuthFilter</filter-class> 19 </filter> 20 <filter-mapping> 21 <filter-name>AAIFilter</filter-name> 22 <url-pattern>/*</url-pattern> 23 </filter-mapping> 24 25 <!-- Spring --> 26 8 27 <listener> 9 28 <listener-class>eu.clarin.cmdi.virtualcollectionregistry.rest.ContextListener</listener-class> 10 29 </listener> 30 31 <!-- Persistence --> 11 32 12 33 <filter> … … 86 107 </resource-ref> 87 108 88 <!--89 Security constraints; authentication mechanism must be configured90 by means of a security realm (by default the UserDatabaseRealm is91 configured in Tomcat, which uses the tomcat-users.xml file)92 -->93 <security-constraint>94 <display-name>REST-Web-Service</display-name>95 <web-resource-collection>96 <web-resource-name>REST-Web-Service</web-resource-name>97 <description></description>98 <url-pattern>/service/virtualcollection</url-pattern>99 <http-method>POST</http-method>100 </web-resource-collection>101 <web-resource-collection>102 <web-resource-name>REST-Web-Service</web-resource-name>103 <description></description>104 <url-pattern>/service/virtualcollection/*</url-pattern>105 <http-method>DELETE</http-method>106 <http-method>POST</http-method>107 <http-method>PUT</http-method>108 </web-resource-collection>109 <web-resource-collection>110 <web-resource-name>REST-Web-Service</web-resource-name>111 <description></description>112 <url-pattern>/service/my-virtualcollections</url-pattern>113 <http-method>GET</http-method>114 </web-resource-collection>115 <web-resource-collection>116 <web-resource-name>VirtualCollectionRegistryApplication</web-resource-name>117 <description></description>118 <url-pattern>/app/login</url-pattern>119 <http-method>GET</http-method>120 </web-resource-collection>121 <auth-constraint>122 <role-name>*</role-name>123 </auth-constraint>124 </security-constraint>125 126 <login-config>127 <auth-method>BASIC</auth-method>128 </login-config>129 130 <security-role>131 <role-name>*</role-name>132 </security-role>133 134 109 <mime-mapping> 135 110 <extension>xsd</extension>
Note: See TracChangeset
for help on using the changeset viewer.