Changes

Jump to navigation Jump to search
143 bytes removed ,  16:18, 2 July 2013
m
no edit summary
This page will summarize first thoughts on annotation-based security/authentication support in BaseX.
Annotation specification (first thoughts):
(: Responsible for performing the login of an user, see sec:authenticate and sec:login functions in the security module :) <br />
'''%sec:authenticate()''' <br />
(: The basic security annotation enforcing a authorization on method invocation.:) <br />
(: The default authentication fallback function. The function must not have any arguments :) <br />
(: relevant information like the current username might be available through additional xquery function in the security module :) <br />
'''%sec:authentication-fallback()''' <br />
 
(: Should only be used debug purposes. Provides default credentials if the authentication was not successful :) <br />
'''%sec:credentials()''' <br />
administrator, editor
13

edits

Navigation menu