Package | Description |
---|---|
org.safs.auth | |
org.safs.autoit | |
org.safs.persist | |
org.safs.persist.test | |
org.safs.rest.service |
Modifier and Type | Class and Description |
---|---|
class |
AuthorizationServer
This class encapsulates the information about the authorization server, where client/application/consumer
can get the 'authorization code', 'access token', 'refresh token' etc.
|
class |
Content
This class contains the information of OAUTH2:
Content.clientID and Content.clientSecret are used to make request to the authorization server.Content.accessToken , Content.accessTokenType , Content.accessTokenSecret and Content.refreshToken
are returned as response from the authorization server. |
class |
OAuth2 |
class |
SimpleAuth |
Modifier and Type | Class and Description |
---|---|
protected static class |
AutoItRs.Control
The AUTOIT Control object, the implementation of
AutoItRs.Recognizable |
protected static class |
AutoItRs.DefaultRecognizable
This class provides default implementation of interface
AutoItRs.Recognizable .As the field of name starting with Constants.AutoItConstants.PREFIX_PROPERTY_FOR_RS
will be used for generating recognition string, please avoid adding new fields of
name starting with Constants.AutoItConstants.PREFIX_PROPERTY_FOR_RS to this class
when refactoring this class. |
protected static class |
AutoItRs.DefaultRecognizableAutoIt
This class provides default implementation of interface
AutoItRs.Recognizable for AUTOIT engine. |
protected static class |
AutoItRs.Window
The AUTOIT Window object, the implementation of
AutoItRs.Recognizable |
Modifier and Type | Class and Description |
---|---|
class |
PersistableDefault |
Modifier and Type | Field and Description |
---|---|
protected Persistable |
PersistorToXMLFile.UnpickleHandler.freshFood |
protected Persistable |
PersistableDefault.parent |
Modifier and Type | Method and Description |
---|---|
protected Persistable |
PersistorToXMLFile.doUnpickle() |
protected Persistable |
PersistorToJSONFile.doUnpickle() |
protected Persistable |
PersistorToFile.doUnpickle() |
Persistable |
PersistorToXMLFile.UnpickleHandler.getFreshFood() |
Persistable |
PersistableDefault.getParent() |
Persistable |
Persistable.getParent() |
Persistable |
PersistorToFile.unpickle(java.util.Map<java.lang.String,java.util.List<java.lang.String>> ignoredFields) |
Persistable |
Persistor.unpickle(java.util.Map<java.lang.String,java.util.List<java.lang.String>> ignoredFields)
Convert the contents stored in a persistence substance into a Persistable object.
|
Persistable |
AbstractRuntimeDataPersistor.unpickle(java.util.Map<java.lang.String,java.util.List<java.lang.String>> ignoredFields)
Provided default implementation, simply throw out a SAFSException.
|
static Persistable |
PersistorToJSONFile.unpickleParse(org.json.JSONObject body)
Try to convert JSON File to a
Persistable object.In JSON file, the special JSON key Constants.JSONConstants.PROPERTY_CLASSNAME holds the name of the class which the
JSONObject represents; the other keys are the name of the fields of that class. |
Modifier and Type | Method and Description |
---|---|
protected void |
VerifierToFile.afterCheck(Persistable persistable,
boolean... conditions)
Make the final check.
|
void |
VerifierToXMLFile.beforeCheck(Persistable persistable,
boolean... conditions) |
void |
VerifierToPropertiesFile.beforeCheck(Persistable persistable,
boolean... conditions) |
void |
VerifierToJSONFile.beforeCheck(Persistable persistable,
boolean... conditions) |
protected void |
VerifierToFile.beforeCheck(Persistable persistable,
boolean... conditions)
Get some variables prepared for verification.
Parse the optional parameters It is expected that subclass should override this method to provide values to VerifierToFile.expectedContents and VerifierToFile.actualContents , such as: |
protected void |
VerifierToFile.check(Persistable persistable,
boolean... conditions) |
void |
PersistorToVariable.persist(Persistable persistable) |
void |
PersistorToFile.persist(Persistable persistable) |
void |
Persistor.persist(Persistable persistable)
Persist a Persistable object.
|
void |
AbstractRuntimeDataPersistor.persist(Persistable persistable) |
void |
PersistableDefault.setParent(Persistable parent) |
void |
Persistable.setParent(Persistable parent)
|
protected void |
AbstractRuntimeDataVerifier.validate(Persistable persistable)
Check if this Persistable object is valid (not null, not disabled etc.).
|
protected void |
AbstractRuntimeDataPersistor.validate(Persistable persistable)
Check if this Persistable object is valid (not null, not disabled etc.).
|
void |
VerifierToFile.verify(Persistable persistable,
boolean... conditions) |
void |
Verifier.verify(Persistable persistable,
boolean... conditions)
Verify a Persistable object against the contents stored in a persistence substance.
|
void |
AbstractRuntimeDataVerifier.verify(Persistable persistable,
boolean... conditions) |
void |
PersistorToPropertiesFile.write(Persistable persistable) |
protected void |
PersistorToHierarchialFile.write(Persistable persistable)
Write the Persistable object to a persistence of hierarchical structure, such as JSON, XML file.
This is a template method, it is calling the method below: PersistorToHierarchialFile.containerBegin(String)
PersistorToHierarchialFile.childBegin(String, String)
PersistorToHierarchialFile.childEnd(boolean)
PersistorToHierarchialFile.containerEnd(String)
|
protected abstract void |
PersistorToFile.write(Persistable persistable)
Write the Persistable object into a persistent material.
PersistorToFile.writeHeader(Persistable) is called beforePersistorToFile.writeTailer(Persistable) is called after |
protected void |
PersistorToJSONFile.writeHeader(Persistable persistable) |
protected void |
PersistorToFile.writeHeader(Persistable persistable)
This is called before
PersistorToFile.write(Persistable) . |
protected void |
PersistorToJSONFile.writeTailer(Persistable persistable) |
protected void |
PersistorToFile.writeTailer(Persistable persistable)
This is called after
PersistorToFile.write(Persistable) . |
Modifier and Type | Class and Description |
---|---|
static class |
PersistTest.MyPersistable |
Modifier and Type | Class and Description |
---|---|
class |
Request |
class |
Response |
Copyright © SAS Institute. All Rights Reserved.