cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1328432 - in /cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter: AbstractServiceProviderFilter.java SamlPostBindingFilter.java SamlRedirectBindingFilter.java
Date Fri, 20 Apr 2012 16:18:56 GMT
Author: sergeyb
Date: Fri Apr 20 16:18:56 2012
New Revision: 1328432

URL: http://svn.apache.org/viewvc?rev=1328432&view=rev
Log:
Fixing few typos in the rs security module

Modified:
    cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
    cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlPostBindingFilter.java
    cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlRedirectBindingFilter.java

Modified: cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java?rev=1328432&r1=1328431&r2=1328432&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
(original)
+++ cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
Fri Apr 20 16:18:56 2012
@@ -109,7 +109,7 @@ public abstract class AbstractServicePro
         return URLEncoder.encode(encodedRequestMessage, "UTF-8");
     }
 
-    protected SamlRequestInfo createSamlResponseInfo(Message m) throws Exception {
+    protected SamlRequestInfo createSamlRequestInfo(Message m) throws Exception {
         Document doc = DOMUtils.createDocument();
         doc.appendChild(doc.createElement("root"));
  

Modified: cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlPostBindingFilter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlPostBindingFilter.java?rev=1328432&r1=1328431&r2=1328432&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlPostBindingFilter.java
(original)
+++ cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlPostBindingFilter.java
Fri Apr 20 16:18:56 2012
@@ -31,12 +31,12 @@ public class SamlPostBindingFilter exten
             return null;
         } else {
             try {
-                SamlRequestInfo info = createSamlResponseInfo(m);
+                SamlRequestInfo info = createSamlRequestInfo(m);
                 info.setIdpServiceAddress(getIdpServiceAddress());
                 // This depends on RequestDispatcherProvider linking
                 // SamlResponseInfo with the jsp page which will fill
                 // in the XHTML form using SamlResponseInfo
-                // in principle we could've builf the XHTML form right here
+                // in principle we could've built the XHTML form right here
                 // but it will be cleaner to get that done in JSP
                 return Response.ok(info).type("text/html").build();
                 

Modified: cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlRedirectBindingFilter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlRedirectBindingFilter.java?rev=1328432&r1=1328431&r2=1328432&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlRedirectBindingFilter.java
(original)
+++ cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/SamlRedirectBindingFilter.java
Fri Apr 20 16:18:56 2012
@@ -32,7 +32,7 @@ public class SamlRedirectBindingFilter e
             return null;
         } else {
             try {
-                SamlRequestInfo info = createSamlResponseInfo(m);
+                SamlRequestInfo info = createSamlRequestInfo(m);
                 UriBuilder ub = UriBuilder.fromUri(getIdpServiceAddress());
                 ub.queryParam(SAML_REQUEST, info.getEncodedSamlRequest());
                 if (info.getRelayState() != null) {



Mime
View raw message