Anonymous_User Absent Member.
Absent Member.
383 views

Password resizing using the SDK


Hi All,
I'm trying to understand if the Access Manager SDK will allow me to
retrieve the password from the authentication source (eDirectory in this
case) and allow me to shorten the password length so that i can store
and use this password with a protected resource. It would be very
similar to the pwdfetch class that is provided with AM except for the
resizing ability of course.

I have reviewed the passwordclass.java example a few times now and
the javadocs but I'm still unclear if this can be done. Can anyone
provide guidance on how to retrieve and store the new resized password?

The addCredential function seems promising for storing the resized
password. I'm assuming this places the credential into the users secret
store. Can anyone confirm?

-Cristian


--
crisdiaz
------------------------------------------------------------------------
crisdiaz's Profile: http://forums.novell.com/member.php?userid=9554
View this thread: http://forums.novell.com/showthread.php?t=438909

Labels (1)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: Password resizing using the SDK

crisdiaz wrote:

>
> Hi All,
> I'm trying to understand if the Access Manager SDK will allow me to
> retrieve the password from the authentication source (eDirectory in
> this case) and allow me to shorten the password length so that i can
> store and use this password with a protected resource. It would be
> very similar to the pwdfetch class that is provided with AM except
> for the resizing ability of course.
>
> I have reviewed the passwordclass.java example a few times now and
> the javadocs but I'm still unclear if this can be done. Can anyone
> provide guidance on how to retrieve and store the new resized
> password?
>
> The addCredential function seems promising for storing the resized
> password. I'm assuming this places the credential into the users
> secret store. Can anyone confirm?


You'll need to use the NMASToolkit in order to retrieve the password
using an extended LDAP call. You can probably use the same toolkit to
write the password back once you've modified it (I've never done that
bit, only retrieved it).

On the Universal Password policy you'll need to enable a admin user
that you authenticate with to be allowed to retrieve the password.


--
Cheers,
Edward
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.