Class AbstractSamlFederationHeaplet

    • Constructor Detail

      • AbstractSamlFederationHeaplet

        public AbstractSamlFederationHeaplet()
    • Method Detail

      • completeSamlConfig

        protected abstract void completeSamlConfig​(JsonValue config,
                                                   String logoutUri,
                                                   org.forgerock.openig.handler.saml.SamlConfig.Builder builder)
                                            throws HeapException
        Permit to complement the SamlConfig SamlConfig.Builder.
        Parameters:
        config - the Heaplet configuration
        logoutUri - the logout URI
        builder - the SamlConfig builder to complement
        Throws:
        HeapException - in case of any error.
      • create

        protected abstract Object create​(SamlConfig samlConfig)
        Create the final Heap Object.
        Parameters:
        samlConfig - the Saml configuration to base this object on.
        Returns:
        the final heap object to return.
      • destroy

        public void destroy()
        Description copied from interface: Heaplet
        Called to indicate that the object created by the heaplet is going to be dereferenced. This gives the heaplet an opportunity to free any resources that are being held prior to its dereference.
        Specified by:
        destroy in interface Heaplet
        Overrides:
        destroy in class GenericHeaplet