Skip to Content
0
Former Member
May 01, 2008 at 12:22 AM

Impermissible Passwords

89 Views

We are on Enterprise Portal 7.0 / NW2004s.

In one of my Java Web Dynpro views, I create user IDs in the back-end SAP systems and use the following code to generate a Portal password:

ISecurityPolicy ispf = UMFactory.getSecurityPolicy();
wdContext.currentContextElement().setSAPPassword(
				ispf.generatePassword());

This works well except it frequently generates passwords starting with ? or ! characters, which are not acceptable in the back-end systems.

I tried setting the UME attribute Impermissible Passwords giving the values \?, ! which works well when I test in the "User Administration" but the code above keeps generating passwords starting with ? or !.

What is the right way to set the Impermissible Passwords, so that the code generation works properly?