EJB design: How to access weblogic console from jsp
I have a jsp, which has to be accessed by only Weblogic admin. If some one try to access this jsp by Url (Ex: http://localhost:7001/index.jsp) it should pop up weblogic username/password window
- Posted by: sudhindra hebbar
- Posted on: June 04 2005 04:42 EDT
If user enters valid Admin username/password then only he should able to see that jsp .
Is this possible ???????? please help
Thanks and regards
- How to access weblogic console from jsp by Deepak Dixit on June 06 2005 16:55 EDT
- use web.xml role/authentication by Biswa Das on June 07 2005 19:38 EDT
- use web.xml role/authentication by sudhindra hebbar on June 09 2005 07:31 EDT
Try implementing the Security in your web application. Use WebLogic Admin Rights User to login to the application.
Hope this helps.
Try implementing the Security in your web application. Use WebLogic Admin Rights User to login to the application.Hope this helps.
i tried this u mean use console set security but its not working
thanks for help
in your web.xml set the authentication role to weblogic admin. which you can add in localhost:7001/console under the users section.
Hope this will help
i tried all posible attribut in web.xml still this dam thing opens without any username pop up window but its not working
thanks for help
<web-resource-name>Defult Web Context</web-resource-name>
its worked actually thing is admin password i gave to login weblogic console not working hear anyway i created new user and added Thanks
weblogic console uses form based authntication not BASIC am not sure how u are planning to tackle that scnario.
Why don't you install the jsp u have developed as a console extension. When u do that it becomes a new tab on the left hand side of the console. That way you dont have to worry about all these things. You can see dev2dev for a simple console extension example.