Package org.forgerock.am.config
Interface IdentityConfiguration<T>
-
- Type Parameters:
T
- The annotated configuration class containing the service's identity attributes.
public interface IdentityConfiguration<T>
This interface identifies theServiceComponentConfig
as containing configuration that is applied to an identity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<T>
identity(ConfigIdentity identity)
Gets the configuration instance for the given identity with the given id.
-
-
-
Method Detail
-
identity
Optional<T> identity(ConfigIdentity identity)
Gets the configuration instance for the given identity with the given id.- Parameters:
identity
- theConfigIdentity
for which to get the configuration instance- Returns:
- the configuration instance containing the identity service attributes
- Throws:
IllegalStateException
- if the configuration does not adhere to the given service interface's typesServiceConfigException
- if the configuration could not be retrieved
-
-