How to get all roles list from Tomcat in Java EE application -


i have java ee application , want list of roles tomcat , show them in combo box in application. tomcat configured read users , roles database.

how can this?

as far know enumeration of existing roles not part of standardization - can configure tomcat various realms - simple xml file ldap or various database integrations. or combination thereof. or sso system.

for reason, enumerating different roles might available function user database of choice must provide.

is possible them? yes. can them "from tomcat"? no. @ least not in simple , generic way. you'll have know exact realm has been configured , access datastore. of realms might require restart of tomcat in order use changed data.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -