A C D G I J L M P R S T V

A

associate(String, String, String) - Method in class structures.DBImplementation
Associates a thread with an agent and its group.
associate(String, String, String) - Method in interface structures.DBInterface
Associates a thread with an agent and its group.

C

CertificateVerifier - class gateway.CertificateVerifier.
Extracts and checks the validity of the Jar's certificates.
CertificateVerifier() - Constructor for class gateway.CertificateVerifier
 
ClientFTP - class gateway.ClientFTP.
The agents can use this class to establish a connection to the Gateway.
ClientFTP() - Constructor for class gateway.ClientFTP
 
createGroup(String, long) - Method in class structures.DBImplementation
Creates a new group and specifies the lifetime of the agents that will belong to the group.
createGroup(String, long) - Method in interface structures.DBInterface
Creates a new group and specifies the lifetime of the agents that will belong to the group.
createRoot(String) - Method in class structures.DBImplementation
Creates an empty root in the database.
createRoot(String) - Method in interface structures.DBInterface
Creates an empty root in the database.

D

DBImplementation - class structures.DBImplementation.
Implements DBInterface using files.
DBImplementation() - Constructor for class structures.DBImplementation
 
DBInterface - interface structures.DBInterface.
Defines the methods that allow the agents to manipulate the roots, the groups and establish associations between roots and groups (to control which groups will read or write an specific root) stored in a database.
deleteGroup(String) - Method in class structures.DBImplementation
Deletes an existing group from the database.
deleteGroup(String) - Method in interface structures.DBInterface
Deletes an existing group.
deleteRoot(String) - Method in class structures.DBImplementation
Deletes an existing group from the database.
deleteRoot(String) - Method in interface structures.DBInterface
Deletes an existing group of the database.

G

get(String) - Method in class structures.DBImplementation
Retrieves a root content from the database.
get(String) - Method in interface structures.DBInterface
Gets a root content.
getAgentName(String) - Method in class structures.DBImplementation
Retrieves from the database the name of the agent associated to the specified thread.
getAgentName(String) - Method in interface structures.DBInterface
Gets the name of the agent associated to the specified thread.
getAgentThread(String) - Method in class structures.StoreThreadsControll
Gets the agent corresponding to this thread.
getCert(String) - Method in class gateway.CertificateVerifier
Extracts the Jar certificates and compares them with the certificate imported to a keystore.
getGroup(String) - Method in class structures.DBImplementation
Retrieves from the database the name of the group associated to the specified thread.
getGroup(String) - Method in interface structures.DBInterface
Gets the name of the group associated to the specified thread.
getGroups() - Method in class structures.DBImplementation
Retrieves the names of all the groups stored in the database.
getGroups() - Method in interface structures.DBInterface
Gets the names of all the groups stored in the database.
getGroupsToRead(String) - Method in class structures.DBImplementation
Retrieves from the database the names of the groups with read permission to a specific root.
getGroupsToRead(String) - Method in interface structures.DBInterface
Gets the names of the groups with read permission to a specific root.
getGroupsToWrite(String) - Method in class structures.DBImplementation
Retrieves from the database the names of the groups with write and delete permissions to a specific root.
getGroupsToWrite(String) - Method in interface structures.DBInterface
Gets the names of the groups with write and delete permissions to a specific root.
getRoots() - Method in class structures.DBImplementation
Retrieves the names of all the roots stored in the database.
getRoots() - Method in interface structures.DBInterface
Gets the names of all the roots stored in the database.
getRootsToRead(String) - Method in class structures.DBImplementation
Retrieves from the database the names of the roots that this group has permission to read.
getRootsToRead(String) - Method in interface structures.DBInterface
Gets the names of the roots that this group has permission to read.
getRootsToWrite(String) - Method in class structures.DBImplementation
Retrieves from the database the names of the roots that this group has permission to write and delete.
getRootsToWrite(String) - Method in interface structures.DBInterface
Gets the names of the roots that this group has permission to write and delete.
getThreadsDataBase() - Method in class structures.StoreThreadsControll
Gets the Hashtable containing all the threads and associated groups and agents objects.
getTime(String) - Method in class structures.DBImplementation
Retrieves from the database the lifetime of the agents that belongs to this group.
getTime(String) - Method in interface structures.DBInterface
Gets the lifetime of the agents that belongs to this group.
GroupException - exception structures.GroupException.
Thrown if a group does not exist in the database.
GroupException() - Constructor for class structures.GroupException
Constructs an GroupException without a detail message.
GroupException(String) - Constructor for class structures.GroupException
Constructs an GroupException with a detail message.

I

initialize() - Method in class structures.DBImplementation
Initializes the database with the firsts groups.
initialize() - Method in interface structures.DBInterface
Initializes the database with the firsts groups.
InvalidAliasException - exception gateway.InvalidAliasException.
Thrown if an alias dos not exist in the SIUDS keystore.
InvalidAliasException() - Constructor for class gateway.InvalidAliasException
Constructs an InvalidAliasException without a detail message.
InvalidAliasException(String) - Constructor for class gateway.InvalidAliasException
Constructs an InvalidAliasException with a detail message.
InvalidJarException - exception gateway.InvalidJarException.
Thrown if the JAR is not correctly signed.
InvalidJarException() - Constructor for class gateway.InvalidJarException
Constructs an InvalidJarException without a detail message.
InvalidJarException(String) - Constructor for class gateway.InvalidJarException
Constructs an invalidException with a detail message.
isGroup(String) - Method in class structures.DBImplementation
Tests if this group name already exists in the database.
isGroup(String) - Method in interface structures.DBInterface
Tests if this group name already exists in the database.
isReadable(String, String) - Method in class structures.DBImplementation
Tests if a group has permission to read a root.
isReadable(String, String) - Method in interface structures.DBInterface
Tests if a group has permission to read a root.
isRoot(String) - Method in class structures.DBImplementation
Tests if a root exists in the database.
isRoot(String) - Method in interface structures.DBInterface
Tests if a root exists in the database.
isWriteable(String, String) - Method in class structures.DBImplementation
Tests if a group has permission to write and delete a root.
isWriteable(String, String) - Method in interface structures.DBInterface
Tests if a group has permission to write and delete a root.

J

JarRunner - class pool.JarRunner.
Runs a jar application under SecurityManager.
JarRunner(String, String) - Constructor for class pool.JarRunner
Creates a JarClassLoader for a jar application from any url.
JarVerifier - class gateway.JarVerifier.
Tests if a Jar is valid, i.e if it was not modified while in transit.
JarVerifier() - Constructor for class gateway.JarVerifier
 

L

LifetimeException - exception pool.LifetimeException.
Thrown when the lifetime of an agent ends.
LifetimeException() - Constructor for class pool.LifetimeException
Constructs an LifetimeException without a detail message.
LifetimeException(String) - Constructor for class pool.LifetimeException
Constructs an LifetimeException with a detail message.

M

main(String[]) - Static method in class pool.JarRunner
Starts the Gateway agent.
main(String[]) - Static method in class gateway.ClientFTP
Establishes a connection to the Server FTP and sends a file.
main(String[]) - Static method in class gateway.ServerFTP
Starts the Gateway agent

P

Pool - class pool.Pool.
The Pool is an environment where all the software agents run.
Pool() - Constructor for class pool.Pool
 

R

receiveJarInfo(String, String) - Static method in class pool.Pool
Called when an agent is ready to excecute.
removeAssociation(String) - Method in class structures.DBImplementation
Removes the association between an agent and a thread.
removeAssociation(String) - Method in interface structures.DBInterface
Removes the association between an agent and a thread.
RootException - exception structures.RootException.
Thrown if a root does not exist in the database.
RootException() - Constructor for class structures.RootException
Constructs an RootException without a detail message.
RootException(String) - Constructor for class structures.RootException
Constructs an RootException with a detail message.
run() - Method in class pool.JarRunner
Starts a thread of excecution for the current Jar.
run() - Method in class pool.TimeCounter
 
run() - Method in class gateway.ServerFTP
 

S

SERVER_PORT - Static variable in class gateway.ServerFTP
Port number.
ServerFTP - class gateway.ServerFTP.
It is the Main-Class of the Gateway agent.
ServerFTP() - Constructor for class gateway.ServerFTP
 
set(String, Object) - Method in class structures.DBImplementation
Updates a root content.
set(String, Object) - Method in interface structures.DBInterface
Updates a root content.
setGroupToRead(String, String) - Method in class structures.DBImplementation
Gives permission for a group to read a specified root.
setGroupToRead(String, String) - Method in interface structures.DBInterface
Gives permission for a group to read a specified root.
setGroupToWrite(String, String) - Method in class structures.DBImplementation
Gives permission for a group to read a specified root.
setGroupToWrite(String, String) - Method in interface structures.DBInterface
Gives permission for a group to write and delete a specified root.
StoreThreadsControll - class structures.StoreThreadsControll.
Sets in the Hashtable and gets back from the Hashtable, information about the threads and their associated groups and agents.
StoreThreadsControll() - Constructor for class structures.StoreThreadsControll
 

T

TimeCounter - class pool.TimeCounter.
Controlls the jar lifetime according to the time associated to its group.
TimeCounter(String) - Constructor for class pool.TimeCounter
Controlls the jar lifetime according to the time associated to its group.

V

verification(String) - Method in class gateway.JarVerifier
Makes the JAR file verification using the jarsigner tool.

A C D G I J L M P R S T V