[jboss-cvs] JBossAS SVN: r83306 - in branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640: webservices/src/main/org/jboss/wsf/container/jboss42 and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 22 11:42:08 EST 2009


Author: darran.lofthouse at jboss.com
Date: 2009-01-22 11:42:08 -0500 (Thu, 22 Jan 2009)
New Revision: 83306

Modified:
   branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/build/build-thirdparty.xml
   branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/webservices/src/main/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java
Log:
[JBPAPP-1640] WS-Security Usename Token Profile JAAS Implementation for JSE based WebServices.

Modified: branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/build/build-thirdparty.xml
===================================================================
--- branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/build/build-thirdparty.xml	2009-01-22 15:38:07 UTC (rev 83305)
+++ branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/build/build-thirdparty.xml	2009-01-22 16:42:08 UTC (rev 83306)
@@ -35,7 +35,7 @@
   </condition>
 
   <!-- set jbossws component name/version depending on whether we are building 4.2 or 4.3 -->
-  <condition property="jbws.version" value="2.0.1.SP2_CP04-brew" else="1.2.1.GA_CP03-brew">
+  <condition property="jbws.version" value="2.0.1.SP2_CP04_JBPAPP-1640" else="1.2.1.GA_CP03-brew">
     <isset property="build.soa.bits"/>
   </condition>
 

Modified: branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/webservices/src/main/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java
===================================================================
--- branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/webservices/src/main/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java	2009-01-22 15:38:07 UTC (rev 83305)
+++ branches/JBPAPP_4_3_0_GA_CP03_JBPAPP-1640/webservices/src/main/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java	2009-01-22 16:42:08 UTC (rev 83306)
@@ -25,6 +25,8 @@
 
 import java.security.Principal;
 
+import javax.security.auth.Subject;
+
 import org.jboss.security.SecurityAssociation;
 import org.jboss.wsf.spi.invocation.SecurityAdaptor;
 
@@ -59,4 +61,9 @@
    {
       SecurityAssociation.setCredential(credential);
    }
+   
+   public void pushSubjectContext(Subject subject, Principal principal, Object credential)
+   {
+      SecurityAssociation.pushSubjectContext(subject, principal, credential);
+   }   
 }




More information about the jboss-cvs-commits mailing list