public interface Connector
connectorInstance.xml to control this
process. See the package documentation for more details.
A Connector object is used as something against which to
authenticate, via the login() method. By authenticating,
one gets a Session, which then gives
access to all other services. Note, this is presumably "superuser", one-time
only authentication, not authentication for a given user query session (which
takes place via the AuthenticationManager).
| Modifier and Type | Method and Description |
|---|---|
Session |
login()
Gets a session with sufficient privileges to perform all actions related to
the SPI.
|
Session login() throws RepositoryLoginException, RepositoryException
Session interfaceRepositoryLoginException - if there is a credentials-related problemRepositoryException - if there is a more general problem, such as the system is
unreachable or down