|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpl.mipl.mdms.FileService.komodo.api.ServerGroup
public class ServerGroup
Purpose: This class defines all operations that can be performed on a server group.
Copyright 2005, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2005.
============================================================================ Modification History : ---------------------- Date Who What ---------------------------------------------------------------------------- 10/11/2005 Nick Initial release. ============================================================================
| Constructor Summary | |
|---|---|
ServerGroup(Session session,
List sInfos)
Constructor |
|
| Method Summary | |
|---|---|
int |
authenticateUser()
Method to authenticate user/password for any filetype part of the server group. |
int |
authenticateUser(String filetype)
Method to authenticate user/password for a specific filetype as part of the server group. |
int |
authenticateUser(String user,
String password,
String filetype)
Method to authenticate user/password for a specific filetype or some existing filetype without diretly accessing filetypes. |
int |
close()
Method to close this file type. |
String |
getName()
Accessor method to get the name of this file type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerGroup(Session session,
List sInfos)
throws SessionException
session - a transfer session, for maintining file types and
connections.sInfos - List of server info instances
SessionException - when session failure.
If unable to connect to server, errno = CONN_FAILED. If
authentication error, errno = INVALID_LOGIN.| Method Detail |
|---|
public final String getName()
public int authenticateUser(String user,
String password,
String filetype)
user - Usernamepassword - User passwordfiletype - Name of filetype in server group for which
authentication is being performed. If null, then general
authentication (can user access at least one filetype?)
is performed.
public int authenticateUser()
public int authenticateUser(String filetype)
filetype - Name of filetype in server group for which
authentication is being performed. If null, then general
authentication ("Can user access at least one filetype?")
is performed.
public int close()
close in interface Closable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||