Interface CachePrincipalFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CachePrincipalFactory
    Factory for creating Principal instances based on the principal name. The factory is used to create the principal based on the cached principal name.
    • Method Detail

      • create

        Principal create​(String principalName)
        Create a new Principal instance based on the principal name provided.
        Parameters:
        principalName - The name of the principal to create.
        Returns:
        The new Principal instance.