portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject svn commit: r227140 - in /portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF: ./ defipci.xml sipchhi.xml sipcshi.xml spcpv.xml spring/ spring/defipci.xml spring/sipchhi.xml spring/sipcshi.xml spring/spcpv.xml
Date Wed, 03 Aug 2005 00:31:52 GMT
Author: dlestrat
Date: Tue Aug  2 17:31:49 2005
New Revision: 227140

URL: http://svn.apache.org/viewcvs?rev=227140&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-281

Added:
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/
      - copied from r226947, portals/jetspeed-2/trunk/components/security/src/test/META-INF/
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/defipci.xml
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipchhi.xml
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipcshi.xml
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/spcpv.xml
Removed:
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/defipci.xml
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/sipchhi.xml
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/sipcshi.xml
    portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spcpv.xml

Added: portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/defipci.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/defipci.xml?rev=227140&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/defipci.xml
(added)
+++ portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/defipci.xml
Tue Aug  2 17:31:49 2005
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<beans>
+ <!-- MessageDigestCredentialPasswordEncoder usage -->
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordValidator" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultCredentialPasswordValidator"/>
+
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" 
+       class="org.apache.jetspeed.security.spi.impl.MessageDigestCredentialPasswordEncoder">
+       <constructor-arg index="0"><value>SHA-1</value></constructor-arg>
      
+  </bean>       
+
+  <bean id="org.apache.jetspeed.security.spi.InternalPasswordCredentialInterceptor" 
+       class="org.apache.jetspeed.security.spi.impl.InternalPasswordCredentialStateHandlingInterceptor">
+       <constructor-arg index="0"><value>3</value></constructor-arg>
      
+       <constructor-arg index="1"><value>7</value></constructor-arg>
      
+  </bean>
+
+  <bean id="org.apache.jetspeed.security.spi.PasswordCredentialProvider" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultPasswordCredentialProvider">
+       <constructor-arg index="0"><ref bean="org.apache.jetspeed.security.spi.CredentialPasswordValidator"/></constructor-arg>
      
+       <constructor-arg index="1"><ref bean="org.apache.jetspeed.security.spi.CredentialPasswordEncoder"/></constructor-arg>
      
+  </bean>       
+
+  <!-- Security SPI: CredentialHandler -->
+  <bean id="org.apache.jetspeed.security.spi.CredentialHandler" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultCredentialHandler"
+  >       
+       <constructor-arg index="0"><ref bean="org.apache.jetspeed.security.spi.SecurityAccess"/></constructor-arg>
      
+       <constructor-arg index="1"><ref bean="org.apache.jetspeed.security.spi.PasswordCredentialProvider"/></constructor-arg>
      
+       <constructor-arg index="2"><ref bean="org.apache.jetspeed.security.spi.InternalPasswordCredentialInterceptor"/></constructor-arg>
      
+  </bean>
+  
+</beans>

Added: portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipchhi.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipchhi.xml?rev=227140&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipchhi.xml
(added)
+++ portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipchhi.xml
Tue Aug  2 17:31:49 2005
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<beans>
+ <!-- MessageDigestCredentialPasswordEncoder usage -->
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordValidator" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultCredentialPasswordValidator"/>
+
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" 
+       class="org.apache.jetspeed.security.spi.impl.MessageDigestCredentialPasswordEncoder">
+       <constructor-arg index="0"><value>SHA-1</value></constructor-arg>
      
+  </bean>       
+
+  <bean id="org.apache.jetspeed.security.spi.InternalPasswordCredentialInterceptor" 
+       class="org.apache.jetspeed.security.spi.impl.InternalPasswordCredentialHistoryHandlingInterceptor">
+       <constructor-arg index="0"><value>3</value></constructor-arg>
      
+       <constructor-arg index="1"><value>7</value></constructor-arg>
+       <!-- historySize -->       
+       <constructor-arg index="2"><value>3</value></constructor-arg>
      
+  </bean>
+
+  <bean id="org.apache.jetspeed.security.spi.PasswordCredentialProvider" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultPasswordCredentialProvider">
+       <constructor-arg index="0"><ref bean="org.apache.jetspeed.security.spi.CredentialPasswordValidator"/></constructor-arg>
      
+       <constructor-arg index="1"><null/></constructor-arg>       
+  </bean>       
+
+  <!-- Security SPI: CredentialHandler -->
+  <bean id="org.apache.jetspeed.security.spi.CredentialHandler" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultCredentialHandler"
+  >       
+       <constructor-arg index="0"><ref bean="org.apache.jetspeed.security.spi.SecurityAccess"/></constructor-arg>
      
+       <constructor-arg index="1"><ref bean="org.apache.jetspeed.security.spi.PasswordCredentialProvider"/></constructor-arg>
      
+       <constructor-arg index="2"><ref bean="org.apache.jetspeed.security.spi.InternalPasswordCredentialInterceptor"/></constructor-arg>
      
+  </bean>
+  
+</beans>

Added: portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipcshi.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipcshi.xml?rev=227140&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipcshi.xml
(added)
+++ portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/sipcshi.xml
Tue Aug  2 17:31:49 2005
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<beans>
+ <!-- MessageDigestCredentialPasswordEncoder usage -->
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordValidator" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultCredentialPasswordValidator"/>
+
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" 
+       class="org.apache.jetspeed.security.spi.impl.MessageDigestCredentialPasswordEncoder">
+       <constructor-arg index="0"><value>SHA-1</value></constructor-arg>
      
+  </bean>       
+
+  <bean id="org.apache.jetspeed.security.spi.PasswordCredentialProvider" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultPasswordCredentialProvider">
+       <constructor-arg index="0"><ref bean="org.apache.jetspeed.security.spi.CredentialPasswordValidator"/></constructor-arg>
      
+       <constructor-arg index="1"><ref bean="org.apache.jetspeed.security.spi.CredentialPasswordEncoder"/></constructor-arg>
      
+  </bean>       
+</beans>

Added: portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/spcpv.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/spcpv.xml?rev=227140&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/spcpv.xml (added)
+++ portals/jetspeed-2/trunk/components/security/src/test/JETSPEED-INF/spring/spcpv.xml Tue
Aug  2 17:31:49 2005
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<beans>
+ <!-- MessageDigestCredentialPasswordEncoder usage -->
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordValidator" 
+       class="org.apache.jetspeed.security.spi.impl.SimpleCredentialPasswordValidator">
+       <!-- minPasswordLength -->
+       <constructor-arg index="0"><value>8</value></constructor-arg>
+       <!-- minNumberOfDigits -->       
+       <constructor-arg index="1"><value>2</value></constructor-arg>
      
+  </bean>       
+
+  <bean id="org.apache.jetspeed.security.spi.CredentialPasswordEncoder" 
+       class="org.apache.jetspeed.security.spi.impl.MessageDigestCredentialPasswordEncoder">
+       <constructor-arg index="0"><value>SHA-1</value></constructor-arg>
      
+  </bean>       
+
+  <bean id="org.apache.jetspeed.security.spi.PasswordCredentialProvider" 
+       class="org.apache.jetspeed.security.spi.impl.DefaultPasswordCredentialProvider">
+       <constructor-arg index="0"><ref bean="org.apache.jetspeed.security.spi.CredentialPasswordValidator"/></constructor-arg>
      
+       <constructor-arg index="1"><ref bean="org.apache.jetspeed.security.spi.CredentialPasswordEncoder"/></constructor-arg>
      
+  </bean>       
+</beans>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message