* http session
*/
protected void initStrategies(ApplicationContext context, HttpSession httpSession) {
if (this.config.getStrategy().equals(Strategy.CIPHER)) {
IKeyFactory keyFactory = context.getBean(IKeyFactory.class);
// creating encryption key
Key key = keyFactory.generateKey();
httpSession.setAttribute(Constants.KEY_NAME, key);
}
}