Class Security

All Implemented Interfaces:
ObjectModel

public class Security extends GenericModel
Schema for a security document.
  • Method Details

    • newBuilder

      public Security.Builder newBuilder()
      New builder.
      Returns:
      a Security builder
    • admins

      public SecurityObject admins()
      Gets the admins. Schema for names and roles to map to a database permission.
      Returns:
      the admins
    • members

      public SecurityObject members()
      Gets the members. Schema for names and roles to map to a database permission.
      Returns:
      the members
    • cloudant

      public Map<String,List<String>> cloudant()
      Gets the cloudant. Database permissions for Cloudant users and/or API keys.
      Returns:
      the cloudant
    • couchdbAuthOnly

      public Boolean couchdbAuthOnly()
      Gets the couchdbAuthOnly. Manage permissions using the `_users` database only.
      Returns:
      the couchdbAuthOnly