g-Eclipse
Release 1.0.0

eu.geclipse.ui
Class AbstractAuthTokenUIFactory

java.lang.Object
  extended by eu.geclipse.ui.AbstractAuthTokenUIFactory
All Implemented Interfaces:
IAuthTokenUIFactory

public abstract class AbstractAuthTokenUIFactory
extends java.lang.Object
implements IAuthTokenUIFactory

Abstract implementation of the IAuthTokenUIFactory that provides methods for finding extensions of the authentication ui factory mechanism.


Constructor Summary
AbstractAuthTokenUIFactory()
           
 
Method Summary
static IAuthTokenUIFactory findFactory(IAuthenticationToken token)
          Find an IAuthTokenUIFactory that is able to provide UI elements for the specified authentication token.
static IAuthTokenUIFactory findFactory(IAuthenticationTokenDescription description)
          Find an IAuthTokenUIFactory that is able to provide UI elements for tokens described by the specified authentication token description.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.geclipse.ui.IAuthTokenUIFactory
getInfoDialog, getSupportedDescription
 

Constructor Detail

AbstractAuthTokenUIFactory

public AbstractAuthTokenUIFactory()
Method Detail

findFactory

public static IAuthTokenUIFactory findFactory(IAuthenticationToken token)
Find an IAuthTokenUIFactory that is able to provide UI elements for the specified authentication token.

Parameters:
token - The token to provide UI elements for.
Returns:
An authentication token manager that is capable to provide UI elements for the specified token.

findFactory

public static IAuthTokenUIFactory findFactory(IAuthenticationTokenDescription description)
Find an IAuthTokenUIFactory that is able to provide UI elements for tokens described by the specified authentication token description.

Parameters:
description - The token description that describes tokens to provide UI elements for.
Returns:
An authentication token manager that is capable to provide UI elements for tokens describes by the the specified token description.

g-Eclipse
Release 1.0.0