ratclma Absent Member.
Absent Member.
665 views

Multiple themes in SSPR based on user attribute


Hi,
We have a requirement to display different theme views for SSPR based on
an attribute of the user which defines which of our 3 brands he is part
of. All other settings in SSPR would be the same.
e.g. if brand=xxx then display xxx brand theme, if brand =yyy then
display yyy theme etc. If we create 3 themes under
/public/resources/themes.. is it relatively simple to configure SSPR to
display the appropriate branded theme?
I see in section 3.4 it references the ability to use multiple themes
but there doesn't seem to be a way to create multiple profiles which
could use the multiple themes.
Hoping there's a realtively straightforward solution or is this beyond
the scope of the app and requires custom html or java development by
suitably qualified developer?
Thanks
Mark


--
ratclma
------------------------------------------------------------------------
ratclma's Profile: https://forums.netiq.com/member.php?userid=7886
View this thread: https://forums.netiq.com/showthread.php?t=55692

0 Likes
4 Replies
Knowledge Partner
Knowledge Partner

Re: Multiple themes in SSPR based on user attribute

ratclma wrote:

> I see in section 3.4 it references the ability to use multiple themes
> but there doesn't seem to be a way to create multiple profiles which
> could use the multiple themes.
> Hoping there's a realtively straightforward solution or is this beyond
> the scope of the app and requires custom html or java development by
> suitably qualified developer?


I do not think dynamic theming as you describe it is currently possible with
the stock SSPR. Easiest may be to set up three SSPR instances with different
branding and redirect users to the appropriate instance somehow.

Another option is to customize the code to your needs, but you would most
likely loose support over it. SSPR (as it's earlier versions called PWM) is
still open source and all JARs contain the .java files as well, so this should
be quite straight forward for any experienced web developer. I've customized
PWM myself some ears ago and I know some more current instances with additional
custom features that you won't recognize as SSPR/PWM at all anymore.

Adding an enhancement request seems like a good idea whatever route you go:
https://www.novell.com/rms

--
http://www.is4it.de/en/solution/identity-access-management/
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
ratclma Absent Member.
Absent Member.

Re: Multiple themes in SSPR based on user attribute


lhaeger;266786 Wrote:
> ratclma wrote:
>
> > I see in section 3.4 it references the ability to use multiple themes
> > but there doesn't seem to be a way to create multiple profiles which
> > could use the multiple themes.
> > Hoping there's a realtively straightforward solution or is this

> beyond
> > the scope of the app and requires custom html or java development by
> > suitably qualified developer?

>
> I do not think dynamic theming as you describe it is currently possible
> with
> the stock SSPR. Easiest may be to set up three SSPR instances with
> different
> branding and redirect users to the appropriate instance somehow.
>
> Another option is to customize the code to your needs, but you would
> most
> likely loose support over it. SSPR (as it's earlier versions called PWM)
> is
> still open source and all JARs contain the .java files as well, so this
> should
> be quite straight forward for any experienced web developer. I've
> customized
> PWM myself some ears ago and I know some more current instances with
> additional
> custom features that you won't recognize as SSPR/PWM at all anymore.
>
> Adding an enhancement request seems like a good idea whatever route you
> go:
> https://www.novell.com/rms
>
> --
> http://www.is4it.de/en/solution/identity-access-management/


Thanks again. I think we'll raise an enhancement request and tell the
business its a feature which is not currently available. We have
approximately 50K users who will be using SSPR so don't want a solution
which is not supported because of customisation.
Mark


--
ratclma
------------------------------------------------------------------------
ratclma's Profile: https://forums.netiq.com/member.php?userid=7886
View this thread: https://forums.netiq.com/showthread.php?t=55692

0 Likes
Micro Focus Contributor
Micro Focus Contributor

Re: Multiple themes in SSPR based on user attribute


ratclma;266779 Wrote:
> Hi,
> We have a requirement to display different theme views for SSPR based on
> an attribute of the user which defines which of our 3 brands he is part
> of. All other settings in SSPR would be the same.
> e.g. if brand=xxx then display xxx brand theme, if brand =yyy then
> display yyy theme etc. If we create 3 themes under
> /public/resources/themes.. is it relatively simple to configure SSPR to
> display the appropriate branded theme?
> I see in section 3.4 it references the ability to use multiple themes
> but there doesn't seem to be a way to create multiple profiles which
> could use the multiple themes.
> Hoping there's a realtively straightforward solution or is this beyond
> the scope of the app and requires custom html or java development by
> suitably qualified developer?
> Thanks
> Mark


You can set a theme for a user by include 'theme=xxx' on the link to
SSPR. It's not possible to set themes per user population, and I'm not
sure how well that would work either since many SSPR screens are
unauthenticated and we do not yet know who the user is...


--
jrivard
------------------------------------------------------------------------
jrivard's Profile: https://forums.netiq.com/member.php?userid=541
View this thread: https://forums.netiq.com/showthread.php?t=55692

0 Likes
Knowledge Partner
Knowledge Partner

Re: Multiple themes in SSPR based on user attribute

jrivard wrote:

> You can set a theme for a user by include 'theme=xxx' on the link to
> SSPR.


Cool, didn't know that. So he could set up different URLs for each company
(sspr.company1.com, sspr.company2.com,...) which all have simple redirects to a
single SSPR instance, but with different theme parameters:

sspr.company1.com --> sspr.mothership.com/sspr?theme=company1
sspr.company2.com --> sspr.mothership.com/sspr?theme=company2

Apache could actually do that as well with mod_rewrite, I think.

--
http://www.is4it.de/en/solution/identity-access-management/
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.