Custom roles for in-memory Spring security configuration

Description

Allow custom role based configuration for in-memory Spring security.
This is achieved by adding a role-based user details provider.

Out-of-the-box experience when security is enabled:

  1. Default security.properties with Spring security-config.xml

  2. Config file declares 3 customizable roles:
    (ROLE_ADMIN, ROLE_DEVELOPER, ROLE_ANALYST)

  3. Short syntax for security authorities (privileges)

  4. Services load default config/security/security.properties file,
    only if security-properties file was not set using sys prop.

Acceptance Test

suites: security, manager-security, esm-security, +unit tests

Assignee

Meron Avigdor

Reporter

Meron Avigdor

Labels

None

Priority

Medium

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Enterprise

Platform

All
Configure