Dear All,
I'm trying to introduce a basic authentication for Pentao BI portal, where after the basic authentication, it should bring me to the standard PUCLogin page.
I've added the following lines in 'tomcat-users.xml' :
<role rolename="Admin"/>
<user username="suresh" password="suresh" roles="Admin"/>
And add following lines in 'web.xml'
<security-constraint>
<web-resource-collection>
<web-resource-name>Wildcard means whole app requires authentication</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>Admin</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Admin</realm-name>
</login-config>
With the changes for enabling basic authentication, it's asking site access authentication for 'Admin':
Screenshot from 2013-07-02 09:25:07.jpg
But after the basic authentication, its again asking for 'Pentaho Realm', which is for application login :
Screenshot from 2013-07-02 09:25:45.jpg
Once I put 'Joe' and 'password' in the dialog box, then it will redirect me to the Home page.
What I really want is, after the basic authentication, the landing page should be the Pentaho's Login page.
Please advise me how the 'Pentaho Realm' is coming in? What are the additional changes I need to do with Pentaho/Tomcat configurations?
Many Thanks,
Suresh.
I'm trying to introduce a basic authentication for Pentao BI portal, where after the basic authentication, it should bring me to the standard PUCLogin page.
I've added the following lines in 'tomcat-users.xml' :
<role rolename="Admin"/>
<user username="suresh" password="suresh" roles="Admin"/>
And add following lines in 'web.xml'
<security-constraint>
<web-resource-collection>
<web-resource-name>Wildcard means whole app requires authentication</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>Admin</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Admin</realm-name>
</login-config>
With the changes for enabling basic authentication, it's asking site access authentication for 'Admin':
Screenshot from 2013-07-02 09:25:07.jpg
But after the basic authentication, its again asking for 'Pentaho Realm', which is for application login :
Screenshot from 2013-07-02 09:25:45.jpg
Once I put 'Joe' and 'password' in the dialog box, then it will redirect me to the Home page.
What I really want is, after the basic authentication, the landing page should be the Pentaho's Login page.
Please advise me how the 'Pentaho Realm' is coming in? What are the additional changes I need to do with Pentaho/Tomcat configurations?
Many Thanks,
Suresh.