This content has been marked as final.
Show 3 replies
-
1. Re: Getting user credentials from portal authentication
ndrw_cheung Jul 6, 2009 4:07 PM (in response to broesel)I use an older version of the portal (version 2.4) and I can do that. What we did was we extended the Login module and "save" the password into an attribute in the session. Sample code below:
HttpServletRequest request =
(HttpServletRequest)javax.security.jacc.PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
request.getSession().setAttribute("pwd", myPassword);
Hope that helps.
-Andrew -
2. Re: Getting user credentials from portal authentication
broesel Jul 7, 2009 3:38 AM (in response to broesel)Hi Andrew,
thanks for your reply! That's the approach i am searching for.
But can you specify how to extend the Login Module? I'm just a user of the server and not so familiar with developing/extending modules. -
3. Re: Getting user credentials from portal authentication
broesel Jul 7, 2009 4:59 AM (in response to broesel)But isn't there a possibility to get the password from the given portal-classes?