Changes

Jump to navigation Jump to search
29 bytes removed ,  16:14, 2 July 2013
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 :) <br />
'''%sec:authenticate()''' <br />
(: The basic security annotation enforcing a authorization on method invocation.:) <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