Statefullness Stateless Stateful: Object pools and/or lots of new objects Configuration More flexible and secure configuration is needed for My vision for this is to do something like this. Pardon me for using crypto as better operational support at the enterprise level and to the example. provide developers more flexibility in using ESAPI without having to tweak ESAPI.properties for minor changes. dfltEncryptor = ESAPI.encryptor(); (Mike: A thousand pardons for inserting this here, but I Properties tDesProps = new Properties(); didn't know where else to place this. Also, apologies props.setProperty("Encryptor.CipherTransformation", for messing up the formatting of the previous row. "DESede/CBC/PKCS5Padding"); props.setProperty("Encryptor.EncryptionKeyLength", "128"); tdesEncryptor = ESAPI.encryptor(tDesProps); If for each "component" in class, we have two interfaces, e.g., encoder() and encoder(Properties) authenticator() and authenticator(Properties) etc.
Statefullness Stateless Stateful: Object pools and/or lots of new objects Configuration More flexible and secure configuration is needed for better operational support at the enterprise level and to provide developers more flexibility in using ESAPI without having to tweak ESAPI.properties for minor changes. (Mike: A thousand pardons for inserting this here, but I didn't know where else to place this. Also, apologies for messing up the formatting of the previous row. My vision for this is to do something like this. Pardon me for using crypto as the example. dfltEncryptor = ESAPI.encryptor(); Properties tDesProps = new Properties(); props.setProperty("Encryptor.CipherTransformation", "DESede/CBC/PKCS5Padding"); props.setProperty("Encryptor.EncryptionKeyLength", "128"); tdesEncryptor = ESAPI.encryptor(tDesProps); If for each "component" in class, we have two interfaces, e.g., encoder() and encoder(Properties) authenticator() and authenticator(Properties) etc.
API_Design.docx