[jboss-cvs] Picketlink SVN: r1219 - social/trunk/facebook/src/main/java/org/picketlink/social/facebook.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 13 00:14:11 EDT 2011


Author: anil.saldhana at jboss.com
Date: 2011-09-13 00:14:10 -0400 (Tue, 13 Sep 2011)
New Revision: 1219

Modified:
   social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookAuthenticator.java
Log:
add the additional method

Modified: social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookAuthenticator.java
===================================================================
--- social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookAuthenticator.java	2011-09-13 03:38:43 UTC (rev 1218)
+++ social/trunk/facebook/src/main/java/org/picketlink/social/facebook/FacebookAuthenticator.java	2011-09-13 04:14:10 UTC (rev 1219)
@@ -134,6 +134,15 @@
       super.start();
    }
 
+   public boolean authenticate(HttpServletRequest request, HttpServletResponse response, LoginConfig loginConfig) throws IOException
+   {
+      if(request instanceof Request == false)
+         throw new IOException("Not of type Catalina request");
+      if(response instanceof Response == false)
+         throw new IOException("Not of type Catalina response");
+      return authenticate((Request)request, (Response)response, loginConfig);
+   }
+   
    @Override
    public boolean authenticate(Request request, Response response, LoginConfig loginConfig) throws IOException
    {  



More information about the jboss-cvs-commits mailing list