Splash › Forums › PrettyFaces Users › JSF + Prettyfaces, Force login page to redirect to https › Re: JSF + Prettyfaces, Force login page to redirect to https
I don’t like the first shorthand option because it doesn’t allow to distinguish between permanent and temporary redirects any more.
The second option looks nicer. But I’m not sure if the captureIn() is a bit “too much”. What about if the “URL building” is done by a separate class. Something like this:
or with the capturing:
If you find our tools useful, please consider making a donation to help us stay online and building software!