Java EE scope with BaseX?
I am developing a web application in Java EE with BaseX as my database system. In a web application, I need user authentication and would like to store the information in a BaseX collection like below:
<user>myUser</user>
<password>myPassword</password>
<roles>
<role>myRole1</role>
<role>myRole2</role>
</roles>
Can I use a scope in a BaseX collection?
Note. I cannot use tomcat-users.xml or LDAP authentication server
+3
Michel sahli
source
to share
1 answer
I couldn't find anything that existed, and so I created my own custom scope to use user authentication and store users in the BaseX collection.
You can find it under my Github account:
https://github.com/michelsahli/BaseXRealm
+2
Michel sahli
source
to share