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.String
sessionID
demo0 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.String
getCharsetName()
Retrieve the name of the character set used in the documents.CryptoEngine
getCrypto()
Cryptographic operations are performed by methods in an object of type CryptoEngine - an exemplar of which is returned by this function.EncryptedFieldTable
getEncryptedFieldTable()
KeyStoreAccess
getKeyStoreAccess()
Return an object that has a method to obtain a Java KeyStore.void
initEE()
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:Profile
Cryptographic 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:Profile
Retrieve 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:
getCharsetName
in classProfile
- Returns:
- character_set_name
-
getEncryptedFieldTable
- Overrides:
getEncryptedFieldTable
in classProfile
-
getKeyStoreAccess
Description copied from class:Profile
Return an object that has a method to obtain a Java KeyStore.- Overrides:
getKeyStoreAccess
in classProfile
- Returns:
- object
-
initEE
Description copied from class:Profile
Complete the construction of the object for the Java EE version of Demo0G.- Specified by:
initEE
in classProfile
- Throws:
ConfigurationError
-