[jboss-cvs] JBossAS SVN: r88344 - branches/JBPAPP_4_2_0_GA_CP/webservices/src/main/org/jboss/wsf/container/jboss42.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 7 05:23:18 EDT 2009


Author: darran.lofthouse at jboss.com
Date: 2009-05-07 05:23:17 -0400 (Thu, 07 May 2009)
New Revision: 88344

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

Modified: branches/JBPAPP_4_2_0_GA_CP/webservices/src/main/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/webservices/src/main/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java	2009-05-07 08:55:03 UTC (rev 88343)
+++ branches/JBPAPP_4_2_0_GA_CP/webservices/src/main/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java	2009-05-07 09:23:17 UTC (rev 88344)
@@ -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