Interface IAuthorityConnector

  • All Superinterfaces:
    IConnector
    All Known Implementing Classes:
    BaseAuthorityConnector

    public interface IAuthorityConnector
    extends IConnector
    An authority connector supplies an ACL of some kind for a given user. This is necessary so that the search UI can find the documents that can be legally seen. An instance of this interface provides this functionality. Authority connector instances are pooled, so that session setup does not need to be done repeatedly. The pool is segregated by specific sets of configuration parameters.
    • Field Detail

      • GLOBAL_DENY_TOKEN

        static final java.lang.String GLOBAL_DENY_TOKEN
        This is the global deny token. This should be ingested with all documents.
        See Also:
        Constant Field Values
    • Method Detail

      • getAuthorizationResponse

        AuthorizationResponse getAuthorizationResponse​(java.lang.String userName)
                                                throws ManifoldCFException
        Obtain the access tokens for a given Active Directory user name.
        Parameters:
        userName - is the user name or identifier.
        Returns:
        the response tokens (according to the current authority). (Should throws an exception only when a condition cannot be properly described within the authorization response object.)
        Throws:
        ManifoldCFException
      • getDefaultAuthorizationResponse

        AuthorizationResponse getDefaultAuthorizationResponse​(java.lang.String userName)
        Obtain the default access tokens for a given user name.
        Parameters:
        userName - is the user name or identifier.
        Returns:
        the default response tokens, presuming that the connect method fails.