Author: anil.saldhana(a)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
{
Show replies by date