Index
All Classes and Interfaces|All Packages|Serialized Form
C
- closeDataSource() - Method in class com.maybeitssquid.rotatingsecrets.hikari.HikariDataSourceConfig
-
Explicitly closes the HikariDataSource on application shutdown.
- com.maybeitssquid.rotatingsecrets - package com.maybeitssquid.rotatingsecrets
- com.maybeitssquid.rotatingsecrets.hikari - package com.maybeitssquid.rotatingsecrets.hikari
- com.maybeitssquid.rotatingsecrets.ucp - package com.maybeitssquid.rotatingsecrets.ucp
- Configuration Properties - Search tag in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
- Section
- Configuration Properties - Search tag in class com.maybeitssquid.rotatingsecrets.hikari.HikariDataSourceConfig
- Section
- Configuration Properties - Search tag in class com.maybeitssquid.rotatingsecrets.ucp.UcpDataSourceConfig
- Section
- Credential Rotation - Search tag in class com.maybeitssquid.rotatingsecrets.hikari.HikariDataSourceConfig
- Section
- CredentialRotationException - Exception Class in com.maybeitssquid.rotatingsecrets
-
Exception thrown when credential rotation fails.
- CredentialRotationException(String, Throwable) - Constructor for exception class com.maybeitssquid.rotatingsecrets.CredentialRotationException
-
Creates a new credential rotation exception with the specified message and cause.
- CredentialsProviderService - Class in com.maybeitssquid.rotatingsecrets
-
Service that reads database credentials from Kubernetes-mounted secret files and notifies registered
UpdatableCredentialcomponents when credentials change. - CredentialsProviderService(String) - Constructor for class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Creates a new credentials provider reading from the specified secrets path.
- Credential Update Process - Search tag in class com.maybeitssquid.rotatingsecrets.ucp.UcpCredentialsUpdater
- Section
D
- databaseTime() - Method in record class com.maybeitssquid.rotatingsecrets.DemoQueryResult
-
Returns the value of the
databaseTimerecord component. - dataSource(HikariConfig, HikariCredentialsUpdater) - Method in class com.maybeitssquid.rotatingsecrets.hikari.HikariDataSourceConfig
-
Creates the primary HikariCP DataSource bean with credential rotation support.
- DemoDatabasePollingService - Class in com.maybeitssquid.rotatingsecrets
-
Demonstrates database connectivity by polling the database on scheduled intervals.
- DemoDatabasePollingService(DataSource) - Constructor for class com.maybeitssquid.rotatingsecrets.DemoDatabasePollingService
-
Creates the polling service with the given DataSource.
- DemoQueryResult - Record Class in com.maybeitssquid.rotatingsecrets
-
Result of a database poll operation.
- DemoQueryResult(String, Instant, String) - Constructor for record class com.maybeitssquid.rotatingsecrets.DemoQueryResult
-
Creates an instance of a
DemoQueryResultrecord class. - DemoRotatingSecretsApplication - Class in com.maybeitssquid.rotatingsecrets
-
Spring Boot application demonstrating integration with dynamic Kubernetes Secrets for database credential rotation.
- DemoRotatingSecretsApplication() - Constructor for class com.maybeitssquid.rotatingsecrets.DemoRotatingSecretsApplication
-
Default constructor.
E
- equals(Object) - Method in record class com.maybeitssquid.rotatingsecrets.DemoQueryResult
-
Indicates whether some other object is "equal to" this one.
F
- File Structure - Search tag in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
- Section
G
- getCredentials() - Method in class com.maybeitssquid.rotatingsecrets.hikari.HikariCredentialsUpdater
-
Provides the current credentials to HikariCP for new connection creation.
H
- hashCode() - Method in record class com.maybeitssquid.rotatingsecrets.DemoQueryResult
-
Returns a hash code value for this object.
- hikariConfig() - Method in class com.maybeitssquid.rotatingsecrets.hikari.HikariDataSourceConfig
-
Creates the HikariCP configuration bean.
- hikariCredentialsUpdater() - Method in class com.maybeitssquid.rotatingsecrets.hikari.HikariDataSourceConfig
-
Creates the HikariCP credentials updater bean for credential rotation support.
- HikariCredentialsUpdater - Class in com.maybeitssquid.rotatingsecrets.hikari
-
Handles credential updates for HikariCP data sources.
- HikariCredentialsUpdater(String, String) - Constructor for class com.maybeitssquid.rotatingsecrets.hikari.HikariCredentialsUpdater
-
Creates a new credentials updater with the specified initial credentials.
- HikariDataSourceConfig - Class in com.maybeitssquid.rotatingsecrets.hikari
-
Spring configuration for HikariCP DataSource with dynamic credential rotation support.
- HikariDataSourceConfig() - Constructor for class com.maybeitssquid.rotatingsecrets.hikari.HikariDataSourceConfig
-
Default constructor.
- How It Works - Search tag in class com.maybeitssquid.rotatingsecrets.hikari.HikariCredentialsUpdater
- Section
M
- main(String[]) - Static method in class com.maybeitssquid.rotatingsecrets.DemoRotatingSecretsApplication
-
Application entry point.
O
- Oracle UCP Advantages - Search tag in class com.maybeitssquid.rotatingsecrets.ucp.UcpDataSourceConfig
- Section
P
- passwordPath - Variable in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Path to the file containing the database password.
- pollFast() - Method in class com.maybeitssquid.rotatingsecrets.DemoDatabasePollingService
-
Polls the database at the fast interval (default: every 3 seconds).
- pollSlow() - Method in class com.maybeitssquid.rotatingsecrets.DemoDatabasePollingService
-
Polls the database at the slow interval (default: every 5 seconds).
- poolDataSource() - Method in class com.maybeitssquid.rotatingsecrets.ucp.UcpDataSourceConfig
-
Creates and configures the Oracle UCP PoolDataSource bean.
R
- refreshCredentials() - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Scheduled task that periodically checks for credential changes.
S
- setCredential(String, String) - Method in class com.maybeitssquid.rotatingsecrets.hikari.HikariCredentialsUpdater
-
Updates the stored credentials and soft-evicts existing connections.
- setCredential(String, String) - Method in class com.maybeitssquid.rotatingsecrets.ucp.UcpCredentialsUpdater
-
Updates the credentials used by the Oracle UCP pool and refreshes connections.
- setCredential(String, T) - Method in interface com.maybeitssquid.rotatingsecrets.UpdatableCredential
-
Updates the credentials used by this component.
- setDataSource(HikariDataSource) - Method in class com.maybeitssquid.rotatingsecrets.hikari.HikariCredentialsUpdater
-
Sets the HikariCP DataSource reference for connection eviction.
- setHikariUpdatable(UpdatableCredential<String>) - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Registers the HikariCP credentials updater to receive credential change notifications.
- setUcpUpdatable(UpdatableCredential<String>) - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Registers the Oracle UCP credentials updater to receive credential change notifications.
T
- threadName() - Method in record class com.maybeitssquid.rotatingsecrets.DemoQueryResult
-
Returns the value of the
threadNamerecord component. - Thread Safety - Search tag in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
- Section
- Thread Safety - Search tag in class com.maybeitssquid.rotatingsecrets.hikari.HikariCredentialsUpdater
- Section
- Thread Safety - Search tag in class com.maybeitssquid.rotatingsecrets.ucp.UcpCredentialsUpdater
- Section
- timestamp() - Method in record class com.maybeitssquid.rotatingsecrets.DemoQueryResult
-
Returns the value of the
timestamprecord component. - toString() - Method in record class com.maybeitssquid.rotatingsecrets.DemoQueryResult
-
Returns a string representation of this record class.
U
- ucpCredentialsUpdater(PoolDataSource) - Method in class com.maybeitssquid.rotatingsecrets.ucp.UcpDataSourceConfig
-
Creates the UCP credentials updater bean for credential rotation support.
- UcpCredentialsUpdater - Class in com.maybeitssquid.rotatingsecrets.ucp
-
Handles credential updates for Oracle Universal Connection Pool (UCP) data sources.
- UcpCredentialsUpdater(PoolDataSource) - Constructor for class com.maybeitssquid.rotatingsecrets.ucp.UcpCredentialsUpdater
-
Creates a new credentials updater for the given Oracle UCP pool.
- UcpDataSourceConfig - Class in com.maybeitssquid.rotatingsecrets.ucp
-
Spring configuration for Oracle Universal Connection Pool (UCP) DataSource.
- UcpDataSourceConfig() - Constructor for class com.maybeitssquid.rotatingsecrets.ucp.UcpDataSourceConfig
-
Default constructor.
- UpdatableCredential<T> - Interface in com.maybeitssquid.rotatingsecrets
-
Interface for components that need to receive updated credentials when they change.
- updateCredentials() - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Notifies all registered
UpdatableCredentialcomponents of the current credentials. - usernamePath - Variable in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Path to the file containing the database username.
V
- validateSecretFilePermissions() - Method in class com.maybeitssquid.rotatingsecrets.CredentialsProviderService
-
Validates file permissions on startup to warn about insecure configurations.
All Classes and Interfaces|All Packages|Serialized Form