Class AccessCredential.CredentialData

  • Enclosing class:
    AccessCredential

    public static class AccessCredential.CredentialData
    extends Object
    User-managed credential data.
    • Constructor Detail

      • CredentialData

        public CredentialData​(Set<URI> resources,
                              Set<String> modes,
                              Set<URI> purposes,
                              URI recipient)
        Create a collection of user-managed credential data.
        Parameters:
        resources - the resources referenced by the credential
        modes - the access modes defined by this credential
        purposes - the purposes associated with this credential
        recipient - the recipient for this credential, may be null
    • Method Detail

      • getPurposes

        public Set<URI> getPurposes()
        Get the purposes associated with the credential.
        Returns:
        the purpose definitions
      • getModes

        public Set<String> getModes()
        Get the access modes associated with the credential.
        Returns:
        the access modes
      • getResources

        public Set<URI> getResources()
        Get the resource URIs associated with this credential.
        Returns:
        the resource URIs
      • getRecipient

        public URI getRecipient()
        Get the recipient associated with this credential.
        Returns:
        the credential, may be null