Enforce password policies (other than expiry) in Jaspersoft AWS version

Hi,

How to enforce password policies (other than expiry) in Jaspersoft AWS version? I'm interested in enforcing password strength, pattern, recycling, etc. policies.

Help appreciated!

Mike

mike.wang's picture
Joined: May 29 2013 - 12:37pm
Last seen: 8 years 11 months ago

2 Answers:

Hi Mike,

Yes, you can, but it requires a bit of experience with regular expressions. It's documented in the JasperReports Server Administrator Guide v5.1, section 7.2: Configuring User Password Options http://community.jaspersoft.com/sites/default/files/docs/jasperreports-s....

Here's the default setting, which matches any password:

 

 

 

    <property name="allowedPasswordPattern" value="^.*$"></property>

 

 

You could change it to this:

 

 

 

    <property name="allowedPasswordPattern" value="^.*(?=.{4,10})(?=.*\\p{N})(?=.*[\\p{L}\\p{M}]).*$"> </property>

 

 

which:

1) Searches for at least one digit in any position (any language) 
2) Searches for at least one upper or lower case in any position (any language) 
3) Enforces password to consist of 4-10 characters 

 

These references may also help:

http://www.regular-expressions.info/unicode.html 
http://forums.asp.net/t/918584.aspx/1 

Mary Flynn

Jaspersoft

maryflynn's picture
495
Joined: Dec 14 2006 - 11:40am
Last seen: 3 years 7 months ago

Thanks for the pointers. The guide/solution appears for version 5.1 and the AWS version is 5.0.3. Are the solutions applicable in the AWS version? How does the AWS version get upgraded?

mike.wang's picture
Joined: May 29 2013 - 12:37pm
Last seen: 8 years 11 months ago
Feedback
randomness