A B C D E F G I K L M N O P R S T U V W

A

AARRException - Exception in es.rediris.aarr
Exceptions caught by AARR main module
AARRException() - Constructor for exception es.rediris.aarr.AARRException
Basic exception with no message
AARRException(String) - Constructor for exception es.rediris.aarr.AARRException
Exception with a message
AARRMain - Class in es.rediris.aarr
This is the main class of AARR.
AARRMain() - Constructor for class es.rediris.aarr.AARRMain
AARRMain main constructor (no configuration is supplied)
Action - Class in es.rediris.aarr.rules
This abstract class defines the methods that an Action must contain.
Action() - Constructor for class es.rediris.aarr.rules.Action
 
ActionFinish - Class in es.rediris.aarr.rules
This class extends a Action and is used to create and modify Finish Action.
ActionFinish(Element) - Constructor for class es.rediris.aarr.rules.ActionFinish
The class constructor sets the name and value of this ActionFinish from the attributes "name" and "finnish" of the given condition element
ActionNext - Class in es.rediris.aarr.rules
This class extends a Action and is used to create and modify an action that is not a finish or send.
ActionNext(Element) - Constructor for class es.rediris.aarr.rules.ActionNext
The class constructor sets the name and value of this ActionNext from the attributes "name" and "next" of the given condition element
actions - Variable in class es.rediris.aarr.rules.Rule
A vector containing the actions for this rule
ActionSend - Class in es.rediris.aarr.rules
For a given condition sets the name of the condition, read all the fields in the condition and separates and stores their value, key and base.
ActionSend(Element) - Constructor for class es.rediris.aarr.rules.ActionSend
The class constructor sets the name of this ActionSend from the attribute "name" and then gets all fields (with its ids, values, keys, and bases) within the condition org.w3c.dom.Element passed
actualState - Variable in class es.rediris.aarr.rules.Ruleset
The actual State
addAction(Action) - Method in class es.rediris.aarr.rules.Rule
Adds a new action
addCondition(Condition) - Method in class es.rediris.aarr.rules.Rule
Adds a new condition to the conditions vector
addElement(Object) - Method in class es.rediris.aarr.data.ObservableVector
Adds a new element to the vector, marks this object as having been changed (the hasChanged method will now return true) and notifies observers about the change (therefore setting back the Changed status to false)
addRule(Rule) - Method in class es.rediris.aarr.rules.State
Adds a new rule to the rules vector
addState(State) - Method in class es.rediris.aarr.rules.Ruleset
Adds a new State to the states vector

B

base - Variable in class es.rediris.aarr.rules.ConditionField
The base for this ConditionField
bases - Variable in class es.rediris.aarr.rules.ActionSend
The bases (also strings)
binding - Variable in class es.rediris.aarr.Configuration
A binding for this config.
binding - Variable in class es.rediris.aarr.ConfigurationProcessor
A binding for this config.

C

changeState(int) - Method in class es.rediris.aarr.rules.Ruleset
Changes to the State specified by the index param and displays the action through the diagnostics module.
changeState(String) - Method in class es.rediris.aarr.rules.Ruleset
Changes to the State specified by the name param and displays the action through the diagnostics module.
checkCondition() - Method in class es.rediris.aarr.rules.Condition
Checks if this Condition is TRUE or FALSE
checkCondition() - Method in class es.rediris.aarr.rules.ConditionDefault
Checks if the condition is true and matches a ConditionDefault#VALUE_ANY and then sends output to the diagnostics module.
checkCondition() - Method in class es.rediris.aarr.rules.ConditionField
Checks if the condition is true by performing a binary search of all the possible values in the array of attributes obtained from the RuleProcessor.getParam() for the field value in this Condition.
checkCondition() - Method in class es.rediris.aarr.rules.ConditionReceive
Checks if the condition is true by comparing the equality of received and the value obtained from RuleProcessor.getInputQuery().
Condition - Class in es.rediris.aarr.rules
This abstract class defines the methods that a Condition must contain.
Condition() - Constructor for class es.rediris.aarr.rules.Condition
 
ConditionDefault - Class in es.rediris.aarr.rules
This class extends a Condition and is used to create and modify a default condition.
ConditionDefault(Element) - Constructor for class es.rediris.aarr.rules.ConditionDefault
The constructor of this class receives a org.w3c.dom.Element with specifying a Condition.
ConditionField - Class in es.rediris.aarr.rules
This class extends a Condition and is used to create and modify a condition field.
ConditionField(Element) - Constructor for class es.rediris.aarr.rules.ConditionField
The constructor for this class receives a org.w3c.dom.Element that should contain five different attributes ("name", "field", "value", "base", and "key").
ConditionReceive - Class in es.rediris.aarr.rules
This class extends a Condition and is used to create and modify a condition "receive".
ConditionReceive(Element) - Constructor for class es.rediris.aarr.rules.ConditionReceive
The constructor for this class receives a org.w3c.dom.Element that should contain two attributes, "name" and "receive".
conditions - Variable in class es.rediris.aarr.rules.Rule
A vector containing the conditions for this rule
confFile - Static variable in class es.rediris.aarr.AARRMain
A string used to store the config filename if one is supplied
configProtocol - Variable in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
An element that will store a configured protocol
Configuration - Class in es.rediris.aarr
This class is used for setting a new configuration or getting info about a given one.
Configuration(String) - Constructor for class es.rediris.aarr.Configuration
Unique constructor for this class; it sets the binding with a null protocol definition.
configurationProcessor - Variable in class es.rediris.aarr.AARRMain
A ConfigurationProcessor object used to load and store a configuration
ConfigurationProcessor - Class in es.rediris.aarr
This class is used for loading a given configuration specified from the command line.
ConfigurationProcessor() - Constructor for class es.rediris.aarr.ConfigurationProcessor
Constructs the class and tries to parse the default config file
ConfigurationProcessor(String) - Constructor for class es.rediris.aarr.ConfigurationProcessor
Constructs the class and tries to parse the given filename using the parseXml() method.
ConfigurationProcessorException - Exception in es.rediris.aarr
Exceptions caught by the Configuration Processor module
ConfigurationProcessorException() - Constructor for exception es.rediris.aarr.ConfigurationProcessorException
Exception caught while processing a configuration
ConfigurationProcessorException(String) - Constructor for exception es.rediris.aarr.ConfigurationProcessorException
Exception caught while processing a configuration plus a message
confProc - Variable in class es.rediris.aarr.ProfileManager
 
confProtocol - Variable in class es.rediris.aarr.Configuration
The protocol used in the configuration
confProtocol - Variable in class es.rediris.aarr.ConfigurationProcessor
The protocol used in the configuration
createAttributeResponse(DataUnit, String[], String[]) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Returns a SAMLResponse(String inResponseTo, String recipient, Collection assertions, SAMLException e) in response to a query asking for attributes, by taking into account the provided data.
createAuthenticationResponse(DataUnit, String[], String[]) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Returns a SAMLResponse(String inResponseTo, String recipient, Collection assertions, SAMLException e) in response to an authentication query, by taking into account the provided data.
createAuthorizationResponse(DataUnit, String[], String[]) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Returns a SAMLResponse(String inResponseTo, String recipient, Collection assertions, SAMLException e) in response to an authorization query, by taking into account the provided data.
createResponse(DataUnit, String[], String[]) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
This method returns SAML responses (SAMLResponse objects) depending on the query param passed and the data provided .

D

DataSource - Interface in es.rediris.aarr.data
This interface defines the methods that external data sources will have to implement.
DataSourceException - Exception in es.rediris.aarr.data
Exceptions thrown while opening, processing or connecting to a data source
DataSourceException() - Constructor for exception es.rediris.aarr.data.DataSourceException
The protocol adaptor exception
DataSourceException(String) - Constructor for exception es.rediris.aarr.data.DataSourceException
Protocol adaptor exception plus message
dataSources - Variable in class es.rediris.aarr.ConfigurationProcessor
External datasource (to be defined the type at parseEnvironment)
DataUnit - Class in es.rediris.aarr.protocol.saml
This class implements a DataUnit object.
DataUnit(Object, Object) - Constructor for class es.rediris.aarr.protocol.saml.DataUnit
Unique constructor
DEBUG_MODE - Static variable in class es.rediris.aarr.Diagnostic
DEBUG log level mode
DEFAULT_CONFIG_FILE - Static variable in class es.rediris.aarr.ConfigurationProcessor
Default name for the configuration file.
delAction(Action) - Method in class es.rediris.aarr.rules.Rule
Remove specified Action from the conditions vector
delCondition(Condition) - Method in class es.rediris.aarr.rules.Rule
Remove specified condition from the conditions vector
delElement(Object) - Method in class es.rediris.aarr.data.ObservableVector
Removes an object from the vector, marks this object as having been changed (the hasChanged method will now return true) and notifies observers about the change (therefore setting back the Changed status to false)
delElement(int) - Method in class es.rediris.aarr.data.ObservableVector
Removes an element from the vector passing the name of that element, then marks this object as having been changed (the hasChanged method will now return true) and notifies observers about the change (therefore setting back the Changed status to false)
delRule(int) - Method in class es.rediris.aarr.rules.State
Removes a rule at the given position from the rules vector
delState(int) - Method in class es.rediris.aarr.rules.Ruleset
Removes a state at the given position from the states vector
Diagnostic - Class in es.rediris.aarr
This class is used for logging purposes.
Diagnostic() - Constructor for class es.rediris.aarr.Diagnostic
The unique constructor is used to call the initLog4Java() method
discard() - Method in interface es.rediris.aarr.protocol.ProtocolAdaptor
Discards the active element and writes a diagnostic
discard() - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Discards the active element from the queue and writes a diagnostic
docXml - Variable in class es.rediris.aarr.ConfigurationProcessor
An XML document
dropQuery() - Static method in class es.rediris.aarr.rules.RuleProcessor
Removes last query from the input queue

E

endExecution() - Static method in class es.rediris.aarr.rules.RuleProcessor
Sets the end execution token to true
environment - Variable in class es.rediris.aarr.Configuration
Environment section of the configuration
environment - Variable in class es.rediris.aarr.ConfigurationProcessor
Environment section of the configuration
es.rediris.aarr - package es.rediris.aarr
 
es.rediris.aarr.data - package es.rediris.aarr.data
 
es.rediris.aarr.impl - package es.rediris.aarr.impl
 
es.rediris.aarr.protocol - package es.rediris.aarr.protocol
 
es.rediris.aarr.protocol.saml - package es.rediris.aarr.protocol.saml
 
es.rediris.aarr.rules - package es.rediris.aarr.rules
 
execute() - Method in class es.rediris.aarr.rules.Action
Executes this action and returns the result
execute() - Method in class es.rediris.aarr.rules.ActionFinish
Executes the action reporting the result to the diagnostics module.
execute() - Method in class es.rediris.aarr.rules.ActionNext
Executes the action, reporting the result to the diagnostics module.
execute() - Method in class es.rediris.aarr.rules.ActionSend
Executes the action, passing the result to the putOutput method in a RuleProcessor } .
execute() - Method in class es.rediris.aarr.rules.Rule
Checks conditions inside this rule and perform actions if the conditions are satisfied
executeCurrentState() - Method in class es.rediris.aarr.rules.Ruleset
Executes actual State, checking also if this is a final one.
executeState() - Method in class es.rediris.aarr.rules.State
Executes (ckecks) all the rules in the current State and uses the Diagnostic module to display the result of the check
exists(String) - Method in interface es.rediris.aarr.data.DataSource
Returns true if the given key exists in the datasource.
exists(String) - Method in class es.rediris.aarr.data.PlaintextDataFile
Returns true if the key exists, false otherwise
expArg(String[]) - Static method in class es.rediris.aarr.AARRMain
read arguments, else print usage.
extractFirstElement() - Method in class es.rediris.aarr.data.ObservableVector
Removes the first element within the vector
extractIssuerName(String[], String[]) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Extracts the name of the issuer from the vector of values

F

field - Variable in class es.rediris.aarr.rules.ConditionField
The name of a field
filePath - Variable in class es.rediris.aarr.data.PlaintextDataFile
 
fImmutableVersion - Static variable in class es.rediris.aarr.impl.Version
 
fVersion - Static variable in class es.rediris.aarr.impl.Version
Deprecated. getVersion() should be used instead.

G

getActions() - Method in class es.rediris.aarr.rules.Rule
Returns an java.util.Iterator Object from the vector of Actions
getActionsSize() - Method in class es.rediris.aarr.rules.Rule
Returns the number of actions stored inside the actions vector
getBase() - Method in class es.rediris.aarr.rules.ConditionField
Gets the base for this condition
getBinding() - Method in class es.rediris.aarr.Configuration
Returns a String containing the name of the binding for this configuration
getBinding() - Method in class es.rediris.aarr.ConfigurationProcessor
Returns a String containing the name of the binding for this configuration
getConditions() - Method in class es.rediris.aarr.rules.Rule
Returns an java.util.Iterator Object from the vector of conditions
getConditionsSize() - Method in class es.rediris.aarr.rules.Rule
Returns the number of conditions stored inside the conditions vector
getConfigProtocol() - Method in class es.rediris.aarr.Configuration
Returns the protocol associated with the configuration
getConfigProtocol() - Method in class es.rediris.aarr.ConfigurationProcessor
Returns the protocol associated with the configuration
getDataValue(String, String) - Method in class es.rediris.aarr.ConfigurationProcessor
Returns the workingdir stored at the environment section in a configuration
getDomainAttributeQuery(SAMLAttributeQuery) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Returns the namequalifier for a given query
getElementAt(int) - Method in class es.rediris.aarr.data.ObservableVector
Gets (returns) the element at the given position
getElementAt(int) - Method in class es.rediris.aarr.rules.State
Returns the rule at the given position of the rules vector
getEnvironment() - Method in class es.rediris.aarr.Configuration
Returns the Environment section in a configuration
getField() - Method in class es.rediris.aarr.rules.ConditionField
Gets the value for the field attribute
getHeaderResponse(int) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
This method is used to build a String with the HTTP headers for a message of the specified length
getInputQuery() - Static method in class es.rediris.aarr.rules.RuleProcessor
Returns a String with the name of the last input element (the first in the input query)
getInstance() - Method in class es.rediris.aarr.ConfigurationProcessor
Returns the instance stored at the environment section in a configuration
getIssuer() - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Returns the name of the issuer
getIterator() - Method in class es.rediris.aarr.rules.Ruleset
Returns an java.util.Iterator from the vector containing the state in the current Ruleset.
getIterator() - Method in class es.rediris.aarr.rules.State
Returns an java.util.Iterator from the vector containing the rules in the current state.
getKey() - Method in class es.rediris.aarr.rules.ConditionField
Sets a new key for the condition
getName() - Method in interface es.rediris.aarr.data.DataSource
Gets the name for the data source.
getName() - Method in class es.rediris.aarr.data.PlaintextDataFile
Gets the name of this datasource
getName() - Method in class es.rediris.aarr.rules.Action
Should return the name of the current Action
getName() - Method in class es.rediris.aarr.rules.ActionFinish
Gets the name of the actual ActionFinish
getName() - Method in class es.rediris.aarr.rules.ActionNext
Gets the name of the actual ActionNext
getName() - Method in class es.rediris.aarr.rules.ActionSend
Returns the name of this ActionSend object
getName() - Method in class es.rediris.aarr.rules.Condition
Returns the name of the current condition
getName() - Method in class es.rediris.aarr.rules.ConditionDefault
Gets the name of the actual Condition
getName() - Method in class es.rediris.aarr.rules.ConditionField
Gets the name for this condition
getName() - Method in class es.rediris.aarr.rules.ConditionReceive
Gets the name of this Condition
getName() - Method in class es.rediris.aarr.rules.Rule
Returns the name of the rule
getName() - Method in class es.rediris.aarr.rules.Ruleset
Gets the name of this Ruleset
getName() - Method in class es.rediris.aarr.rules.State
This method returns the name of the state.
getNextInput() - Method in interface es.rediris.aarr.protocol.ProtocolAdaptor
Provides the label of the first available input element, and then removes it; the element becomes the active one and overrides the previous.
getNextInput() - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Provides the label of the first available input element in the queue, and then removes it from the queue; the element becomes the active one and overrides the previous.
getNextState() - Method in class es.rediris.aarr.rules.ActionNext
Return the name for the next state
getNumStates() - Method in class es.rediris.aarr.rules.Ruleset
Returns the number of states in this Ruleset
getPacket() - Method in class es.rediris.aarr.protocol.saml.DataUnit
Returns the packet object in this DataUnit Object
getParam(String) - Static method in class es.rediris.aarr.rules.RuleProcessor
Gets the value of a param (defined by data) for the protocol adaptor in use
getPeer() - Method in class es.rediris.aarr.protocol.saml.DataUnit
Returns the peer in this DataUnit Object
getProperty(String) - Method in class es.rediris.aarr.ConfigurationProcessor
Gets a library configuration property
getProtocolAdaptor() - Method in class es.rediris.aarr.ProfileManager
Returns the ProtocolAdaptor for this profile
getProtocolAdaptor(String) - Method in class es.rediris.aarr.ProfileManager
Returns the right protocol adaptor for the given name.
getReceived() - Method in class es.rediris.aarr.rules.ConditionReceive
Returns the value of the received variable
getRuleset() - Method in class es.rediris.aarr.Configuration
Returns the Ruleset associated with this configuration
getRuleset() - Method in class es.rediris.aarr.ConfigurationProcessor
Returns the Ruleset associated with this configuration
getRulesetTimeout() - Method in class es.rediris.aarr.ConfigurationProcessor
Returns the timeout for the rule processor stored at the environment section in a configuration
getState(int) - Method in class es.rediris.aarr.rules.Ruleset
Gets the state at the given position of the states vector
getState(String) - Method in class es.rediris.aarr.rules.Ruleset
Gets the State by its name from the states vector
getValue(String) - Method in interface es.rediris.aarr.data.DataSource
Returns the value for the given key.
getValue(String) - Method in class es.rediris.aarr.data.PlaintextDataFile
Returns the value for a given key or null if it does not exist in the data source
getValue(String) - Method in interface es.rediris.aarr.protocol.ProtocolAdaptor
Gets the values for a given param of the active element
getValue(String) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Gets the values for a given param of the active element
getValue() - Method in class es.rediris.aarr.rules.ActionFinish
Gets the value of the actual ActionFinish
getValue() - Method in class es.rediris.aarr.rules.ConditionDefault
Gets the value of the actual Condition
getValue() - Method in class es.rediris.aarr.rules.ConditionField
Gets the value variable of this condition
getVersion() - Static method in class es.rediris.aarr.impl.Version
 
getWorkingDir() - Method in class es.rediris.aarr.ConfigurationProcessor
Returns the workingdir stored at the environment section in a configuration

I

ids - Variable in class es.rediris.aarr.rules.ActionSend
An array with the ids
INFO_MODE - Static variable in class es.rediris.aarr.Diagnostic
INFO log level mode
init() - Method in interface es.rediris.aarr.data.DataSource
This method is used to initiate the data source; this may consist in the load of a file, the connection to an LDAP server or an SQL database, or whatever other form of initiating a data retrieving.
init() - Method in class es.rediris.aarr.data.PlaintextDataFile
Inits the datasource; that is: load and parse the external file and store it into the internal has table
init(ProfileManager) - Method in interface es.rediris.aarr.protocol.ProtocolAdaptor
Inits the adaptor with the information provided by the ProfileManager in use
init(ProfileManager) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
This method is defined in interface ProtocolAdaptor and is used to perform the following tasks: Sets the profileManager for the SAMLPostAdaptor with the given parameter Try to: Create a new socket listening at port 80 Start a new thread Catches an IOException exception if it's not able to create the server socket or start a new thread
init(ProfileManager) - Method in class es.rediris.aarr.rules.RuleProcessor
Init the ruler processor by creating a ProfileManager, input and output queues, and starting a new Thread
init() - Method in class es.rediris.aarr.rules.Ruleset
Changes to the first State or displays an error if there are no states
initLog4Java() - Method in class es.rediris.aarr.Diagnostic
Configures the Logger
initProtocolAdaptor() - Method in class es.rediris.aarr.ProfileManager
Init a protocol adaptor and return an instance of it
initRuleProcessor() - Method in class es.rediris.aarr.ProfileManager
Init the rule processor
inputQueue - Variable in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
An ObservableVector used to store queries
instance - Variable in class es.rediris.aarr.ConfigurationProcessor
Value of the instance as specified in the configuration
InvalidSAMLRequestException - Exception in es.rediris.aarr.protocol.saml
This Exception is thrown when there's an invalid SAML request and the processor dosn't know how to do with it.
InvalidSAMLRequestException(String) - Constructor for exception es.rediris.aarr.protocol.saml.InvalidSAMLRequestException
Creates a new instance of InvalidSAMLRequestException
isEndState() - Method in class es.rediris.aarr.rules.Action
This method returns true if the action has been previously executed
isEndState() - Method in class es.rediris.aarr.rules.ActionFinish
Always return true for this type of Action
isEndState() - Method in class es.rediris.aarr.rules.ActionNext
Always return false, because there are more actions
isEndState() - Method in class es.rediris.aarr.rules.ActionSend
Always return false, because there are more actions
isFinished() - Static method in class es.rediris.aarr.rules.RuleProcessor
Checks if the rule processor has finished its execution.
issuerName - Variable in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
The issuer's name

K

key - Variable in class es.rediris.aarr.rules.ConditionField
The key of this ConditionField
keys - Variable in class es.rediris.aarr.rules.ActionSend
The keys (strings)
keyValues - Variable in class es.rediris.aarr.data.PlaintextDataFile
 

L

lastInput - Static variable in class es.rediris.aarr.rules.RuleProcessor
The last received request
logger - Static variable in class es.rediris.aarr.Diagnostic
A Log4Java logger ( more info at: http://logging.apache.org/log4j/docs/ )

M

main(String[]) - Static method in class es.rediris.aarr.AARRMain
AARR main method
main(String[]) - Static method in class es.rediris.aarr.impl.Version
 

N

name - Variable in class es.rediris.aarr.data.PlaintextDataFile
 
name - Variable in class es.rediris.aarr.rules.ActionFinish
Stores the name for this ActionFinish object
name - Variable in class es.rediris.aarr.rules.ActionNext
Stores the name for this ActionNext object
name - Variable in class es.rediris.aarr.rules.ActionSend
The name of this ActionSend object
name - Variable in class es.rediris.aarr.rules.ConditionDefault
Stores the name for this ConditionDefault object
name - Variable in class es.rediris.aarr.rules.ConditionField
The name for dis condition
name - Variable in class es.rediris.aarr.rules.ConditionReceive
The name of this condition
name - Variable in class es.rediris.aarr.rules.Rule
the name of the rule
name - Variable in class es.rediris.aarr.rules.Ruleset
The name of the ruleset
name - Variable in class es.rediris.aarr.rules.State
The name of the State
nameElementXML - Static variable in class es.rediris.aarr.rules.Action
name of an XML element named 'action'
nameElementXML - Static variable in class es.rediris.aarr.rules.Condition
name of an XML element named 'condition'
needsAQuery() - Method in class es.rediris.aarr.rules.Condition
Returns true if this Condition needs a query
needsAQuery() - Method in class es.rediris.aarr.rules.ConditionDefault
Always return false since this condition doesn't need a query
needsAQuery() - Method in class es.rediris.aarr.rules.ConditionField
Always true, since a "field" condition always need toi be queried
needsAQuery() - Method in class es.rediris.aarr.rules.ConditionReceive
A "receive" condition needs a query, thus this class always returns true
needsAQuery() - Method in class es.rediris.aarr.rules.Ruleset
Checks if next condition inside the actual State need a query or not.
numRules() - Method in class es.rediris.aarr.rules.State
Returns the number of rules in this state

O

ObservableVector - Class in es.rediris.aarr.data
This class extends java.util.Observable.
ObservableVector() - Constructor for class es.rediris.aarr.data.ObservableVector
Unique constructor.

P

packet - Variable in class es.rediris.aarr.protocol.saml.DataUnit
A packet Object
parseEnvironment() - Method in class es.rediris.aarr.ConfigurationProcessor
Parses the environment section of the configuration, storing keys and values
parseProtocol() - Method in class es.rediris.aarr.ConfigurationProcessor
Parses the protocol part of the configuration, creating a new configuration with the provided binding and protocol
parseRuleset() - Method in class es.rediris.aarr.ConfigurationProcessor
Parses the ruleset, loading it from a external file
parseRuleset(Element) - Method in class es.rediris.aarr.rules.RuleProcessor
Parses a document (or XML Element) that defines a rule set, loading all the states, rules, conditions and actions inside it
parseXml(File) - Method in class es.rediris.aarr.ConfigurationProcessor
Builds an XML Document from the supplied file and calls the parseProtocol(), parseEnvironment() and parseRuleset() methods for parsing the different sections of the given XML file.
peer - Variable in class es.rediris.aarr.protocol.saml.DataUnit
A peer Object
PlaintextDataFile - Class in es.rediris.aarr.data
This class defines a datasource consisting in a plain text file storing the data in the form of pairs key,value.
PlaintextDataFile(String, String) - Constructor for class es.rediris.aarr.data.PlaintextDataFile
Inits the Data source (load data from file)
plumb(ProtocolAdaptor, RuleProcessor) - Method in class es.rediris.aarr.ProfileManager
Init queues for the ProtocolAdaptor and the RuleProcessor
printUsage() - Static method in class es.rediris.aarr.AARRMain
Prints usage if called from the command line.
profileManager - Variable in class es.rediris.aarr.AARRMain
A profile manager
ProfileManager - Class in es.rediris.aarr
This class defines a profile manager.
ProfileManager(ConfigurationProcessor) - Constructor for class es.rediris.aarr.ProfileManager
Unique constructor for this class.
profileManager - Variable in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
A ProfileManager object
profileManager - Static variable in class es.rediris.aarr.rules.RuleProcessor
A ProfileManager
ProfileManagerException - Exception in es.rediris.aarr
Exceptions caught by the Profile Manager module
ProfileManagerException() - Constructor for exception es.rediris.aarr.ProfileManagerException
Exception thrown by the profile manager with a message
ProfileManagerException(String) - Constructor for exception es.rediris.aarr.ProfileManagerException
Exception thrown by the profile manager with a message
properties - Variable in class es.rediris.aarr.ConfigurationProcessor
TODO: Default properties for AARR
protAdapt - Variable in class es.rediris.aarr.ProfileManager
A ProtocolAdaptor
protocolAdaptor - Static variable in class es.rediris.aarr.AARRMain
A protocolBinding built from a ProtocolAdaptor
ProtocolAdaptor - Interface in es.rediris.aarr.protocol
This interface defines the methods that any implementing protocol adaptor must contain: setParam() to set up configuration params for this adaptor init() to init the adaptor with the profile in use setObserver() to configure out an observer (the rule processor) to whom the adaptor will notify getNextInput() for returning the request (input) that must be processed getValue() Returns an array of values for the provided param name discard() Discards the active request sendElement() for receiving the components and values that are necessary to create a response
ProtocolAdaptorConfigException - Exception in es.rediris.aarr.protocol
Exception thrown by the protocol adaptor module in use when a configuration problem takes place
ProtocolAdaptorConfigException() - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorConfigException
The protocol adaptor exception
ProtocolAdaptorConfigException(String) - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorConfigException
Protocol adaptor exception plus message
ProtocolAdaptorConfigException - Exception in es.rediris.aarr.protocol.saml
This Exception is used when a configuration for the protocol adaptor is broken.
ProtocolAdaptorConfigException(String) - Constructor for exception es.rediris.aarr.protocol.saml.ProtocolAdaptorConfigException
Creates a new instance of ProtocolAdaptorConfigException
ProtocolAdaptorException - Exception in es.rediris.aarr.protocol
Exceptions thrown by the protocol adaptor module
ProtocolAdaptorException() - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorException
The protocol adaptor exception
ProtocolAdaptorException(String) - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorException
Protocol adaptor exception plus message
ProtocolAdaptorReadException - Exception in es.rediris.aarr.protocol
Exception thrown by the protocol adaptor module while reading requests
ProtocolAdaptorReadException() - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorReadException
The protocol adaptor exception
ProtocolAdaptorReadException(String) - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorReadException
Protocol adaptor exception plus message
ProtocolAdaptorSendException - Exception in es.rediris.aarr.protocol
Exception thrown by the sendElement method in any ProtocolAdaptor implementing class when sending a response
ProtocolAdaptorSendException() - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorSendException
The protocol adaptor exception
ProtocolAdaptorSendException(String) - Constructor for exception es.rediris.aarr.protocol.ProtocolAdaptorSendException
Protocol adaptor exception plus message
putOutput(String[], String[]) - Static method in class es.rediris.aarr.rules.RuleProcessor
Send a response back to the ProtocolAdaptor

R

receive(Object) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
This method parses a SOAP message and returns a SAMLRequest object on success.
received - Variable in class es.rediris.aarr.rules.ConditionReceive
A java.lang.String with the value of attribute "received"
requestName - Static variable in class es.rediris.aarr.rules.RuleProcessor
 
requestStatus - Static variable in class es.rediris.aarr.rules.RuleProcessor
 
requestValues - Static variable in class es.rediris.aarr.rules.RuleProcessor
 
respond(Socket, SAMLResponse) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Responds through the given client socket a SOAP message containing the SAML response.
RP_ENDED - Static variable in class es.rediris.aarr.rules.RuleProcessor
 
RP_RECEIVED - Static variable in class es.rediris.aarr.rules.RuleProcessor
 
RP_STARTING - Static variable in class es.rediris.aarr.rules.RuleProcessor
Request status values
RP_WAIT_TIMEOUT - Static variable in class es.rediris.aarr.rules.RuleProcessor
 
RP_WAITING - Static variable in class es.rediris.aarr.rules.RuleProcessor
 
Rule - Class in es.rediris.aarr.rules
Implements a Rule, with its conditions and actions, with all the methods needed to access both the conditions and actions
Rule() - Constructor for class es.rediris.aarr.rules.Rule
Inits the Rule object by creating two vectors for the storage of conditions and actions
Rule(String) - Constructor for class es.rediris.aarr.rules.Rule
Inits the Rule and sets a name
ruleProc - Variable in class es.rediris.aarr.ProfileManager
A RuleProcessor
ruleProcessor - Static variable in class es.rediris.aarr.AARRMain
 
RuleProcessor - Class in es.rediris.aarr.rules
This class is used for processing all rules in a ruleset, by checking that all conditions are satisfied and then, performing the actions in every rule.
RuleProcessor(Element) - Constructor for class es.rediris.aarr.rules.RuleProcessor
The main constructor receives a Ruleset object previously loaded
RuleProcessorException - Exception in es.rediris.aarr.rules
Exceptions thrown by the rule processor
RuleProcessorException() - Constructor for exception es.rediris.aarr.rules.RuleProcessorException
Exception thrown by the rule processor
RuleProcessorException(String) - Constructor for exception es.rediris.aarr.rules.RuleProcessorException
Exception thrown by the rule processor wi a messathge
ruleProcTimemout - Variable in class es.rediris.aarr.ConfigurationProcessor
Value in milliseconds for the tiemout of the rule processor
rules - Variable in class es.rediris.aarr.rules.State
A set of rules
ruleset - Variable in class es.rediris.aarr.Configuration
The associated ruleset
ruleSet - Variable in class es.rediris.aarr.ConfigurationProcessor
The ruleset associated with the configuration
ruleSet - Variable in class es.rediris.aarr.rules.RuleProcessor
An internal Ruleset object for storing rules
Ruleset - Class in es.rediris.aarr.rules
This class defines a Ruleset (ie: A set of rules) and is used to store states and execute the actions for every state depending on validity of the conditions for every Rule.
Ruleset() - Constructor for class es.rediris.aarr.rules.Ruleset
The main constructor creates a new Java.lang.Vector to store the states associated with this Ruleset
Ruleset(String) - Constructor for class es.rediris.aarr.rules.Ruleset
This other constructor gives a name to the Ruleset after creating a new Java.lang.Vector to store the states associated with this Ruleset
run() - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
This method wait for connections from a client, receives a SAML request, and creates a DataUnit with the accepted client socket and the SAML request.
run() - Method in class es.rediris.aarr.rules.RuleProcessor
Executes actual states and sends information about the current status to the diagnostics module

S

SAML_PROTOCOL - Static variable in class es.rediris.aarr.ProfileManager
The SAML protocol
SAML_PROTOCOL - Static variable in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
The SAML protocol
SAMLPostAdaptor - Class in es.rediris.aarr.protocol.saml
This class extends org.opensaml.SAMLSOAPBinding and implements interfaces ProtocolAdaptor, Runnable and Observer.
SAMLPostAdaptor() - Constructor for class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
 
searchAction(Element) - Method in class es.rediris.aarr.rules.RuleProcessor
Similar to searchCondition() but for Actions.
searchCondition(Element) - Method in class es.rediris.aarr.rules.RuleProcessor
Match the kind of condition being processed at the moment and returns a condition defined in element (org.w3c.dom.Element Object) of the document.
self - Variable in class es.rediris.aarr.rules.RuleProcessor
 
sendElement(String, String[], String[]) - Method in interface es.rediris.aarr.protocol.ProtocolAdaptor
Sends an element with the corresponding components and values
sendElement(String, String[], String[]) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Sends an element with the corresponding components and values
serverSocket - Variable in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
A server socket
setBase(String) - Method in class es.rediris.aarr.rules.ConditionField
Sets a new base for the condition
setBinding(String) - Method in class es.rediris.aarr.Configuration
Sets (changes) a (the) binding for the given configuration
setConfigProtocol(Element) - Method in class es.rediris.aarr.Configuration
Sets the protocol in the configuration to the provided one
setConfigProtocol(Element) - Method in class es.rediris.aarr.ConfigurationProcessor
Sets the protocol in the configuration to the provided one
setEnvironment(Element) - Method in class es.rediris.aarr.Configuration
Sets the value of the element containing environment variables
setField(String) - Method in class es.rediris.aarr.rules.ConditionField
Sets the value of field
setKey(String) - Method in class es.rediris.aarr.rules.ConditionField
Sets a new key for the condition
setName(String) - Method in interface es.rediris.aarr.data.DataSource
Sets a name for the data source.
setName(String) - Method in class es.rediris.aarr.data.PlaintextDataFile
Sets a name for this datasource
setName(String) - Method in class es.rediris.aarr.rules.Action
Set a new name for the current action
setName(String) - Method in class es.rediris.aarr.rules.ActionFinish
Sets the name for the actual ActionFinish
setName(String) - Method in class es.rediris.aarr.rules.ActionNext
Sets the name for the actual ActionNext
setName(String) - Method in class es.rediris.aarr.rules.ActionSend
Sets the name for the actual ActionSend
setName(String) - Method in class es.rediris.aarr.rules.Condition
Sets the name for this condition
setName(String) - Method in class es.rediris.aarr.rules.ConditionDefault
Sets the name for the actual Condition
setName(String) - Method in class es.rediris.aarr.rules.ConditionField
Sets a new name for this condition
setName(String) - Method in class es.rediris.aarr.rules.ConditionReceive
Sets a name for this condition
setName(String) - Method in class es.rediris.aarr.rules.Rule
Sets a new name for this rule
setName(String) - Method in class es.rediris.aarr.rules.Ruleset
Sets the name of this Ruleset
setName(String) - Method in class es.rediris.aarr.rules.State
Sets a new name for the state
setNextState(String) - Method in class es.rediris.aarr.rules.ActionNext
Sets the name of the next state
setObserver(Observer) - Method in interface es.rediris.aarr.protocol.ProtocolAdaptor
Sets an observer (the rule processor) for the protocol adaptor in use
setObserver(Observer) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Sets an observer (the rule processor) for the protocol adaptor in use
setPacket(Object) - Method in class es.rediris.aarr.protocol.saml.DataUnit
Sets a new (different) packet for this Object
setParam(String, String[], String[]) - Method in interface es.rediris.aarr.protocol.ProtocolAdaptor
This method is used to set attributes and their respective values for a given param name
setParam(String, String[], String[]) - Method in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
Sets the value for all params that are necessary for this specific adaptor to work.
setPeer(Object) - Method in class es.rediris.aarr.protocol.saml.DataUnit
Sets a new (different) peer for this Object (replaces the previous existing one)
setReceived(String) - Method in class es.rediris.aarr.rules.ConditionReceive
Sets the value for received
setRuleset(Element) - Method in class es.rediris.aarr.Configuration
Sets a ruleset with the rules provided.
setTimeout(long) - Method in class es.rediris.aarr.rules.RuleProcessor
Sets the timemout for the rule processor
setValue(String) - Method in class es.rediris.aarr.rules.ActionFinish
Sets the value for the actual ActionFinish
setValue(String) - Method in class es.rediris.aarr.rules.ConditionDefault
Sets the value of the actual Condition
setValue(String) - Method in class es.rediris.aarr.rules.ConditionField
Sets the value for this condition
SEVERE_MODE - Static variable in class es.rediris.aarr.Diagnostic
SEVERE log level mode
size() - Method in class es.rediris.aarr.data.ObservableVector
Returns the size of the vector (number of elements within)
state - Variable in class es.rediris.aarr.rules.ActionNext
Stores the value for this ActionNext object
State - Class in es.rediris.aarr.rules
This class is used for storing and executing states depending on a set of rules from a Ruleset.
State(String) - Constructor for class es.rediris.aarr.rules.State
The main constructor creates a new vector for storing the rules and sets the name of the state
states - Variable in class es.rediris.aarr.rules.Ruleset
A vector for storing the states of the ruleset

T

thread - Variable in class es.rediris.aarr.protocol.saml.SAMLPostAdaptor
A thread
thread - Variable in class es.rediris.aarr.rules.RuleProcessor
A thread
timeout - Variable in class es.rediris.aarr.rules.RuleProcessor
A boolean token to control if the thread is suspended while waiting for a request

U

update(Observable, Object) - Method in class es.rediris.aarr.rules.RuleProcessor
Adds a new query to the input queue

V

value - Variable in class es.rediris.aarr.rules.ActionFinish
Stores the value for this ActionFinish object
value - Variable in class es.rediris.aarr.rules.ConditionDefault
Stores the value for this ConditionDefault object
value - Variable in class es.rediris.aarr.rules.ConditionField
The value associated with this ConditionField
VALUE_ANY - Static variable in class es.rediris.aarr.rules.ConditionDefault
An String containing the value "any"
VALUE_EXCEPTION - Static variable in class es.rediris.aarr.rules.ConditionDefault
An String containing the value "exception"
VALUE_FAIL - Static variable in class es.rediris.aarr.rules.ActionFinish
An String containing the value "fail"
VALUE_INCONCLUSIVE - Static variable in class es.rediris.aarr.rules.ActionFinish
An String containing the value "inconclusive"
VALUE_PASS - Static variable in class es.rediris.aarr.rules.ActionFinish
An String containing the value "pass"
VALUE_TIMEOUT - Static variable in class es.rediris.aarr.rules.ConditionDefault
An String containing the value "timeout"
values - Variable in class es.rediris.aarr.data.PlaintextDataFile
 
values - Variable in class es.rediris.aarr.rules.ActionSend
An array containing values associated with the ids
vector - Variable in class es.rediris.aarr.data.ObservableVector
A simple java.util.Vector
Version - Class in es.rediris.aarr.impl
This class defines the AARR release
Version() - Constructor for class es.rediris.aarr.impl.Version
 

W

waitInput(long) - Method in class es.rediris.aarr.rules.RuleProcessor
Wait for a request the amount of time provided as a param
WARNING_MODE - Static variable in class es.rediris.aarr.Diagnostic
ERROR log level mode
workingDir - Variable in class es.rediris.aarr.ConfigurationProcessor
Value of the working dir as specified in the configuration
writeLog(int, String) - Static method in class es.rediris.aarr.Diagnostic
Write messages using the logger and the given mode

A B C D E F G I K L M N O P R S T U V W