Author: darran.lofthouse(a)jboss.com
Date: 2009-01-13 11:37:46 -0500 (Tue, 13 Jan 2009)
New Revision: 9016
Modified:
container/jboss42/branches/jboss422/pom.xml
container/jboss42/branches/jboss422/src/main/java/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java
Log:
[JBWS-1999] WS-Security, authentication and authorization for POJO endpoints - Testsuite
fixes.
Modified: container/jboss42/branches/jboss422/pom.xml
===================================================================
--- container/jboss42/branches/jboss422/pom.xml 2009-01-13 10:19:01 UTC (rev 9015)
+++ container/jboss42/branches/jboss422/pom.xml 2009-01-13 16:37:46 UTC (rev 9016)
@@ -26,7 +26,7 @@
<properties>
<jboss.version>4.2.2.GA</jboss.version>
<jbossws.common.version>1.0.8.GA</jbossws.common.version>
- <jbossws.spi.version>1.0.7.GA</jbossws.spi.version>
+ <jbossws.spi.version>1.0.8-SNAPSHOT</jbossws.spi.version>
<!-- versions defined in build/build-thirdparty.xml -->
<dom4j.version>1.6.1</dom4j.version>
<jboss.aop.version>1.5.6.GA</jboss.aop.version>
Modified:
container/jboss42/branches/jboss422/src/main/java/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java
===================================================================
---
container/jboss42/branches/jboss422/src/main/java/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java 2009-01-13
10:19:01 UTC (rev 9015)
+++
container/jboss42/branches/jboss422/src/main/java/org/jboss/wsf/container/jboss42/SecurityAdaptorImpl.java 2009-01-13
16:37:46 UTC (rev 9016)
@@ -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);
+ }
}
Show replies by date