Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.4)

Part Number E13945-04

com.bea.security.providers.authentication.passwordvalidator
Interface SystemPasswordValidatorMBean

All Superinterfaces:
PasswordValidatorMBean, ProviderMBean

public interface SystemPasswordValidatorMBean
extends ProviderMBean, PasswordValidatorMBean

This MBean represents configuration information for the System Password Validator provider.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime.


Method Summary
 String getDescription()
          A short description of the System Password Validator provider.
 int getMaxConsecutiveCharacters()
          The maximum number of repeating consecutive characters that is allowed in the password.
 int getMaxInstancesOfAnyCharacter()
          The maximum number of times the same character can appear in a password.
 int getMaxPasswordLength()
          The maximum length of password, a password length must be greater than or equal to the value.
 int getMinAlphabeticCharacters()
          The minimum number of alphabetic characters that a password must contain.
 int getMinLowercaseCharacters()
          The minimum number of lowercase characters that a password must contain.
 int getMinNonAlphanumericCharacters()
          The minimum number of non-alphanumeric characters that a password must contain.
 int getMinNumericCharacters()
          The minimum number of numeric characters that a password must contain.
 int getMinNumericOrSpecialCharacters()
          The minimum number of numeric or special characters that a password must contain.
 int getMinPasswordLength()
          The minimum length of password, a password length must be greater than or equal to the value.
 int getMinUppercaseCharacters()
          The minimum number of uppercase characters that a password must contain.
 String getName()
          The name of this configuration.
 String getProviderClassName()
          The Java class used to load the System Password Validator provider.
 boolean getRejectEqualOrContainReverseUsername()
          To determine whether the password can contain or be equal to the reverse username.
 boolean getRejectEqualOrContainUsername()
          To determine whether the password can contain or be equal to the username.
 String getVersion()
          The version number of the System Password Validator provider.
 void setMaxConsecutiveCharacters(int newValue)
          The maximum number of repeating consecutive characters that is allowed in the password.
 void setMaxInstancesOfAnyCharacter(int newValue)
          The maximum number of times the same character can appear in a password.
 void setMaxPasswordLength(int newValue)
          The maximum length of password, a password length must be greater than or equal to the value.
 void setMinAlphabeticCharacters(int newValue)
          The minimum number of alphabetic characters that a password must contain.
 void setMinLowercaseCharacters(int newValue)
          The minimum number of lowercase characters that a password must contain.
 void setMinNonAlphanumericCharacters(int newValue)
          The minimum number of non-alphanumeric characters that a password must contain.
 void setMinNumericCharacters(int newValue)
          The minimum number of numeric characters that a password must contain.
 void setMinNumericOrSpecialCharacters(int newValue)
          The minimum number of numeric or special characters that a password must contain.
 void setMinPasswordLength(int newValue)
          The minimum length of password, a password length must be greater than or equal to the value.
 void setMinUppercaseCharacters(int newValue)
          The minimum number of uppercase characters that a password must contain.
 void setRejectEqualOrContainReverseUsername(boolean newValue)
          To determine whether the password can contain or be equal to the reverse username.
 void setRejectEqualOrContainUsername(boolean newValue)
          To determine whether the password can contain or be equal to the username.
 
Methods inherited from interface weblogic.management.security.ProviderMBean
getRealm
 
Methods inherited from interface weblogic.management.security.ProviderMBean
getRealm
 

Method Detail

getProviderClassName

String getProviderClassName()

The Java class used to load the System Password Validator provider.

Default Value:
"com.bea.security.providers.authentication.passwordvalidator.SystemPasswordValidatorProviderImpl"

getDescription

String getDescription()

A short description of the System Password Validator provider.

Specified by:
getDescription in interface ProviderMBean
Default Value:
"Password composition checks"

getVersion

String getVersion()

The version number of the System Password Validator provider.

Specified by:
getVersion in interface ProviderMBean
Default Value:
"1.0"

getRejectEqualOrContainUsername

boolean getRejectEqualOrContainUsername()

To determine whether the password can contain or be equal to the username. This check will be case insensitive. If the value is "true", the password must not contain or be equal to the username.

To secure your system, set true as the value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
false

setRejectEqualOrContainUsername

void setRejectEqualOrContainUsername(boolean newValue)
                                     throws InvalidAttributeValueException

To determine whether the password can contain or be equal to the username. This check will be case insensitive. If the value is "true", the password must not contain or be equal to the username.

To secure your system, set true as the value.

Parameters:
newValue - - new value for attribute RejectEqualOrContainUsername
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
false

getRejectEqualOrContainReverseUsername

boolean getRejectEqualOrContainReverseUsername()

To determine whether the password can contain or be equal to the reverse username. This check will be case insensitive. If the value is "true", the password must not contain or be equal to the reverse username.

To secure your system, set true as the value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
false

setRejectEqualOrContainReverseUsername

void setRejectEqualOrContainReverseUsername(boolean newValue)
                                            throws InvalidAttributeValueException

To determine whether the password can contain or be equal to the reverse username. This check will be case insensitive. If the value is "true", the password must not contain or be equal to the reverse username.

To secure your system, set true as the value.

Parameters:
newValue - - new value for attribute RejectEqualOrContainReverseUsername
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
false

getMaxPasswordLength

int getMaxPasswordLength()

The maximum length of password, a password length must be greater than or equal to the value. "0" means no restriction. Valid value for this attribute must be greater than or equal to 0.

12 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMaxPasswordLength

void setMaxPasswordLength(int newValue)
                          throws InvalidAttributeValueException

The maximum length of password, a password length must be greater than or equal to the value. "0" means no restriction. Valid value for this attribute must be greater than or equal to 0.

12 is a recommended value.

Parameters:
newValue - - new value for attribute MaxPasswordLength
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMinPasswordLength

int getMinPasswordLength()

The minimum length of password, a password length must be greater than or equal to the value. Valid value for this attribute must be greater than or equal to 0.

6 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMinPasswordLength

void setMinPasswordLength(int newValue)
                          throws InvalidAttributeValueException

The minimum length of password, a password length must be greater than or equal to the value. Valid value for this attribute must be greater than or equal to 0.

6 is a recommended value.

Parameters:
newValue - - new value for attribute MinPasswordLength
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMaxInstancesOfAnyCharacter

int getMaxInstancesOfAnyCharacter()

The maximum number of times the same character can appear in a password. "0" means no restriction. For example, with a value of 2, user can not create a password such as "abagia". Valid value for this attribute must be greater than or equal to 0.

4 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMaxInstancesOfAnyCharacter

void setMaxInstancesOfAnyCharacter(int newValue)
                                   throws InvalidAttributeValueException

The maximum number of times the same character can appear in a password. "0" means no restriction. For example, with a value of 2, user can not create a password such as "abagia". Valid value for this attribute must be greater than or equal to 0.

4 is a recommended value.

Parameters:
newValue - - new value for attribute MaxInstancesOfAnyCharacter
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMaxConsecutiveCharacters

int getMaxConsecutiveCharacters()

The maximum number of repeating consecutive characters that is allowed in the password. A value of 0 means no restriction. For example, with a value of 2, user can not create a password such as "baaag". Valid value for this attribute must be greater than or equal to 0.

3 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMaxConsecutiveCharacters

void setMaxConsecutiveCharacters(int newValue)
                                 throws InvalidAttributeValueException

The maximum number of repeating consecutive characters that is allowed in the password. A value of 0 means no restriction. For example, with a value of 2, user can not create a password such as "baaag". Valid value for this attribute must be greater than or equal to 0.

3 is a recommended value.

Parameters:
newValue - - new value for attribute MaxConsecutiveCharacters
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMinAlphabeticCharacters

int getMinAlphabeticCharacters()

The minimum number of alphabetic characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMinAlphabeticCharacters

void setMinAlphabeticCharacters(int newValue)
                                throws InvalidAttributeValueException

The minimum number of alphabetic characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Parameters:
newValue - - new value for attribute MinAlphabeticCharacters
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMinNumericCharacters

int getMinNumericCharacters()

The minimum number of numeric characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMinNumericCharacters

void setMinNumericCharacters(int newValue)
                             throws InvalidAttributeValueException

The minimum number of numeric characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Parameters:
newValue - - new value for attribute MinNumericCharacters
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMinLowercaseCharacters

int getMinLowercaseCharacters()

The minimum number of lowercase characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMinLowercaseCharacters

void setMinLowercaseCharacters(int newValue)
                               throws InvalidAttributeValueException

The minimum number of lowercase characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Parameters:
newValue - - new value for attribute MinLowercaseCharacters
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMinUppercaseCharacters

int getMinUppercaseCharacters()

The minimum number of uppercase characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMinUppercaseCharacters

void setMinUppercaseCharacters(int newValue)
                               throws InvalidAttributeValueException

The minimum number of uppercase characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Parameters:
newValue - - new value for attribute MinUppercaseCharacters
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMinNonAlphanumericCharacters

int getMinNonAlphanumericCharacters()

The minimum number of non-alphanumeric characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMinNonAlphanumericCharacters

void setMinNonAlphanumericCharacters(int newValue)
                                     throws InvalidAttributeValueException

The minimum number of non-alphanumeric characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Parameters:
newValue - - new value for attribute MinNonAlphanumericCharacters
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getMinNumericOrSpecialCharacters

int getMinNumericOrSpecialCharacters()

The minimum number of numeric or special characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

setMinNumericOrSpecialCharacters

void setMinNumericOrSpecialCharacters(int newValue)
                                      throws InvalidAttributeValueException

The minimum number of numeric or special characters that a password must contain. Valid value for this attribute must be greater than or equal to 0.

1 is a recommended value.

Parameters:
newValue - - new value for attribute MinNumericOrSpecialCharacters
Throws:
InvalidAttributeValueException
Changes take effect after you redeploy the module or restart the server.
Default Value:
0
Minimum Value:
0

getName

String getName()
Description copied from interface: ProviderMBean
The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

Specified by:
getName in interface ProviderMBean
Default Value:
"SystemPasswordValidator"

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.4)

Part Number E13945-04