com.sap.mdm.security
Class MDMPasswordPolicy

java.lang.Object
  extended bycom.sap.mdm.security.MDMPasswordPolicy

public class MDMPasswordPolicy
extends Object

This class represents the MDM password policy.


Constructor Summary
MDMPasswordPolicy(int minimalPasswordLength, int lockAccountAfterPasswordAttempts, int lockAccountDuration, int passwordExpirationDays, int passwordExpirationWarning, int maximumPasswordLength, int historySize, boolean passContainsUpperLower, boolean passContainsSpecialChar, boolean passContainsDigit, boolean passNotContainUserName)
           
MDMPasswordPolicy(MDMPasswordPolicy other)
          Copy c'tor.
 
Method Summary
 int getHistorySize()
           
 int getLockAccountAfterPasswordAttempts()
           
 int getLockAccountDuration()
           
 int getMaximumPasswordLength()
           
 int getMinimalPasswordLength()
           
 boolean getPassContainsDigit()
           
 boolean getPassContainsSpecialChar()
           
 boolean getPassContainsUpperLower()
           
 boolean getPassNotContainUserName()
           
 int getPasswordExpirationDays()
           
 int getPasswordExpirationWarning()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDMPasswordPolicy

public MDMPasswordPolicy(int minimalPasswordLength,
                         int lockAccountAfterPasswordAttempts,
                         int lockAccountDuration,
                         int passwordExpirationDays,
                         int passwordExpirationWarning,
                         int maximumPasswordLength,
                         int historySize,
                         boolean passContainsUpperLower,
                         boolean passContainsSpecialChar,
                         boolean passContainsDigit,
                         boolean passNotContainUserName)

MDMPasswordPolicy

public MDMPasswordPolicy(MDMPasswordPolicy other)
Copy c'tor. Creates deep copy of MDMPasswordPolicy object.

Parameters:
other - Object to copy
Method Detail

getMinimalPasswordLength

public int getMinimalPasswordLength()
Returns:
Returns the minimal password length.

getLockAccountAfterPasswordAttempts

public int getLockAccountAfterPasswordAttempts()
Returns:
Returns the number of attempts before locking account.

getLockAccountDuration

public int getLockAccountDuration()
Returns:
Returns the lock account duration.

getPasswordExpirationDays

public int getPasswordExpirationDays()
Returns:
Returns password expiration days.

getPasswordExpirationWarning

public int getPasswordExpirationWarning()
Returns:
Returns the password expiration warning.

getMaximumPasswordLength

public int getMaximumPasswordLength()
Returns:
Returns the maximum password length.

getHistorySize

public int getHistorySize()
Returns:
Returns the history size.

getPassContainsUpperLower

public boolean getPassContainsUpperLower()
Returns:
Returns if the password should contain upper and lower case.

getPassContainsSpecialChar

public boolean getPassContainsSpecialChar()
Returns:
Returns if the password should contain special characters.

getPassContainsDigit

public boolean getPassContainsDigit()
Returns:
Returns if the password should contain digits.

getPassNotContainUserName

public boolean getPassNotContainUserName()
Returns:
Returns if the password should not contain user name.


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.