BEA Systems, Inc.

com.beasys.commerce.user.jsp.beans
Class UserBean

java.lang.Object
  |
  +--com.beasys.commerce.user.jsp.beans.UserBean

public class UserBean
extends java.lang.Object

Jsp Bean used to support the addition of system users.


Field Summary
static int USERNAME_CONTAINS_DISALLOWED_CHAR
          Error in username -- contains disallowed char
static int USERNAME_OK
          User name ok
static int USERNAME_STARTS_WITH_DIGIT
          Error in username -- starts with digit
 
Constructor Summary
UserBean()
           
 
Method Summary
 void addUser(java.lang.String user)
          Adds a username to the list of newly-added users.
 java.lang.String getDisallowedChars()
          Returns a string of disallowed username chars.
 int getMinPasswordLength()
          Returns the minimum allowable password length.
 java.util.Vector getUsers()
          Returns the list of newly-added users.
 void reset()
          Resets the list of newly-added users.
 int validation(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USERNAME_OK

public static final int USERNAME_OK
User name ok

USERNAME_STARTS_WITH_DIGIT

public static final int USERNAME_STARTS_WITH_DIGIT
Error in username -- starts with digit

USERNAME_CONTAINS_DISALLOWED_CHAR

public static final int USERNAME_CONTAINS_DISALLOWED_CHAR
Error in username -- contains disallowed char
Constructor Detail

UserBean

public UserBean()
Method Detail

reset

public void reset()
Resets the list of newly-added users.

addUser

public void addUser(java.lang.String user)
Adds a username to the list of newly-added users.
Parameters:
user - the name of the newly-added user

getUsers

public java.util.Vector getUsers()
Returns the list of newly-added users.
Returns:
the list of newly-added users

validation

public int validation(java.lang.String name)

getDisallowedChars

public java.lang.String getDisallowedChars()
Returns a string of disallowed username chars.
Returns:
a string of disallowed username chars

getMinPasswordLength

public int getMinPasswordLength()
Returns the minimum allowable password length.
Returns:
the minimum allowable password length

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved