com.sage.accpac.sm
Enum SharedDataSet.PasswordStatus

java.lang.Object
  extended by java.lang.Enum<SharedDataSet.PasswordStatus>
      extended by com.sage.accpac.sm.SharedDataSet.PasswordStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SharedDataSet.PasswordStatus>
Enclosing class:
SharedDataSet

public static enum SharedDataSet.PasswordStatus
extends java.lang.Enum<SharedDataSet.PasswordStatus>

The possible statuses that can be returned when processing passwords (e.g. when changing them or checking them).


Enum Constant Summary
AccountDisabled
          the user account has been disabled
AlreadyUsed
          the new password provided has been used too recently
ContainsInvalidCharacters
          the new password contains invalid characters
HasNonLetterFirst
          the new password does not start with a letter
IncorrectUserOrPassword
          the user name and/or password is incorrect
LockedOut
          the user is locked out
MustChangePassword
          the user must change their password
NotAllowedToChange
          the user is not allowed to change their password
NotAtThisTime
          the user is only allowed to access their account at certain times and they are not allowed to at this time.
NotComplex
          the new password provided is not sufficiently complex
Success
          total success
TooLong
          the new password provided is too long
TooShort
          the new password provided is too short
 
Method Summary
static SharedDataSet.PasswordStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SharedDataSet.PasswordStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Success

public static final SharedDataSet.PasswordStatus Success
total success


MustChangePassword

public static final SharedDataSet.PasswordStatus MustChangePassword
the user must change their password


LockedOut

public static final SharedDataSet.PasswordStatus LockedOut
the user is locked out


AccountDisabled

public static final SharedDataSet.PasswordStatus AccountDisabled
the user account has been disabled


NotComplex

public static final SharedDataSet.PasswordStatus NotComplex
the new password provided is not sufficiently complex


TooShort

public static final SharedDataSet.PasswordStatus TooShort
the new password provided is too short


NotAtThisTime

public static final SharedDataSet.PasswordStatus NotAtThisTime
the user is only allowed to access their account at certain times and they are not allowed to at this time.


AlreadyUsed

public static final SharedDataSet.PasswordStatus AlreadyUsed
the new password provided has been used too recently


IncorrectUserOrPassword

public static final SharedDataSet.PasswordStatus IncorrectUserOrPassword
the user name and/or password is incorrect


NotAllowedToChange

public static final SharedDataSet.PasswordStatus NotAllowedToChange
the user is not allowed to change their password


TooLong

public static final SharedDataSet.PasswordStatus TooLong
the new password provided is too long


ContainsInvalidCharacters

public static final SharedDataSet.PasswordStatus ContainsInvalidCharacters
the new password contains invalid characters


HasNonLetterFirst

public static final SharedDataSet.PasswordStatus HasNonLetterFirst
the new password does not start with a letter

Method Detail

values

public static SharedDataSet.PasswordStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SharedDataSet.PasswordStatus c : SharedDataSet.PasswordStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SharedDataSet.PasswordStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2011 Sage Software, Inc. All rights reserved.