Changeset 1118
- Timestamp:
- 2009-03-05 13:09:02 (4 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 4 edited
-
modules/kauri-security/kauri-security-providers/pom.xml (modified) (1 diff)
-
modules/kauri-security/kauri-security-providers/src/main/java/org/kauriproject/security/providers/BelgianEidAuthenticationMechanism.java (added)
-
modules/kauri-security/kauri-security-providers/src/main/java/org/kauriproject/security/providers/BelgianEidPrincipalExtractor.java (added)
-
samples/kauri-security-sample/conf/kauri/connectors.xml (added)
-
samples/kauri-security-sample/conf/security/auth.xml (modified) (1 diff)
-
samples/kauri-security-sample/keystore (added)
-
samples/kauri-security-sample/src/main/java/org/kauriproject/samples/security/SampleBelgianEidPrincipalExtractor.java (added)
-
samples/kauri-security-sample/src/main/kauri/pages/belgian_eid_infopage.html.xml (added)
-
samples/kauri-security-sample/src/main/kauri/pages/index.html.xml (modified) (1 diff)
-
samples/kauri-security-sample/src/main/kauri/pages/realm6 (added)
-
samples/kauri-security-sample/src/main/kauri/pages/realm6/eid.html.xml (added)
-
samples/kauri-security-sample/src/main/kauri/spring/services.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kauri-security/kauri-security-providers/pom.xml
r1100 r1118 24 24 <groupId>org.kauriproject</groupId> 25 25 <artifactId>kauri-security-api</artifactId> 26 </dependency> 27 <dependency> 28 <groupId>org.kauriproject</groupId> 29 <artifactId>kauri-restlet-util</artifactId> 26 30 </dependency> 27 31 <dependency> -
trunk/samples/kauri-security-sample/conf/security/auth.xml
r1109 r1118 73 73 </realm> 74 74 75 <!-- Belgian eID sample --> 76 <realm name="realm6"> 77 <authenticationMechanisms> 78 <authenticationMechanism moduleId="samples.security" beanId="beidAuthMechanism"/> 79 </authenticationMechanisms> 80 <authenticationManager moduleId="samples.security" beanId="authenticationManager"/> 81 <accessDecisionManager moduleId="samples.security" beanId="accessDecisionManager"/> 82 <protect module="samples.security" restservice="main"> 83 <protect path="/realm6/**" access="ROLE_USER"/> 84 </protect> 85 </realm> 86 75 87 </realms> 76 88 </auth> -
trunk/samples/kauri-security-sample/src/main/kauri/pages/index.html.xml
r1116 r1118 83 83 <li><a href="logout2">Logout (from realm 5)</a></li> 84 84 </ul> 85 86 <h3>Realm 6: Belgian eID</h3> 87 88 <p>Illustrates Belgian eID authentication, which is a case of https with client certificates, 89 whereby the user's private key is stored on a smart card.</p> 90 91 <p>To use this sample, you need to have a Belgian eID card, a smart cart reader, and 92 <a href="http://eid.belgium.be">follow the installation instructions</a>. You will need 93 to accept the server's (= localhost) self-signed certificate.</p> 94 95 <ul> 96 <li><a href="realm6/eid.html">eID protected page</a></li> 97 </ul> 85 98 </t:block> 86 99 </html> -
trunk/samples/kauri-security-sample/src/main/kauri/spring/services.xml
r1115 r1118 138 138 </bean> 139 139 140 <bean id="beidAuthMechanism" class="org.kauriproject.security.providers.BelgianEidAuthenticationMechanism"> 141 <property name="principalExtractor" ref="beidPrincipalExtractor"/> 142 <property name="httpsPort" value="8443"/> <!-- See also the port number in connectors.xml --> 143 <property name="challengePage" value="service:/main/belgian_eid_infopage.html"/> 144 <property name="restletContext" ref="restletContext"/> 145 </bean> 146 147 <bean id="beidPrincipalExtractor" class="org.kauriproject.samples.security.SampleBelgianEidPrincipalExtractor"/> 148 140 149 </beans>
Note: See TracChangeset
for help on using the changeset viewer.