java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.UserRegistryAccessBean
This table stores user authentication information. This access bean corresponds to the database table 'USERREG'.
Constructor Summary | |
UserRegistryAccessBean() Zero argument constructor used to initialize the access bean. |
|
UserRegistryAccessBean(javax.ejb.EJBObject o) constructor |
|
UserRegistryAccessBean(java.lang.Long aUserId, java.lang.String aLogonName) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAdministrators() The SQL is "SELECT * FROM USERREG T1 WHERE (USERS_ID = ANY (SELECT users_id FROM users WHERE registertype IN ('A','S'))) ORDER BY logonId". |
java.util.Enumeration | findByAdministratorLogonId(java.lang.String aLogonId) The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID LIKE ?) AND (T1.USERS_ID = ANY (SELECT USERS.USERS_ID FROM USERS WHERE USERS.REGISTERTYPE = 'A' OR USERS.REGISTERTYPE = 'S'))". |
UserRegistryAccessBean | findByCISLogonId(java.lang.String aLogonId) Find a use by logon id (case insensitive) |
java.util.Enumeration | findByPolicyAccountId(java.lang.Integer nPolicyAccountId) The SQL is "SELECT * FROM USERREG T1 WHERE (T1.PLCYACCT_ID = ?)" |
UserRegistryAccessBean | findByUserLogonId(java.lang.String aLogonId) The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID = ?)". |
java.lang.String | getChallengeAnswer() This method provides access to the USERREG.CHALLENGEANSWER column of DB2 type VARCHAR(254). |
java.lang.String | getChallengeQuestion() This method provides access to the USERREG.CHALLENGEQUESTION column of DB2 type VARCHAR(254). |
java.lang.String | getLogonId() This method provides access to the USERREG.LOGONID column of DB2 type VARCHAR(254) NOT NULL. |
byte[] | getLogonPassword() This method provides access to the USERREG.LOGONPASSWORD column of DB2 type CHAR(128) FOR BIT DATA. |
java.lang.String | getPasswordCreation() This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getPasswordCreationInEJBType() This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP. |
java.lang.String | getPasswordExpired() This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER. |
java.lang.Integer | getPasswordExpiredInEJBType() This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER. |
java.lang.String | getPasswordInvalid() This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getPasswordInvalidInEJBType() This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP. |
java.lang.String | getPasswordRetries() This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0. |
java.lang.Integer | getPasswordRetriesInEJBType() This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0. |
java.lang.String | getPolicyAccountId() This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER. |
java.lang.Integer | getPolicyAccountIdInEJBType() This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER. |
java.lang.String | getSalt() This method provides access to the USERREG.SALT column of DB2 type VARCHAR(254). |
java.lang.String | getStatus() This method provides access to the USERREG.STATUS column of DB2 type INTEGER. |
java.lang.Integer | getStatusInEJBType() This method provides access to the USERREG.STATUS column of DB2 type INTEGER. |
java.lang.String | getTimeout() This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1. |
java.lang.Long | getTimeoutInEJBType() This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1. |
java.lang.String | getUserId() This method provides access to the USERREG.USERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getUserIdInEJBType() This method provides access to the USERREG.USERS_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setChallengeAnswer(java.lang.String newValue) This method accesses a non-CMP field |
void | setChallengeQuestion(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_UserId(java.lang.String newValue) Set the primary key for this object |
void | setLogonId(java.lang.String newValue) This method accesses a non-CMP field |
void | setLogonPassword(byte[] newValue) This method accesses a non-CMP field |
void | setPasswordCreation(java.lang.String newValue) This method accesses a non-CMP field |
void | setPasswordCreation(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setPasswordExpired(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setPasswordExpired(java.lang.String newValue) This method accesses a non-CMP field |
void | setPasswordInvalid(java.lang.String newValue) This method accesses a non-CMP field |
void | setPasswordInvalid(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setPasswordRetries(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setPasswordRetries(java.lang.String newValue) This method accesses a non-CMP field |
void | setPolicyAccountId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setPolicyAccountId(java.lang.String newValue) This method accesses a non-CMP field |
void | setSalt(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeout(java.lang.Long newValue) This method accesses a non-CMP field |
void | setTimeout(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserRegistryAccessBean()
public UserRegistryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public UserRegistryAccessBean(java.lang.Long aUserId, java.lang.String aLogonName) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public UserRegistryAccessBean findByCISLogonId(java.lang.String aLogonId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Find a use by logon id (case insensitive)
"SELECT * FROM USERREG WHERE (UCASE("LOGONID") + " = ?)" (DB2)
"SELECT * FROM USERREG WHERE (UPPER("LOGONID") + " = ?)" (Oracle)
public UserRegistryAccessBean findByUserLogonId(java.lang.String aLogonId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID = ?)".
public java.util.Enumeration findAdministrators() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM USERREG T1 WHERE (USERS_ID = ANY (SELECT users_id FROM users WHERE registertype IN ('A','S'))) ORDER BY logonId".
public java.util.Enumeration findByAdministratorLogonId(java.lang.String aLogonId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID LIKE ?) AND (T1.USERS_ID = ANY (SELECT USERS.USERS_ID FROM USERS WHERE USERS.REGISTERTYPE = 'A' OR USERS.REGISTERTYPE = 'S'))".
public java.util.Enumeration findByPolicyAccountId(java.lang.Integer nPolicyAccountId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM USERREG T1 WHERE (T1.PLCYACCT_ID = ?)"
public void setInitKey_UserId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public byte[] getLogonPassword() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.LOGONPASSWORD column of DB2 type CHAR(128) FOR BIT DATA.
The following is a description of this column:
The encrypted user logon password. Compare with the SHLPSWD column of the SHOPPER table provided with previous versions of WebSphere Commerce or WebSphere Commerce Suite.
public void setLogonPassword(byte[] newValue)
public java.lang.String getPasswordExpired() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER.
The following is a description of this column:
Specifies whether or not the user password has expired. Valid values are 0 (not expired) or 1 (expired).
public java.lang.Integer getPasswordExpiredInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER.
The following is a description of this column:
Specifies whether or not the user password has expired. Valid values are 0 (not expired) or 1 (expired).
public void setPasswordExpired(java.lang.String newValue)
public void setPasswordExpired(java.lang.Integer newValue)
public java.lang.String getSalt() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.SALT column of DB2 type VARCHAR(254).
The following is a description of this column:
The value that is prepended to the password before hashing.
public void setSalt(java.lang.String newValue)
public java.lang.String getUserId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.USERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the user member. Foreign key to the USERS table.
public java.lang.Long getUserIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.USERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID for the user member. Foreign key to the USERS table.
public java.lang.String getChallengeQuestion() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.CHALLENGEQUESTION column of DB2 type VARCHAR(254).
The following is a description of this column:
Challenge question for confirmation of the user identity. Compare with the SCHAQUE column of the SHOPPER table provided with previous versions of WebSphere Commerce or WebSphere Commerce Suite.
public void setChallengeQuestion(java.lang.String newValue)
public java.lang.String getPolicyAccountId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER.
The following is a description of this column:
The account policy for this user, foreign key to the PLCYACCT table.
public java.lang.Integer getPolicyAccountIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER.
The following is a description of this column:
The account policy for this user, foreign key to the PLCYACCT table.
public void setPolicyAccountId(java.lang.String newValue)
public void setPolicyAccountId(java.lang.Integer newValue)
public java.lang.String getPasswordCreation() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time the password for the user was created or updated.
public java.sql.Timestamp getPasswordCreationInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time the password for the user was created or updated.
public void setPasswordCreation(java.lang.String newValue)
public void setPasswordCreation(java.sql.Timestamp newValue)
public java.lang.String getPasswordRetries() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0.
The following is a description of this column:
The number of times consecutively the password is entered incorrectly.
public java.lang.Integer getPasswordRetriesInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0.
The following is a description of this column:
The number of times consecutively the password is entered incorrectly.
public void setPasswordRetries(java.lang.String newValue)
public void setPasswordRetries(java.lang.Integer newValue)
public java.lang.String getPasswordInvalid() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP.
The following is a description of this column:
Timestamp of the last failed attempt to log in.
public java.sql.Timestamp getPasswordInvalidInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP.
The following is a description of this column:
Timestamp of the last failed attempt to log in.
public void setPasswordInvalid(java.lang.String newValue)
public void setPasswordInvalid(java.sql.Timestamp newValue)
public java.lang.String getChallengeAnswer() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.CHALLENGEANSWER column of DB2 type VARCHAR(254).
The following is a description of this column:
Answer to challenge question. Compare with the SHCHAANS column of the SHOPPER table provided with previous versions of WebSphere Commerce or WebSphere Commerce Suite.
public void setChallengeAnswer(java.lang.String newValue)
public java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.STATUS column of DB2 type INTEGER.
The following is a description of this column:
Allows the user to have the logon ID disabled without removing the user from the system. Valid values are as follows:&l
public java.lang.Integer getStatusInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.STATUS column of DB2 type INTEGER.
The following is a description of this column:
Allows the user to have the logon ID disabled without removing the user from the system. Valid values are as follows:&l
public void setStatus(java.lang.String newValue)
public void setStatus(java.lang.Integer newValue)
public java.lang.String getLogonId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.LOGONID column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The user logon ID.
public void setLogonId(java.lang.String newValue)
public java.lang.String getTimeout() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1.
The following is a description of this column:
Time for which the user cannot log in after failed attempts to log in.
public java.lang.Long getTimeoutInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1.
The following is a description of this column:
Time for which the user cannot log in after failed attempts to log in.
public void setTimeout(java.lang.String newValue)
public void setTimeout(java.lang.Long newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.