Package pygar.demo0P
Class ProfileDemo0
java.lang.Object
pygar.configuration.Profile
pygar.demo0P.ProfileDemo0
public class ProfileDemo0 extends Profile
This class is used to initialize a configuration for Demo0.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringsessionIDdemo0 is limited to one session at a time.Fields inherited from class pygar.configuration.Profile
charSetName, commonDirPath, configurationDirPath, connectionFactoryName, cryptoEngine, dataDirPath, entityAlias, entityTitle, fieldTable, keystoreObject, keystorePasswordToken, messageSystem, profile, queueNameTable, sessionKeyStore, vaultPassword -
Constructor Summary
Constructors Constructor Description ProfileDemo0(java.lang.String entityName, java.lang.String dirPath) -
Method Summary
Modifier and Type Method Description java.lang.StringgetCharsetName()Retrieve the name of the character set used in the documents.CryptoEnginegetCrypto()Cryptographic operations are performed by methods in an object of type CryptoEngine - an exemplar of which is returned by this function.EncryptedFieldTablegetEncryptedFieldTable()KeyStoreAccessgetKeyStoreAccess()Return an object that has a method to obtain a Java KeyStore.voidinitEE()Complete the construction of the object for the Java EE version of Demo0G.
-
Field Details
-
sessionID
public static java.lang.String sessionIDdemo0 is limited to one session at a time. the fixed string "defaultsession" identifies this singular session.
-
-
Constructor Details
-
ProfileDemo0
public ProfileDemo0(java.lang.String entityName, java.lang.String dirPath) throws ConfigurationError- Throws:
ConfigurationError
-
-
Method Details
-
getCrypto
Description copied from class:ProfileCryptographic operations are performed by methods in an object of type CryptoEngine - an exemplar of which is returned by this function. -
getCharsetName
public java.lang.String getCharsetName()Description copied from class:ProfileRetrieve the name of the character set used in the documents. N.B. we assume this character set when we convert from text to the byte arrays that are supplied for encryption and decryption.- Overrides:
getCharsetNamein classProfile- Returns:
- character_set_name
-
getEncryptedFieldTable
- Overrides:
getEncryptedFieldTablein classProfile
-
getKeyStoreAccess
Description copied from class:ProfileReturn an object that has a method to obtain a Java KeyStore.- Overrides:
getKeyStoreAccessin classProfile- Returns:
- object
-
initEE
Description copied from class:ProfileComplete the construction of the object for the Java EE version of Demo0G.- Specified by:
initEEin classProfile- Throws:
ConfigurationError
-