com.cognos.CAM_AAA.authentication

Interface IProvider

  • All Known Subinterfaces:
    IBoundingSetProvider, ITenantProvider


    public interface IProvider
    Super interface for multitenancy custom providers, defines the common methods for custom providers for multitenant environments.
    During system startup init(Map, String) will be called once per configured instance. . The destroy() method will be called at system shutdown. It is possible that multiple instances of the provider are created for a single namespace, this occurs when more than one CAM AAA service exists on the machine.
    See Also:
    IBoundingSetProvider, ITenantProvider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void destroy()
      Destroys this IProvider and frees resources held by it.
      void init(java.util.Map<java.lang.String,java.lang.String> advancedConfigurations, java.lang.String namespaceId)
      Initializes this IProvider.
    • Method Detail

      • destroy

        void destroy()
        Destroys this IProvider and frees resources held by it. Called when the system is shutting down.
      • init

        void init(java.util.Map<java.lang.String,java.lang.String> advancedConfigurations,
                  java.lang.String namespaceId)
           throws UnrecoverableException
        Initializes this IProvider. Called during system startup.
        Parameters:
        advancedConfigurations - The advanced configuration properties defined in the system configuration.
        namespaceId - The identifier of the namespace this IProvider is assigned to. Can be null in the case of this IProvider being configured to be used for all namespaces.
        Throws:
        UnrecoverableException - An exception occurred while initializing this IProvider.