Class EdId

  • All Implemented Interfaces:
    EdOperation, EdService

    public final class EdId
    extends EdServiceTemplate
    EdId provides for the common ED client operations acting on the ED-ID directory.
    Author:
    Middleware Services
    • Constructor Detail

      • EdId

        public EdId()
        Creates a new instance of an ED client object that can perform operations on the production ED-ID directory.
      • EdId

        public EdId​(DirectoryEnv env)
        Creates a new instance of an ED client object that can perform operations on an ED-ID directory of the given environment.
        Parameters:
        env - directory env
    • Method Detail

      • getVirginiaTechEntitlementsByViewerService

        public List<VirginiaTechEntitlement> getVirginiaTechEntitlementsByViewerService​(String uusidOrDn)
                                                                                 throws org.ldaptive.LdapException
        Gets a List of VirginiaTechEntitlement objects from a given viewer uusid.
        Parameters:
        uusidOrDn - uusidOrDn can be the name of the viewer service directly or its full DN.
        Returns:
        List<VirginiaTechEntitlement> objects
        Throws:
        org.ldaptive.LdapException - For any LDAP errors.
      • getVirginiaTechEntitlementsByPid

        public List<VirginiaTechEntitlement> getVirginiaTechEntitlementsByPid​(String authId)
                                                                       throws org.ldaptive.LdapException
        Gets a List of VirginiaTechEntitlement objects from a given authId.
        Parameters:
        authId - authId of the person whose entitlements will be retrieved.
        Returns:
        List<VirginiaTechEntitlement> objects
        Throws:
        org.ldaptive.LdapException - For any LDAP errors.