Package io.automatiko.engine.api.auth
Interface IdentitySupplier
-
public interface IdentitySupplierIdentitySupplier is meant to provide a way to inject/configure IdentityProviders to be used by the application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentityProviderbuildIdentityProvider(String user, List<String> roles)Creates new identity provider based on optionally given user and roles.
-
-
-
Method Detail
-
buildIdentityProvider
IdentityProvider buildIdentityProvider(String user, List<String> roles)
Creates new identity provider based on optionally given user and roles. Depending on the implementation actual security context can be injected and thus used.- Parameters:
user- optional user name to be usedroles- optional additional roles to be used- Returns:
- configured identity provider instance
-
-