public class PLoginBeanImpl extends PControllerImpl implements PLoginBean, Serializable
Implements the following functionality:
PortalOp.ACT_FIND_VERIFY opcode to verify the user's
login and pasword.mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PLoginBeanImpl()
Creates a controller for logging in the user.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getSelectionDataFor(String dataItem,
int index)
Used only for BAS
Swing clients. |
void |
login_verify(javax.servlet.http.HttpSession session,
ResourceBundle bundle)
Creates the flist based on input data and calls the opcode to log in.
|
void |
login_verify(javax.servlet.http.HttpSession session,
String Identifier,
ResourceBundle bundle)
Creates the login flist, based on input data, and verifies the user.
|
void |
setLogin(String sLogin)
Sets the input data for the login.
|
void |
setPassword(String sPassword)
Sets the input data for the password.
|
void |
setService(String sService)
Sets the input the data for the service.
|
void |
update(int reason,
Object data)
Used only for BAS
Swing clients. |
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedpublic PLoginBeanImpl()
throws RemoteException
RemoteExceptionpublic void setLogin(String sLogin) throws RemoteException
setLogin in interface PLoginBeansLogin - a String with the userid to use for logging inRemoteExceptionpublic void setPassword(String sPassword) throws RemoteException
setPassword in interface PLoginBeansPassword - a String with the password to use for logging inRemoteExceptionpublic void setService(String sService) throws RemoteException
setService in interface PLoginBeansService - a String with the service to useRemoteExceptionpublic void update(int reason,
Object data)
Swing clients.
Default behavior in this case is to do nothing.update in class PControllerImplreason - an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL, UPDATE_PROPERTY,
UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)data - the data associated with updatepublic Object getSelectionDataFor(String dataItem, int index)
Swing clients.
Default behavior in this case is to do nothing
and return null.getSelectionDataFor in interface PControllerBeandataItem - the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent.index - an optional index into an array data itempublic void login_verify(javax.servlet.http.HttpSession session,
ResourceBundle bundle)
throws RemoteException
login_verify in interface PLoginBeansession - the HTTP sessionbundle - the resource bundle to useRemoteException - thrown for errorspublic void login_verify(javax.servlet.http.HttpSession session,
String Identifier,
ResourceBundle bundle)
throws RemoteException
login_verify in interface PLoginBeansession - the HTTP sessionIdentifier - the model handle's identifier saved in the sessionbundle - the resource bundleRemoteException - thrown for a missing contextCopyright © 2003, 2023, Oracle and/or its affiliates.