Changes

Jump to navigation Jump to search
30 bytes added ,  11:22, 22 May 2013
m
no edit summary
(: The literal defines a principal which must be assigned to the current logged in user :) <br />
(: If the authorization was not successfull the default authorization fallback is called. @see %sec:authorization-fallback() :) <br />
'''%sec:requires-principal(string) ''' <br />
(: The basic security annotation enforcing a authorization on method invocation.:) <br />
(: The first literal defines a principal which must be assigned to the current logged in user :) <br />
(: The second defines the fallback function which should be called if the authorization was not successful @see %sec:authorization-fallback(string) :) <br />
'''%sec:requires-principal(string,string) ''' <br />
(: The default authorization 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:authorization-fallback() ''' <br />
(: An authorization fallback function addressable for %sec:requires-principal(string,string) by given id. 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:authorization-fallback(string) ''' <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 />
(: Provides default credentials if the authentication was not successful :) <br />
%sec:credentials() <br />
administrator, editor
13

edits

Navigation menu