Class WebAuthenticationService

java.lang.Object
org.codelibs.fess.app.service.WebAuthenticationService

public class WebAuthenticationService extends Object
Service class for managing web authentication configurations. Provides CRUD operations for web authentication settings including listing, retrieving, storing, and deleting authentication configurations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.codelibs.fess.mylasta.direction.FessConfig
    Fess configuration settings.
    protected org.codelibs.fess.opensearch.config.exbhv.WebAuthenticationBhv
    Behavior class for web authentication operations.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(org.codelibs.fess.opensearch.config.exentity.WebAuthentication webAuthentication)
    Deletes a web authentication configuration.
    org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.WebAuthentication>
    Gets a web authentication configuration by its ID.
    List<org.codelibs.fess.opensearch.config.exentity.WebAuthentication>
    Gets a list of web authentications for a specific web configuration.
    List<org.codelibs.fess.opensearch.config.exentity.WebAuthentication>
    getWebAuthenticationList(WebAuthPager webAuthenticationPager)
    Gets a paginated list of web authentications based on the provided pager.
    protected void
    setupListCondition(org.codelibs.fess.opensearch.config.cbean.WebAuthenticationCB cb, WebAuthPager webAuthenticationPager)
    Sets up the list condition for querying web authentications.
    void
    store(org.codelibs.fess.opensearch.config.exentity.WebAuthentication webAuthentication)
    Stores a web authentication configuration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • webAuthenticationBhv

      protected org.codelibs.fess.opensearch.config.exbhv.WebAuthenticationBhv webAuthenticationBhv
      Behavior class for web authentication operations.
    • fessConfig

      protected org.codelibs.fess.mylasta.direction.FessConfig fessConfig
      Fess configuration settings.
  • Constructor Details

    • WebAuthenticationService

      public WebAuthenticationService()
      Default constructor.
  • Method Details

    • getWebAuthenticationList

      public List<org.codelibs.fess.opensearch.config.exentity.WebAuthentication> getWebAuthenticationList(WebAuthPager webAuthenticationPager)
      Gets a paginated list of web authentications based on the provided pager.
      Parameters:
      webAuthenticationPager - The pager containing pagination and search criteria
      Returns:
      List of web authentication configurations
    • getWebAuthentication

      public org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.WebAuthentication> getWebAuthentication(String id)
      Gets a web authentication configuration by its ID.
      Parameters:
      id - The ID of the web authentication configuration
      Returns:
      Optional containing the web authentication if found
    • store

      public void store(org.codelibs.fess.opensearch.config.exentity.WebAuthentication webAuthentication)
      Stores a web authentication configuration. Parameters are encrypted before storage.
      Parameters:
      webAuthentication - The web authentication configuration to store
    • delete

      public void delete(org.codelibs.fess.opensearch.config.exentity.WebAuthentication webAuthentication)
      Deletes a web authentication configuration.
      Parameters:
      webAuthentication - The web authentication configuration to delete
    • setupListCondition

      protected void setupListCondition(org.codelibs.fess.opensearch.config.cbean.WebAuthenticationCB cb, WebAuthPager webAuthenticationPager)
      Sets up the list condition for querying web authentications.
      Parameters:
      cb - The condition bean for the query
      webAuthenticationPager - The pager containing search criteria
    • getWebAuthenticationList

      public List<org.codelibs.fess.opensearch.config.exentity.WebAuthentication> getWebAuthenticationList(String webConfigId)
      Gets a list of web authentications for a specific web configuration.
      Parameters:
      webConfigId - The ID of the web configuration
      Returns:
      List of web authentication configurations for the specified web config