Project

General

Profile

« Previous | Next » 

Revision 53960

added local user dedicated to access the monitoring urls

View differences:

modules/cnr-inspector-security/trunk/src/main/resources/eu/dnetlib/applicationContext-inspector-security.xml
39 39
		<security:intercept-url pattern="/mvc/ui/**"
40 40
			access="ROLE_USER" />
41 41
		<security:intercept-url pattern="/monitoring/**"
42
			access="ROLE_USER" />
42
			access="ROLE_MONITOR" />
43 43

  
44 44
		<security:anonymous username="guest"
45 45
			granted-authority="ROLE_ANONYMOUS" />
......
51 51
			<security:user-service>
52 52
				<security:user name="admin" password="${inspector.admin.password}"
53 53
					authorities="ROLE_USER" />
54
				<security:user name="monitor" password="${inspector.monitor.password}"
55
				    authorities="ROLE_MONITOR" />
54 56
			</security:user-service>
55 57
		</security:authentication-provider>
56 58
	</security:authentication-manager>
modules/cnr-inspector-security/trunk/src/main/resources/eu/dnetlib/applicationContext-inspector-security.properties
1 1
inspector.admin.password=e2d45d57c7e2941b65c6ccd64af4223e
2

  
2
inspector.monitor.password=d3e58dc6e3fbed20b60d8af2d8b54bb4
modules/cnr-inspector-security/trunk/pom.xml
10 10
	<groupId>eu.dnetlib</groupId>
11 11
	<artifactId>cnr-inspector-security</artifactId>
12 12
	<packaging>jar</packaging>
13
	<version>1.0.2-SNAPSHOT</version>
13
	<version>1.1.2-SNAPSHOT</version>
14 14
<scm>
15 15
    <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/cnr-inspector-security/trunk</developerConnection>
16 16
    </scm>
modules/cnr-inspector-security/trunk/cnr-inspector-security.iml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
3
  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
4 4
    <output url="file://$MODULE_DIR$/target/classes" />
5 5
    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6 6
    <content url="file://$MODULE_DIR$">
......
10 10
    </content>
11 11
    <orderEntry type="inheritedJdk" />
12 12
    <orderEntry type="sourceFolder" forTests="false" />
13
    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
13
    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.9" level="project" />
14
    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.1" level="project" />
14 15
    <orderEntry type="library" name="Maven: org.springframework.security:spring-security-web:3.2.1.RELEASE" level="project" />
15 16
    <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
16 17
    <orderEntry type="library" name="Maven: org.springframework.security:spring-security-core:3.2.1.RELEASE" level="project" />
......
20 21
    <orderEntry type="library" name="Maven: org.springframework:spring-web:3.2.8.RELEASE" level="project" />
21 22
    <orderEntry type="library" name="Maven: org.springframework.security:spring-security-config:3.2.1.RELEASE" level="project" />
22 23
    <orderEntry type="library" name="Maven: org.springframework:spring-aop:3.2.8.RELEASE" level="project" />
23
    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.0.0.RELEASE" level="project" />
24
    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.0.0.RELEASE" level="project" />
24
    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.2.5.RELEASE" level="project" />
25
    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.2.5.RELEASE" level="project" />
25 26
    <orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
26 27
    <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
27 28
  </component>

Also available in: Unified diff