com.sibvisions.rad.server.security.validation
Class DefaultPasswordValidator

java.lang.Object
  extended by com.sibvisions.rad.server.security.validation.DefaultPasswordValidator
All Implemented Interfaces:
IPasswordValidator

public class DefaultPasswordValidator
extends Object
implements IPasswordValidator

The DefaultPasswordValidator validates a password and uses following options:

to check the strength of a password. If you want to use the DefaultPasswordValidator then you should specify it in your configuration as follows:
 <securitymanager>
   <class>...</class>
   <passwordvalidator>
     <class>com.sibvisions.rad.server.security.validation.DefaultPasswordValidator</class>
     <minlength>n</minlength>
     <digit>true | false</digit>
     <letter>true | false</letter>
     <specialchar>true | false</specialchar>
     <mixedcase>true | false</mixedcase>
     <notequaluser>true | false</notequaluser>
   </passwordvalidator>
 </securitymanager>
 

See Also:
IPasswordValidator

Constructor Summary
DefaultPasswordValidator()
           
 
Method Summary
 void checkPassword(ISession pSession, String pPassword)
          Checks if a password is strength enough to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPasswordValidator

public DefaultPasswordValidator()
Method Detail

checkPassword

public void checkPassword(ISession pSession,
                          String pPassword)
Checks if a password is strength enough to be used.

Specified by:
checkPassword in interface IPasswordValidator
Parameters:
pSession - the session which wants to change the password
pPassword - the new password


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.