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
implements UserManagementConstants

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
 
Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants
ANONYMOUS_PROFILE, CACHED_PROFILE, DEFAULT_SCOPE, DEFAULT_SUCCESSOR, DEFAULT_SUCCESSOR_HOME, DEFAULT_SUCCESSOR_JNDI, DEFAULT_SUCCESSOR_PK, DEFAULT_USER, DEFAULT_USER_HOME, DEFAULT_USER_JNDI, DEFAULT_USER_PK, GROUP, GROUP_ENTITY_HOME, PROFILE_MGR, PROFILE_SUCCESSOR, PROFILE_USER, REALM_CONFIG, RESERVED_SCOPE, USER, USER_ENTITY_HOME, USER_MGR
 
Fields inherited from interface com.beasys.commerce.foundation.property.SchemaManagerConstants
APPLICATION_INIT_TYPE, CATALOG_TYPE, CONTENT_TYPE, REQUEST_TYPE, SCHEMA, SCHEMA_GROUPS, SESSION_TYPE, USER_TYPE
 
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.lang.String[] getUnifiedProfileTypes()
           
 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
clone, equals, finalize, 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

getUnifiedProfileTypes

public java.lang.String[] getUnifiedProfileTypes()

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved