Hi Everybody,
Issue like topic posted. This issue is directed related to
1010631
let me re-cap the use case: I have a web apps with security implemented. A welcome page with no ADF BC access is out of security as the main entry. All works fine until I need to add user registration functionality to the apps. I added a method binding to the welcome page to link to use registration page. The problem is I have custom codes in prepareSession() in application module to set the User Principle after security login as the current user. After I added the method binding to the welcome page. The AM was accessed at the first time in welcome page and the UserPriciple in user session is set to null. After login, the UserPriciple is not reset to the login user. So I get null when I call getUserPrincipalName(). So my problem is how could I get UserPrincipalName without use session from AM? Can I use JSF security and how?
thanks everyone!