Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: How to get PUC Login Page after Tomcat's Basic Authentication..!!

  1. #1

    Default How to get PUC Login Page after Tomcat's Basic Authentication..!!

    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':
    Name:  Screenshot from 2013-07-02 09:25:07.jpg
Views: 57
Size:  13.4 KB


    But after the basic authentication, its again asking for 'Pentaho Realm', which is for application login :
    Name:  Screenshot from 2013-07-02 09:25:45.jpg
Views: 51
Size:  13.8 KB


    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.
    Last edited by sureshkumar; 07-02-2013 at 12:30 AM.

  2. #2
    Join Date
    Feb 2015
    Posts
    1

    Default

    Hi, I need the same help here in Pentaho 5.3.

    Anyone knows what I can do?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.