Using: SmartClient_v110p_2017-05-15_PowerEdition
My application runs behind an apache+shibboleth+modJK server that authenticates users and proxies the java application. This all works fine, including the ability for apache to pass information about the authenticated user through modJK to tomcat in the form of environment variables. I'm currently passing 2 variables with information for 2 specfic uses:
1. REMOTE_USER is the authenticated user's username that I'd like to use with SmartClient auditing
2. isMemberOf is a colon separated list of groups that the user belongs to which I'd like to use to set the user's role(s) for authorization purposes.
So my 2 related questions are how to get the information from the environment into appropriate SmartClient variables or data structures so I can use SC auditing and authorization functions. I'm new to java server programming so I'll need to be told the obvious like what files/directories to put my code in etc.
Thanks
My application runs behind an apache+shibboleth+modJK server that authenticates users and proxies the java application. This all works fine, including the ability for apache to pass information about the authenticated user through modJK to tomcat in the form of environment variables. I'm currently passing 2 variables with information for 2 specfic uses:
1. REMOTE_USER is the authenticated user's username that I'd like to use with SmartClient auditing
2. isMemberOf is a colon separated list of groups that the user belongs to which I'd like to use to set the user's role(s) for authorization purposes.
So my 2 related questions are how to get the information from the environment into appropriate SmartClient variables or data structures so I can use SC auditing and authorization functions. I'm new to java server programming so I'll need to be told the obvious like what files/directories to put my code in etc.
Thanks
Comment