Wiki source code of Auth Check - SpEL

Last modified by Erik Bakker on 2023/01/30 15:21

Hide last authors
Erik Bakker 2.1 1 {{container}}
2 {{container layoutStyle="columns"}}
Erik Bakker 4.1 3 (((
Erik Bakker 7.1 4 == About ==
Erik Bakker 15.1 5 With the help of this SpEL expression, you can easily determine whether someone is authenticated or not when calling your web service. Based on the result of the statement you could decide whether a message may continue or not.
Erik Bakker 4.1 6
Erik Bakker 7.1 7 == Documentation ==
Erik Bakker 4.1 8
Erik Bakker 7.1 9 ==== 1. How to use====
Erik Bakker 15.1 10 With the help of this SpEL expression, you can easily determine whether someone is authenticated or not when calling your web service. Based on the result of the statement you could decide whether a message may continue or not.
Erik Bakker 2.1 11
Erik Bakker 7.1 12 ==== 2. Keynotes & restrictions====
Erik Bakker 2.1 13
Erik Bakker 11.1 14 * Note that this is an example of how you can use the SpEL expression within eMagiz.
Erik Bakker 15.1 15 * The key element of this SpEL expression is that it allows you to verify whether an external party is allowed to call your web service.
16 * Note that you need to rename the headers and the header references within the expression to reflect the system for which you have defined the web service.
Erik Bakker 3.1 17
Erik Bakker 7.1 18 ==== 3. License Information====
Erik Bakker 12.1 19 Part of the standard license agreement as agreed upon when using the store for the first time.
Erik Bakker 2.1 20
Erik Bakker 10.1 21 ==== 4. Relevant eMagiz Academy Microlearnings====
22
Erik Bakker 19.1 23 * [[SPEL Expressions>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Data Handling.advanced-data-handling-spel-expressions||target="blank"]]
Erik Bakker 10.1 24
Erik Bakker 19.1 25 //Would you please consult the privacy policy of eMagiz at the following [[link>>https://www.emagiz.com/privacy-policy/||target="blank"]])))
Erik Bakker 2.1 26
Erik Bakker 11.1 27 ((()))
Erik Bakker 2.1 28 {{/container}}
29 {{/container}}