dmg.cells.services.login.LoginManager
The LoginManager takes 2 mandetory arguments and two options. The residual arguments and the options are passed to the LoginCell and the Authentication modules.
The arguments are :The options are :
portNumber The tcp listen port loginCellClass The cell class which has to be started, if the authetication protocol was sucessful. Because of the fact, that different protocols may need different information, there is no standard interface which is valid for all supported protocol types.
-prot= the protocol the client is assumed to talk. Currently telnet and raw are supported. -auth= the class which is used to authenticate the client.
Protocol Authenticaton module must implement Default Authentication module raw - - telnet TelnetServerAuthentication dmg.cells.services.login.TelnetSAuth_A
dmg.cells.services.login.TelnetSAuth_A
The TelnetSAuth_A authentication module is responsible for authenticating clients talking the telnet protocol. The module supports several authentication modes.If more than one of the above options are specified, the result is unpredictable.
- -localOk Neither a username nor a password is requested by the module. DEBUG only.
- default In default mode the module asks for the username and a password. The user can be arbitrary but the password has to be 'elch'. DEBUG only.
- -password=<password> The user can be arbitrary but the password has to be '<password>'. DEBUG only.
- -acm=<AccessControlModule> The module sends standard 'acm' requests to the specified 'acm' cell to check the 'user' 'password' pair and if the authenticated user has 'exec:shell:*' permission.
- -pswdfile=<Unix like passwd file> The module checks user and password against the file specified. The file must be identical to /etc/passwd or /etc/shadow. Permissions are not checked.
String cellName , dmg.util.StreamEngine engine |
String cellName, dmg.util.StreamEngine engine, dmg.util.Args args |
If the newly started cell provides the setPrintoutLevel method, it is called with the current printoutvalue of the LoginManager.
dmg.cells.services.StreamLoginCell