Hi all,
I followed this
http://www.jobinesh.com/2013/02/securing-your-adf-applications-using.html
for setting up an authentication system based on Apache Shiro instead of ADF security. All is fine, I can log in and see restricted pages. Here's the odd thing:
Adding an output text with value securityContext.userName, the currently logged in username is displayed.
However, if I add a VO on the authentication table with a bind variable along the lines of
WHERE username = ?
and bind variable having default value of the expression
adf.context.securityContext.userName
the table is indeed filtered -- but only for the first time of login. Afterwards, the filter/bind variable does not update and displays the authentication table filtered on whatever user I logged in with first.
2 hopefully simple questions:
1. Why is that so?
2. What change is needed for filtering on the currently logged in user?
Thanks,
Jon