How to restrict access to a deployed web application

I have a web application (ear-file) and i want to configure NetWeaver so that only certain users can use the web application.
How/where to configure the Application server to reach that goal?

Hi Ludger,
You can create J2EE Security Roles:
http://help.sap.com/saphelp_nw04/helpdata/en/c2/e13e4045796913e10000000a1550b0/frameset.htm
Regards,
Siddhesh

Similar Messages

  • How to restrict access in 2008?

    How to restrict access in 2008?
    So, I would like to do the 2 following things:
    1. Grant developers access to read all Active Form Comonents
    2. Create new Form Groups
    3. Not be able to change nS Resticted AFC
    and
    1. Grant developers rights to Create Ous
    2. Add/Rmeove Members to OUs
    3. Remove rights to add/remove to/from Site Admin OU
    Any suggestions on how to do that?
    So far I tried the out of the box Capabilities and Permissions, created custome ones, but still no luck in accomplishing all 3 items.

    Your request #1 is not possible. In paticular, you can't create new form groups and still not be able to change all form groups. Please submit an enhancement request, asking that newScale support your desired role configuration.
    Similar problem with #2.

  • How to deploy web application to Weblogic?

    Does anyone know how to deploy web application to Weblogic8.1?

    Hello,
    I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: java/lang/StringBuilder
         at servlets.ResponseServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
    Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
    Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers).

  • How to deploy web application .war file into SAP NetWeaver Engine?

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    - Hide quoted text -
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • Failed in deploying Web Application (.ear file)

    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

    Hi,
    specifying a leading slash shoul be enough to let the system know that it is an absolute path.
    Regards,
    Christian Buchegger
    Developer Relations Engineer
    BEA Support
    TJ schrieb:
    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

  • How sharepoint understand when user requests for web applications by their DNS names

    HI
    I configured Alternate access mapping in my sharepoint farm for default ,intranet zones
    and spt farm has two web front end servers and they load balancing by F5 device
    in WFE servers there are different web applications are running on different ports
    so here I want to know how load balancing works, load balancing configured in F5 device.
    when users request a webapplication from browser (ex http://cms) where this request will go
    1)when I ping cms and other web applicaations  it returns me a loadbalancer  server IP  for all web applications;
    ping cms : it returns 10.xxx.0.80 , same ip returns when I ping for other web app
    but ex CMS web application run on the 10.xxx.1.26:81 port in sharepoint server
    2) and these sharepoint web applications running on different ports in sharepoint  web servers , so here  how sharepoint understand when user requests for web applications by their DNS names
    http://cms and http://products  etc
    adil

    I'm not sure if the F5 can add a port number (I'm not an expert on load balancers).  But in general if you design the SharePoint site to run on port 81 then you need to have port 81 appended to the request or it won't work.  http://cms in your
    example would take you to http://cms:80 not http://cms:81.  But in general DNS will resolve the address back to the F5 load balancer.  The load balancer will look at the header of the HTTP request (which contains the original address you requested)
    and forward the request to the appropriate web front end IP address.  If your web front end is using one IP address for multiple sites then those sites need to be differntiated by using a custom port like 81 (which must be included in the original request)
    or because a host header was bound to the web application when it was created.  If they are running on different port numbers then the request must include the port number by the time it gets to the SharePoint server.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to avoid directory listing in java web applications.

    how to avoid directory listing in java web applications.
    That is on typing the url of the application it should not the directory listing. Welcome tag in web.xml doesnot fully solve the problem, since still the images folder etc is still accessible

    I know of two ways.
    If you're using tomcat and have access to the conf directory.
    Edit your $TOMCAT/conf/web.xml. Find your default servlet properties and change
      <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>true</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>to  <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>false</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>And restart your server. This will affect every directory on the server, and return a 405 directory browsing forbidden error.
    Another way, is to place an index.jsp inside each directory with a simple one line redirect to your applications CONTEXT_PATH.response.sendRedirect("http://yourserver/yourapp/");This will only affect specific directories which contain these index.jsp files.
    Hope this helps

  • How to upload documents to DMS from web application externally

    We have a webdynpro based J2EE application. We want to create a SAP DMS ( KPRO ) document using this web application externally.
    Any inputs on this scenario ?
    I am able to create similar using an ABAP report which reads the client file and create the DMS document using BAPI_DOCUMENT_CREATE.
    How do we achieve this using external web application ..
    Please HELP in this.
    Thanks..

    Hi Divya,
    Good day...!
    A custom UI component will berrequired to upload the data from a Flat File into CRM WEBUI.
    The View in this UI Component can have 2 fields lets say u2013  ID and File to Upload and a button 'upload'.
    When the UPLOAD button is clicked , the event u2018ONFILEUPLOADu2019 is triggered.
    A Javascript function u2018fileUpload()u2019 reads the Excel file and formats the data in the form of a long string with Line Breaks corresponding to each row in the excel file. This string is stored in a Hidden HTML form element u2018Excel_Datau2019.
    In the Event Handler for u2018ONFILEUPLOADu2019, the hidden form element u2018EXCEL_DATAu2019 is read and retrived.
      lv_file_data = request->get_form_field( name = lv_excel_data ).
      me->lv_id = request->get_form_field( name = lv_schema_id ).

  • Failed to deploy web application with same name twice

    Hello-
    On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
    When I tried to deploy it again with the same name I got this:
    Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Resolution:
    Please call Oracle support.
    Base Exception:
    java.lang.NoSuchMethodError
    null. java.lang.NoSuchMethodError
    Is there a solution for this?
    Regards

    I think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
    If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
    Myrra

  • How to enhance the context menu in Web Applications - BW 7.0

    We have to enhance the context menu of several Web Applications and,
    initially, we based our solution on the paper "How to enhance the
    context menu of Web Applications", from June, 2002, but the solution
    described on the paper refers to the BW version 3.0 and we need the
    solution for the BW version 7.0. The technical content described on the
    paper, version 3.0, is very different from the content of the version
    7.0, used by us. Is this feature available for the version 7.0?

    Hi,
    did you find a solution already?
    Thanks,
    Frank

  • How to use maven project with fusion web application

    hi i have seen the tutoriel of oracle on how to use maven 2 with jdevelopper ,
    but how to integrate it on a fusion web application ???
    Edited by: 922454 on 9 avr. 2012 04:39

    If you have not managed to help yourself out with maven for ADF here is a quick workaround you can try. Invoke ant's ojdeploy task from maven. Refer step-by-step guide here.
    http://maveninjdeveloper.blogspot.in/2012/04/handle-adf-application-maven-ant.html

  • How to import javafx into a existing web application??

    how to import javafx into a existing web application in netbeans 6.5??

    how to import javafx into a existing web application in netbeans 6.5??

  • WEB Server And Database Space requirements for deploying Web Application

       Hi,
         We are in requirement of WEB Server  And Database Space requirements for deploying  our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
    application.......
    Regards,
    Sreenivasa M S

    Hi,
    Please refer this link and check if it helps:
    http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
    Regards,
    Azam Khan

  • PLEASE HELP. How do you access properties files in WEB-INF  and classes directory

    We have a war file that needs to access properties files that are in the WEB-INF directory
    of the war file. We also need to load one of the properties files from the classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjar and a
    war and the libraries both the ejbjar (with a manifest setting the classpath ) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path "WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO properties files
    have been extracted into their appropriate places ( not even those we throw into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves

    The file doesn't have to be extracted from the war. For example, you can place
    test.properties into your app WEB-INF and write a simple JSP to see how it
    works:
    <%
    InputStream in = application.getResourceAsStream("/WEB-INF/test.properties");
    %>
    It will return you a zip inputstream if you deployed your application as a .war.
    Christian Hargraves <[email protected]> wrote:
    I try this, but I get a NullPointerException. The file never actually gets extracted
    from the war. Under tomcat and resin this works great ( that's why I am having all
    of the trouble i am having ), but there are absolutely no properties files in the
    extracted directories for WebLogic deploys. only:
    WEB-INF/some_tmp_dir/WEB-INF/lib
    and then some dynamically generated jor file with all of the classes that would normally
    go in WEB-INF/classes ( all except the properties, of course, which are no where
    to be found. ).
    There has to be some kind of setting I am missing. Please don't make me seperate
    these properties files from the war/ear and then put the path to these properties
    files in the CLASSPATH, changing one step to three steps to deploy!!
    I have found a documented bug where you can't even put the properties files in a
    jar file and that bug will never be fixed for WebLogic 6.1.
    "Dimitri I. Rakitine" <[email protected]> wrote:
    To access files in WEB-INF you can use ServletContext.getResourceXXX("/WEB-INF/filename")
    Christian Hargraves <[email protected]> wrote:
    We have a war file that needs to access properties files that are in theWEB-INF directory
    of the war file. We also need to load one of the properties files fromthe classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjarand a
    war and the libraries both the ejbjar (with a manifest setting the classpath) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path"WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO propertiesfiles
    have been extracted into their appropriate places ( not even those wethrow into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves--
    Dimitri
    Dimitri

  • How to change port for deployed web application on IAS10g(from 7778 to 80)

    I have deployed an application on IAS Application Server. The default link to my application is:
    http:/my_sever_ip_address:7778/my_app
    Can any one tell me how to change the port that my_app run on from 7778 to 80.
    So that the link to my_app will be:
    http:/my_sever_ip_address/my_app (run on default port 80)
    Very urgent!
    Thx

    You need to read the Oracle® Application Server 10g Administrator's Guide of your installation, which is also available online. In particular, for 9.0.4, you need to read the chapter Managing ports. Basically you need to change your web-cache listener port if web-cache is installed; otherwise you need to change Oracle HTTP Server Port.
    Also note tht port 80 requires extra steps since it is a restricted port.

Maybe you are looking for

  • Submitting Oracle job via OCCI using dbms_job package

    I am using 10g client to connect to a 9i Database on Redhat Linux AS 3.0. I am trying to submit a job via OCCI. I get back a jobId, but don't see the job in the user_jobs table or the result of the job being executed. I am using occi::Statement in th

  • 3.0 Works For Me!

    Just a positive post about the iPod Touch 3.0 update: everything works VERY well on my iPod Touch. Cut and Paste, Spotlight Search, landscape keyboard in Mail, etc. are operating just as advertised, and of course I love it all. All my apps are still

  • Report with custom hierarchy

    Hi experts! I have an assignment to do. My clients wants a report with a hierarchy but he wants to see "Total" on last row of a table. My hierarchy is: +Total ---Level1 ---Level2 -----Level2.1 My analysis should to see: LevelA1 (Can Drill) LevelA2 (C

  • Join Online Meeting link launches the Web App even though the Lync Client is installed.

    Hello,      I have this problem on a few computers.  When I click on the "Join online meeting" button or link (https://meet.###.com/###/1wnj6l1n) the web page launches the webapp instead of a session in the full Lync client that I have installed (v.

  • I got a iPhone 4 with orange carrier they are saying that the server is down which unlocks the phone

    I got a iPhone4 with ios6.1.2 locked to orange carrier so i live in India I need to unlock the phone to use it here so I jus found after one month of research n diff kinda of trials tht the orange server is down is that true?? N is there any official