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, unreferenced
public PLoginBeanImpl() throws RemoteException
RemoteException
public void setLogin(String sLogin) throws RemoteException
setLogin
in interface PLoginBean
sLogin
- a String
with the userid to use for logging inRemoteException
public void setPassword(String sPassword) throws RemoteException
setPassword
in interface PLoginBean
sPassword
- a String
with the password to use for logging inRemoteException
public void setService(String sService) throws RemoteException
setService
in interface PLoginBean
sService
- a String
with the service to useRemoteException
public void update(int reason, Object data)
Swing
clients.
Default behavior in this case is to do nothing.update
in class PControllerImpl
reason
- 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 update
public Object getSelectionDataFor(String dataItem, int index)
Swing
clients.
Default behavior in this case is to do nothing
and return null.getSelectionDataFor
in interface PControllerBean
dataItem
- 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 PLoginBean
session
- 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 PLoginBean
session
- 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.