Interface IPluginAuthenticatorCustomGUIBean

    • Method Detail

      • onAuthenticatorSelected

        default void onAuthenticatorSelected​(AAuthenticator<?> authenticator)
        Lifecycle callback invoked when an existing authenticator was selected. Can be used for initialization etc. The default implementation is a no-op, implement this method if you need the callback.
        Parameters:
        authenticator - The newly selected authenticator, either a SystemAuthenticator or a ClientAuthenticator.
      • onAuthenticatorBeforeSave

        default boolean onAuthenticatorBeforeSave​(AAuthenticator<?> authenticator)
        Lifecycle callback invoked when an existing authenticator is about to be saved. Can be used for additional validation or sanitization. Messages can be added FacesContext. Return false to prevent the authenticator from getting saved. The default implementation is a no-op that simply returns true, implement this method if you need the callback.
        Parameters:
        authenticator - The newly selected authenticator, either a SystemAuthenticator or a ClientAuthenticator.
        Returns:
        true to save the authenticator, false to not save it.