org.hardtokenmgmt.admin.model
Class DefaultCALogoSelector

java.lang.Object
  extended by org.hardtokenmgmt.admin.model.DefaultCALogoSelector
All Implemented Interfaces:
ICALogoSelector

public class DefaultCALogoSelector
extends java.lang.Object
implements ICALogoSelector

The default logo selector that finds the logo image of the CAs with the following name:

  • eIDCA
  • eSignCA
  • MSDomainCA
  • ServerCA

    Version:
    $Id$
    Author:
    Philip Vendil 4 mar 2009

    Constructor Summary
    DefaultCALogoSelector()
               
     
    Method Summary
     java.lang.String getLogo(CAInfoVO cAInfoVO)
              Method that should return the filename of the image resource associated with the given CA information.
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    DefaultCALogoSelector

    public DefaultCALogoSelector()
    Method Detail

    getLogo

    public java.lang.String getLogo(CAInfoVO cAInfoVO)
    Description copied from interface: ICALogoSelector
    Method that should return the filename of the image resource associated with the given CA information.

    Specified by:
    getLogo in interface ICALogoSelector
    Parameters:
    cAInfoVO - the info to find an appropriate image for.
    Returns:
    a image filename in the resources.
    See Also:
    ICALogoSelector.getLogo(org.hardtokenmgmt.admin.common.CAInfoVO)