org.wso2.solutions.identity.openid
Class OpenIDExtensionFactory

java.lang.Object
  extended by org.wso2.solutions.identity.openid.OpenIDExtensionFactory

public class OpenIDExtensionFactory
extends java.lang.Object


Method Summary
 OpenIDExtension getExtension(OpenIDAuthenticationRequest request)
          Create an instance of the OpenIDExtension based on the OpenID extension type
static OpenIDExtensionFactory getInstance()
          Returns a singleton instance of OpenIDExtensionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static OpenIDExtensionFactory getInstance()
Returns a singleton instance of OpenIDExtensionFactory

Returns:
An instance of OpenIDExtensionFactory

getExtension

public OpenIDExtension getExtension(OpenIDAuthenticationRequest request)
Create an instance of the OpenIDExtension based on the OpenID extension type

Parameters:
alias - Extension alias
auth - AuthRequest instance
Returns:
Appropriate OpenIDExtension instance