com.jscape.inet.mft.management.descriptors
Class PasswordServiceDescriptor

java.lang.Object
  extended by com.jscape.inet.mft.management.descriptors.PasswordServiceDescriptor
All Implemented Interfaces:
ServiceDescriptor, com.jscape.inet.mft.security.PasswordComplianceService.Exporter, com.jscape.inet.mft.security.PasswordComplianceService.Importer

public class PasswordServiceDescriptor
extends java.lang.Object
implements ServiceDescriptor, com.jscape.inet.mft.security.PasswordComplianceService.Importer, com.jscape.inet.mft.security.PasswordComplianceService.Exporter

Password compliance descriptor.


Nested Class Summary
static class PasswordServiceDescriptor.BadPasswordException
           
static class PasswordServiceDescriptor.PasswordRepeatedException
           
 
Constructor Summary
PasswordServiceDescriptor()
           
 
Method Summary
 void assertLengthValid(char[] password)
           
 void assertLowercaseIncluded(char[] password)
           
 void assertNonAlphaNumericIncluded(char[] password)
           
 void assertNotRepeated(char[] password, Account account)
           
 void assertNumericIncluded(char[] password)
           
 void assertUppercaseIncluded(char[] password)
           
 java.lang.Integer getEqualPasswordsHistoryLength()
          Gets number of previous passwords that may not match new password.
 java.lang.Long getMaxPasswordAge()
          Gets maximum password age in days.
 java.lang.Integer getMinPasswordLength()
          Gets minimum password length in characters.
 java.lang.Integer getPasswordExpirationNotificationDays()
          Gets number of days before password expiration to send password change notification.
 boolean isLowercaseRequired()
          Gets whether lowercase letters are required in password.
 boolean isNonAlphaNumericRequired()
          Gets whether non-alpha-numeric characters are required in password.
 boolean isNonCompliantPasswordLoginDenied()
          Gets whether login is denied if user uses a non-compliant password.
 boolean isNumericRequired()
          Gets whether numeric values are required in password.
 boolean isUppercaseRequired()
          Gets whether uppercase letters are required in password.
 void setEqualPasswordsHistoryLength(java.lang.Integer value)
          Sets number of previous passwords that may not match new password.
 void setLowercaseRequired(boolean value)
          Sets whether lowercase letters are required in password.
 void setMaxPasswordAge(java.lang.Long value)
          Sets maximum password age in days.
 void setMinPasswordLength(java.lang.Integer value)
          Sets minimum password length in characters.
 void setNonAlphaNumericRequired(boolean value)
          Sets whether non-alpha-numeric characters are required in password.
 void setNonCompliantPasswordLoginDenied(boolean value)
          Sets whether login is denied if user uses a non-compliant password.
 void setNumericRequired(boolean value)
          Sets whether numeric values are required in password.
 void setPasswordExpirationNotificationDays(java.lang.Integer value)
          Sets number of days before password expiration to send password change notification.
 void setUppercaseRequired(boolean value)
          Sets whether uppercase letters are required in password.
 java.lang.String toString()
          Returns the String "Password"
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordServiceDescriptor

public PasswordServiceDescriptor()
Method Detail

getMinPasswordLength

public java.lang.Integer getMinPasswordLength()
Gets minimum password length in characters.

Specified by:
getMinPasswordLength in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setMinPasswordLength

public void setMinPasswordLength(java.lang.Integer value)
Sets minimum password length in characters.

Specified by:
setMinPasswordLength in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

getMaxPasswordAge

public java.lang.Long getMaxPasswordAge()
Gets maximum password age in days.

Specified by:
getMaxPasswordAge in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setMaxPasswordAge

public void setMaxPasswordAge(java.lang.Long value)
Sets maximum password age in days.

Specified by:
setMaxPasswordAge in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

getPasswordExpirationNotificationDays

public java.lang.Integer getPasswordExpirationNotificationDays()
Gets number of days before password expiration to send password change notification.

Specified by:
getPasswordExpirationNotificationDays in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setPasswordExpirationNotificationDays

public void setPasswordExpirationNotificationDays(java.lang.Integer value)
Sets number of days before password expiration to send password change notification.

Specified by:
setPasswordExpirationNotificationDays in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

getEqualPasswordsHistoryLength

public java.lang.Integer getEqualPasswordsHistoryLength()
Gets number of previous passwords that may not match new password.

Specified by:
getEqualPasswordsHistoryLength in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setEqualPasswordsHistoryLength

public void setEqualPasswordsHistoryLength(java.lang.Integer value)
Sets number of previous passwords that may not match new password.

Specified by:
setEqualPasswordsHistoryLength in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

isUppercaseRequired

public boolean isUppercaseRequired()
Gets whether uppercase letters are required in password.

Specified by:
isUppercaseRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setUppercaseRequired

public void setUppercaseRequired(boolean value)
Sets whether uppercase letters are required in password.

Specified by:
setUppercaseRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

isLowercaseRequired

public boolean isLowercaseRequired()
Gets whether lowercase letters are required in password.

Specified by:
isLowercaseRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setLowercaseRequired

public void setLowercaseRequired(boolean value)
Sets whether lowercase letters are required in password.

Specified by:
setLowercaseRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

isNumericRequired

public boolean isNumericRequired()
Gets whether numeric values are required in password.

Specified by:
isNumericRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setNumericRequired

public void setNumericRequired(boolean value)
Sets whether numeric values are required in password.

Specified by:
setNumericRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

isNonAlphaNumericRequired

public boolean isNonAlphaNumericRequired()
Gets whether non-alpha-numeric characters are required in password.

Specified by:
isNonAlphaNumericRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setNonAlphaNumericRequired

public void setNonAlphaNumericRequired(boolean value)
Sets whether non-alpha-numeric characters are required in password.

Specified by:
setNonAlphaNumericRequired in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

isNonCompliantPasswordLoginDenied

public boolean isNonCompliantPasswordLoginDenied()
Gets whether login is denied if user uses a non-compliant password.

Specified by:
isNonCompliantPasswordLoginDenied in interface com.jscape.inet.mft.security.PasswordComplianceService.Importer

setNonCompliantPasswordLoginDenied

public void setNonCompliantPasswordLoginDenied(boolean value)
Sets whether login is denied if user uses a non-compliant password.

Specified by:
setNonCompliantPasswordLoginDenied in interface com.jscape.inet.mft.security.PasswordComplianceService.Exporter

toString

public java.lang.String toString()
Returns the String "Password"

Overrides:
toString in class java.lang.Object

assertLengthValid

public void assertLengthValid(char[] password)
                       throws PasswordServiceDescriptor.BadPasswordException
Throws:
PasswordServiceDescriptor.BadPasswordException

assertUppercaseIncluded

public void assertUppercaseIncluded(char[] password)
                             throws PasswordServiceDescriptor.BadPasswordException
Throws:
PasswordServiceDescriptor.BadPasswordException

assertLowercaseIncluded

public void assertLowercaseIncluded(char[] password)
                             throws PasswordServiceDescriptor.BadPasswordException
Throws:
PasswordServiceDescriptor.BadPasswordException

assertNumericIncluded

public void assertNumericIncluded(char[] password)
                           throws PasswordServiceDescriptor.BadPasswordException
Throws:
PasswordServiceDescriptor.BadPasswordException

assertNonAlphaNumericIncluded

public void assertNonAlphaNumericIncluded(char[] password)
                                   throws PasswordServiceDescriptor.BadPasswordException
Throws:
PasswordServiceDescriptor.BadPasswordException

assertNotRepeated

public void assertNotRepeated(char[] password,
                              Account account)
                       throws PasswordServiceDescriptor.PasswordRepeatedException
Throws:
PasswordServiceDescriptor.PasswordRepeatedException


Copyright © 2007 JSCAPE Corp. All Rights Reserved.