on 2020 Apr 30 3:37 PM
hi Experts,
I have developed a development component of type Web Module, as shown below.
The DC name is quot, this webmodule DC has corresponding Deployable Enterprise Applicatin DC i.e. EAR DC named quotear.
Now when i try to access the URL of this application i.e. http://hostname:portnumber/com.*****.quot/index.html , the browser opens the index page and able to access the application with out authentication.
We wanted authentication of users, i.e. on accessing above URL, it should navigate the user to sap logon page .
So i modified the web.xml as shown below where <auth-method>BASIC</auth-method> was specified.
after deploying this change to the server and on accessing the above URL, the server is not navigating to sap logon page , instead it is opening the application index.html and giving direct access to the application.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" version="2.5">
<display-name>****~quot~com.***</display-name>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
Request clarification before answering.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.