cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1508376 - in /cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml: DefaultXACMLRequestBuilder.java XACMLRequestBuilder.java
Date Tue, 30 Jul 2013 10:23:15 GMT
Author: coheigea
Date: Tue Jul 30 10:23:15 2013
New Revision: 1508376

URL: http://svn.apache.org/r1508376
Log:
Adding back in XACMLRequestBuilder Resources methods

Modified:
    cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
    cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/XACMLRequestBuilder.java

Modified: cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java?rev=1508376&r1=1508375&r2=1508376&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
Tue Jul 30 10:23:15 2013
@@ -259,6 +259,14 @@ public class DefaultXACMLRequestBuilder 
         this.sendFullRequestURL = sendFullRequestURL;
     }
     
+    public List<String> getResources(Message message) {
+        return Collections.emptyList();
+    }
+    
+    public String getResource(Message message) {
+        return null;
+    }
+    
     private boolean isSOAPService(Message message) {
         return getWSDLOperation(message) != null;
     }

Modified: cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/XACMLRequestBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/XACMLRequestBuilder.java?rev=1508376&r1=1508375&r2=1508376&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/XACMLRequestBuilder.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/XACMLRequestBuilder.java
Tue Jul 30 10:23:15 2013
@@ -44,4 +44,21 @@ public interface XACMLRequestBuilder {
         Principal principal, List<String> roles, Message message
     ) throws Exception;
     
+    /**
+     * Return the list of Resources that have been inserted into the Request.
+     * 
+     * @param message The Message from which to retrieve the resource
+     * @return the list of Resources that have been inserted into the Request
+     */
+    @Deprecated
+    List<String> getResources(Message message);
+    
+    /**
+     * Return the Resource that has been inserted into the Request.
+     * 
+     * @param message The Message from which to retrieve the resource
+     * @return the Resource that has been inserted into the Request
+     */
+    @Deprecated
+    String getResource(Message message);
 }



Mime
View raw message