Interface IdentitySupplier


  • public interface IdentitySupplier
    IdentitySupplier is meant to provide a way to inject/configure IdentityProviders to be used by the application.
    • 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 used
        roles - optional additional roles to be used
        Returns:
        configured identity provider instance