You can use the following instead: org.apache.jetspeed.security.UserManager#getPasswordCredential(User user); org.apache.jetspeed.security.UserManager#getUser(String userName);
Woonsan --- On Mon, 4/18/11, anyz <[email protected]> wrote: > From: anyz <[email protected]> > Subject: Getting User Password from Subject > To: "Jetspeed Users List" <[email protected]> > Date: Monday, April 18, 2011, 9:18 AM > I need to get user password from > javax.security.auth.Subject and set in > session. I noted we can use > SecurityHelper.getPasswordCredential().getPassword() for > this. However its > not available in jetspeed-security-2.2.1 version that i > think is appropriate > version to use with Jetspeed 2.2.1. > > Is SecurityHelper moved some where else or is there other > way to go. I could > not find out. > > Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
