Project

General

Profile

Actions

Bug #6759

closed

Feature #6711: refactoring of lavoisier security

replace @authorized="xpath" with @authorization="reference"

Added by Reynaud Sylvain over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assigned To:
Category:
Engine
Target version:
Start date:
04/04/2014
Due date:
% Done:

100%

Estimated time:

Description

New configuration syntax:

<view name="example" authorization="admin"/>
<authorization name="admin">
    <authenticator type="IPAuthenticator" authorized="true()" 
                   eval="document('ip.xml')"/>
    <authenticator type="CASAuthenticator" authorized="contains(user(),'@cc.')">
        <entry key="url">http://...</entry>
    </authenticator>
</authorization>

Engine.getAuthenticators() returns OrderedMap<Class

Actions

Also available in: Atom PDF