class variable in mfa script?
cantor.2 at osu.edu
Mon Jun 1 23:04:22 UTC 2020
> If I have a bean that's used in an idp login it can have class variables
> that are common to all instances. Is there such a utility for MFA
> scripts? Can they have shared, persistent variables?
The classes for scripted functions and conditions are ours. I mean, you could inherit from it and add your own members I guess, but it's probably much easier to just define singleton beansin a map and inject those as p:customObject-ref.
Singleton beans in Spring are, more or less, global variables in the whole system.
More information about the users