java.lang.Object
org.odpi.openmetadata.userauthn.auth.demo.DemoUsers

@Service @ConfigurationProperties(prefix="egeria", ignoreUnknownFields=false, ignoreInvalidFields=false) public class DemoUsers extends Object
Return details of the users defined in the demo users yaml file.
  • Constructor Details

    • DemoUsers

      public DemoUsers()
  • Method Details

    • getDemoUsers

      public Map<String,User> getDemoUsers()
      Return the defined demo users.
      Returns:
      map
    • getUser

      public User getUser(String username)
      Return details about a specific user.
      Parameters:
      username - the userId
      Returns:
      a clone of the user from the map, with password encrypted.