public interface IdentitySupplier
IdentitySupplier is meant to provide a way to inject/configure IdentityProviders to be used by the application.
-
Method Summary
Modifier and TypeMethodDescriptionbuildIdentityProvider(String user, List<String> roles) Creates new identity provider based on optionally given user and roles.
-
Method Details
-
buildIdentityProvider
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
-