Wednesday Mar 18, 2009

Authentication UI Customization based on directory locations :

Location for Customized Auth UI JSP pages and Auth Module Properties (xml) files:

The Customized Web UI JSP templates and Authentication Module Properties XML File are located by the Authentication Service based on a certain hierarchy.

The first match of the File is returned to the user. The following parameters are considered for location a file:
  • Organization/SubOrganization - this is the organization/sub-organization of the request.
  • Locale - Locale of the request
  • Client Path - Client Type information of the request
  • Service Name (serviceName) - Service name for service based authentication

Note: the Locale ,Client Path ,Service Name are optional

The file search path is as follows (under deployed opensso web app i.e. ....opensso/config/auth/) :
default_locale/orgPath/filePath/fileName
default/orgPath/filePath/fileName
(where "default" is default / root realm)         

where
orgPath = services/subOrg/sub-subOrg
filePath = clientPath + serviceName
clientPath = clientType/sub-clientType
fileName = module xml file / auth UI JSP file

Example :
locale = en
subOrg = solaris
clientPath = html/nokia/
serviceName = paycheck
fileName = Login.jsp

                FileLookup for the above would be (in the order below):

                default_en/services/solaris/html/nokia/paycheck/Login.jsp
                default_en/services/solaris/html/nokia/paycheck/Login.jsp
                default_en/services/solaris/html/Login.jsp
                default_en/services/solaris/Login.jsp
                default_en/html/nokia/paycheck/Login.jsp
                default_en/html/nokia/Login.jsp
                default_en/html/Login.jsp
                default_en/Login.jsp

                default/services/solaris/html/nokia/paycheck/Login.jsp
                default/services/solaris/html/nokia/paycheck/Login.jsp
                default/services/solaris/html/Login.jsp
                default/services/solaris/Login.jsp
                default/html/nokia/paycheck/Login.jsp
                default/html/nokia/Login.jsp
                default/html/Login.jsp
                default/Login.jsp

Comments:

Hi Mrudul,
I have a question about customising the login page.

You previously mentioned
clientPath = html/nokia/

What does clientPath mean exactly ?
What URL do you need to use so that the clientPath resolves to html/nokia/

Kind Regards
Arthur

Posted by Arthur Silva on June 04, 2009 at 09:55 PM PDT #

how is what you mentioned in this blog post any different than this http://docs.sun.com/app/docs/doc/819-4675/adufh?l=Ja&a=view

Posted by Hady on September 22, 2009 at 08:32 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed