Wiki

Clone wiki

BibSonomy / documentation / releases / 2013 / 2.0.31

2.0.31 (tni)

Date: 2013/01/30

released

internal

  • metadaten Plugin (Clemens)
  • refactor xml/json output of API (dzo)
  • SAML (jil, sdo)
  • Scraper Redirects
  • Neue Scraper:
    • APA
    • BMJOpen
    • Pharmacognosy
    • SageCDP
    • EconStor (no inc)
    • Gbv (no inc)

external

  • RenderController
  • Discussion Menu

Necessary Changes

Database

-- Table structure for table `samlUser`
--
DROP TABLE IF EXISTS `samlUser`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `samlUser`(
  `user_name` varchar(30) NOT NULL default '',
  `samlUserId` varchar(255) NOT NULL default '',
  `identity_provider` varchar(255) NOT NULL default '',
  `lastAccess` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
   PRIMARY KEY  (`samlUserId`, `identity_provider`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


--
-- Table structure for table `post_metadata`
--

CREATE TABLE post_metadata (
  `user_name` VARCHAR(30),
  `intra_hash` CHAR(32),
  `inter_hash` CHAR(32),
  `key` VARCHAR(50),
  `value` TEXT,
  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
);

Properties

Bookmark Preview

folgende properties werden in project.properties nicht mehr benötigt und können gelöscht werden:

project.preview.path
project.preview.bookmark

Bookmark Vorschaubilder werden nur noch durch

project.img

gesteuert. Falls

project.img

keinen Wert zugewiesen bekommt, ist das Image-Previewing ausgeschalten.

Project files home

Eine neue Variable steuert zentral, wo bibsonomy-Dateien liegen: project.files.home = ${user.home} Dies ist nur eine flexiblere Version von user.home und sollte für bestehende installationen einfach auf user.home zeigen.

SAML Integration

Für die SAML (Shibboleth) Integration gibt es nun folgende Variablen:

 # zeigt auf einen keystore in dem der private schlüssel des Shibboleth Service Providers (in dem fall Bibsonomy/Puma) liegt.
auth.saml.keystore = file:${project.files.home}/security/testSamlKeystore.jks
 # Passwort des Keystores
auth.saml.keystore.pass = nalle123
 # Alias-Name des Schlüssels im Keystore
auth.saml.keystore.key.alias = apollo
 # Passwort des Schlüssels im Keystore
auth.saml.keystore.key.pass = nalle123
 # Eine Datei die die Metadaten des Shibboleth Identity Providers enthält (und ggf auch andere Shibboleth IdPs und SPs)
auth.saml.idp.1.metadata.file = ${project.files.home}/security/testshib-providers.xml
 # Der Entityname des zu verwendenden IdentityProviders aus der Metadaten Datei
auth.saml.defaultIdp = https://idp.testshib.org/idp/shibboleth
 # Bestimmt den Namen des von Shibboleth übermittelten Attributs, dass den Remote-Benutzernamen enthält
auth.saml.attr.userId = urn:oid:0.9.2342.19200300.100.1.1

Updated