Question: create a file named jfm 3 3 5 . properties with a single line: validateuserstrategy.property = where is the fully qualified implementation class ( i
create a file named jfmproperties with a single line:
validateuserstrategy.property
where is the fully qualified implementation class ie edu.jfmStrictValidateUserStrategy ModerateValidateUserStrategy NullValidateUserStrategy
The Factory call it ValidateUserFactory should read in this property file, create an instance of an object of the classname type it reads in and will return that to the caller the main body of JFM
If the Factory fails to create a strategy object from the properties file due to an error eg cannot find the property file or any other reason, have it choose the most appropriate implementation class from # above to use as a default which one is based on one of your security architecture principles, review!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
