psdi.iface.router

Class OAUTHClientCacheImpl

  • java.lang.Object
    • psdi.iface.router.OAUTHClientCacheImpl
  • All Implemented Interfaces:
    MaximoCache


    public class OAUTHClientCacheImpl
    extends java.lang.Object
    implements MaximoCache
    Loads oauth2 client information
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map getAllClients()
      Get all the defined endpoints.
      OAUTHClientInfo getClientInfo(java.lang.String clientName)
      Get the EndPointInfo object
      java.lang.String getName()
      Returns the name as registered in Maximo Cache
      void init()
      Initialize the EndPointCache
      void reload()
      Refresh the EndPointCache
      void reload(java.lang.String key)
      Reload a paricular key in memory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OAUTHClientCacheImpl

        public OAUTHClientCacheImpl()
    • Method Detail

      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Reload a paricular key in memory. Not implemented (exists only for compilation sake)
        Specified by:
        reload in interface MaximoCache
        Parameters:
        key - to reload
        Throws:
        MXException - Maximo Exception
      • getName

        public java.lang.String getName()
        Returns the name as registered in Maximo Cache
        Specified by:
        getName in interface MaximoCache
        Returns:
        MAXENDPOINT
      • getAllClients

        public java.util.Map getAllClients()
        Get all the defined endpoints. key is endpointname, value is MaxEndPointInfo object
        Returns:
        map of all the defined endpoints
      • getClientInfo

        public OAUTHClientInfo getClientInfo(java.lang.String clientName)
        Get the EndPointInfo object
        Parameters:
        endPointName - endpoint name
        Returns:
        EndPointInfo object