Package org.codelibs.fess.app.service
Class WebAuthenticationService
java.lang.Object
org.codelibs.fess.app.service.WebAuthenticationService
Service class for managing web authentication configurations.
Provides CRUD operations for web authentication settings including
listing, retrieving, storing, and deleting authentication configurations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.codelibs.fess.mylasta.direction.FessConfigFess configuration settings.protected org.codelibs.fess.opensearch.config.exbhv.WebAuthenticationBhvBehavior class for web authentication operations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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> getWebAuthenticationList(String webConfigId) 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 voidsetupListCondition(org.codelibs.fess.opensearch.config.cbean.WebAuthenticationCB cb, WebAuthPager webAuthenticationPager) Sets up the list condition for querying web authentications.voidstore(org.codelibs.fess.opensearch.config.exentity.WebAuthentication webAuthentication) Stores a web authentication configuration.
-
Field Details
-
webAuthenticationBhv
protected org.codelibs.fess.opensearch.config.exbhv.WebAuthenticationBhv webAuthenticationBhvBehavior class for web authentication operations. -
fessConfig
protected org.codelibs.fess.mylasta.direction.FessConfig fessConfigFess 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 querywebAuthenticationPager- 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
-