Skip to content

Add CBS/PSI strategy #80

@nichtich

Description

@nichtich

To authentificate against the CBS library system.

Basically it's a simple HTTP request

POST https://kxp.k10plus.de/login/LOGIN
USER_KEY=...
PASSWORD=...

And inspect the returned Header

X-PSI-Context: LOGIN_REJECT

or

X-PSI-Context: RELOCATE

followed by

X-PSI-Context: MAIN

The user name is hidden in the response XML (XML interface) or HTML (HTML interface).

Configuration via base URL (e.g. https://kxp.k10plus.de/)

{
   "strategy": "psi",
   "name": "Gemeinsamer Verbundkatalog (GVK)",
   "url": "https://kxp.k10plus.de/"
}

URL for the POST request and user URI template can be derived from url as {url}/login/LOGIN and {url}/user/{id} (the latter not supported as URL by PSI but can be used as URI).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions