Default auth method for web app

Hi,
I have a web app that in web.xml it defines the security-constraint and roles in auth-constraint, but it doesn't have login-config. In this case, what's the auth method? How can the user do authentication? My app is actually a web service, how the client pass the user/password? Thanks

Hi
If you haven't figure out yet, you should look at Web Service Security: [WSIT Tutorial|http://java.sun.com/webservices/reference/tutorials/wsit/doc/WSITTutorial.pdf] . If you work with NetBeans and glassfish, it is very easy to set up user and authentificate with web services.

Similar Messages

  • Custom module templates for Web Apps

    Just wanting to see if there's anyone out there who knows if the custom module templates from the September release are available for Web Apps?  I can't seem to get them to work.
    When placing {module_webapps,8168,a template=”/custom/wap-contract.tpl”} I get a "No Items Found" response. I would appreciate help as this would be very useful in building Web Apps and I can't find documentation on it
    Thanks

    They do work with Web Apps, I've been able to use it successfully. Here is the only documentation I can find on it so far:
    http://helpx.adobe.com/business-catalyst/partner/using-custom-templates-modules.html
    Curious though, when  you get "No items found" that means there are no web app items to show. So we don't really know if your custom template worked or not. If you can get some items to show up and they use the default layout, then we know something is wrong.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • JavaHelp for web app?

    Hello,
    I'm trying to include JavaHelp for our web application.
    Has anyone used this tool or any other tool with javascript for displaying help for web apps?
    I tried to follow the browser demo that is in applet and comes with javahelp zip. It worked fine for me, but when tried to follow the same setting for the web application, I am getting this error.
    java.lang.NoClassDefFoundError: Could not initialize class com.inmedius.mentor.support.amecr.JavaHelpApplet
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I know it cannot find the class, but I'm not sure how to configure it.
    I have the following call to applet:
    <Applet WIDTH = 26 HEIGHT = 26  codebase="http://tetra:80/AMECR" code = "com.inmedius.mentor.support.amecr.JavaHelpApplet.class" archive="AMECR.war">
         <PARAM NAME = HELPSETURL VALUE ="AMECR/GAPIHelp.hs">
         <PARAM NAME = HELPSETNAME VALUE ="GAPIHelp">
    </Applet>Also, since applet approach is not that much favored, do you know if any other way to include this tool within web applications or any other tool that would do the same thing?
    Any input is greatly appreciated.
    Thanks,

    Yes, as long as you conform to what the HelpSet specifies you can use Servlets / JSPs.

  • Change the Default Page Size for WebI Rich Client 4.0

    Hi:
    I am trying to change the default paper size for Webi Rich Client 4.0. 
    In 3.x you made the changes to the defaultconfig.xml located in the path C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\classes\AppletConfig.
    In 4.0 I canu2019t seem to locate the file, can you advise if the file is the same name and where the file located.
    Thanks
    Brad

    Hi,
    Please check out the User Guide - see section Web Intelligence Cascading Style Sheets (CSS)
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_ia_en.pdf
    Regards
    H

  • Business scenario where change pointers method for cross apps is used

    can any one explain the business scenario where change pointers method for cross apps is used.even explain whether it is used in an implementation project or a support project

    There are hell number of business scenarios examples provided by SAP itself kindly check the link below..
    you will be able to choose one from many available from different application areas..
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/22/c5a8f2a9840d48a24491c20086e0f9/frameset.htm
    enjoy SAP.
    Pankaj Singh

  • Problems with "save for web" app low quality messed up images

    Please help I have never had a problem with the "save for web" application before (over three years) I am currently running A.I. cs3 on windows vista. in the past whenever I save anything this way the images were always clean. as of yesterday everything I try to save through the save for web app the images are very low quality all the vector has jagged edges, it is very low rez looking and the file sizes are very small, half the size they normaly would be. What did I do to change the settings or better yet how can I get it back to the way it was.

    Thank you for your help I moved the folder but it still did not fix this problem. it is also not just the jpg option under the save for web app but all the setting ie. gif, png, ect. ect. Also the the files sizes are much less, example I exported a design as a jpg with the quality setting about 6 the file size was 374kb when I exported the same design through the save for web app the file size was only 45 kb on the quilty setting of 100. further more in the preview screen of "save for web" the original images as well as the optimized both look messed up. The "save for web" app has always worked for me in the past never a problem and I use this app alot so it is very important.

  • Different auth methods for Clientless & AnyConnect?

    The goal: To allow Clientless(portal) connections with only username/password authentication (LDAP in this case) while requiring two-factor (LDAP & Certificate) authentication for AnyConnect connections.
    The config: Since the auth methods are configured within connection profiles/tunnel groups, I am using two different profiles, one requiring only LDAP auth for use with clientless and one requiring both LDAP and client certificate authentication for AnyConnect. I have not enabled the option to allow users to choose their connection profile.
    The only way I have been able to get the AnyConnect client to use anything other than the "DefaultWEBVPNGroup" profile was to use a URL mapping for the AnyConnect tunnel group, a custom AnyConnect client profile (to specify the custom URL), and a DAP policy to deny AnyConnect connections on the "DefaultWEBVPNGroup" tunnel group.
    Resulting behavior: Web portal requires only username and password. Stand-alone AnyConnect connections require username/password & client certificate.
    The problem: Weblaunch (launching AnyConnect from the portal) installs the client, but throws an error and disconnects (see attached). Subsequent stand-alone AnyConnect connection attempts work fine.
    I assume this issue is related to the different tunnel groups using different authentication methods. If I disable the DAP policy, weblaunch works without erros, but it connects without requiring two-factor authentication.
    Does anyone know if what I am trying to do is possible and/or supported? I am open to alternative suggestions as well.
    Thanks,
    Aaron

    Sounds like you are 95% of the way there. You can definitely get this to work. Based on your description of the problem when trying to web launch AnyConnect, it sounds like you are not matching the correct tunnel group. As you stated, when using more specific connection profiles, you need to give users a means to identify which TG they want to connect to. This is typically achieved via a drop down selection box, group URL, or certificate attribute map. In your case, it sounds like you are using group URLs. With this approach, you will have two more specific URLs for your users to access. For web launch and standalone AnyConnect clients, they may access https://vpn.vpn.com/anyconnect while your clientless users may access https:/vpn.vpn.com/webvpn. The catch as you found is what happens when a user tries to go to the root https://vpn.vpn.com? In this case, the user will hit the default WebVPN TG. I would have to see your DAP policy to understand what policies you have implemented. If you take DAP out of the picture for a moment, a few quick workarounds to preventing AnyConnect users from being able to log into the default WebVPN group is to remove the corresponding tunneling protocol from the default group policy. Alternatively, you could set the simultaneous logins to 0 in the default group policy. You may also want to look into configuring group locking to prevent users from logging into a TG that they don't belong to. With respect to your certificate requirement, ASA 8.2.1 code allows you to configure client certificate authentication on a TG by TG basis. This is more flexible than 8.0 where this is enabled globally.

  • Prefered data storage method for AIR apps?

    So I'm starting on my AIR application journey, in the end I would like to develop applications for Droid.  I'm used to developing for the web and mostly use MySQL, I've been looking at SQLite and XML as data repositories.  I feel that for most of my applications at this point XML files would most likely do the job, but is there a prefered data storage method for AIR applications?
    EDIT:  I've been looking around for a primer on Flash & SQLite interaction if someone could point me in the right direction it would be very thankful.
    Thank you much!

    For document management, I believe simple file/Directory would be sufficient. have files under a file server, with your app do the proper indexing, concurrency etc from that file server folder, which shall properly stores and index the documents.

  • Setting security constraint for web App

    Hai all!
    I am new to bea and i am trying to set up security constraints for my webaplication..
    I want user to be authenticated before he access any of the pages in browser..
    All i did was adding following entries to web.xml
    <security-constraint>
              <web-resource-collection>
                   <web-resource-name>
                        webresources
                   </web-resource-name>
                   <url-pattern>
                   </url-pattern>
              </web-resource-collection>           
              <login-config>          
                   <auth-method>
                   BASIC
                   </auth-method>          
              </login-config>
         </security-constraint>
    But no such thing is happening,,
    I know i am doing wrong but donno where exactly i am wrong..
    Pls guide me in sequnece of steps regarding what to do to accomplish what i want..
    Thanks and Regards
    Manohar

    I guess you need to set the role that is allowed to log into your application.
    try this in web.xml:
         <security-constraint>
              <display-name>Whatever</display-name>
              <web-resource-collection>
                   <web-resource-name>resource</web-resource-name>
                   <description>Desc</description>
                   <url-pattern>/*</url-pattern>
                   <http-method>GET</http-method>
                   <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
                   <description>desc</description>
                   <role-name>MyRole</role-name>
              </auth-constraint>
                   <user-data-constraint>
                   <transport-guarantee>NONE</transport-guarantee>
              </user-data-constraint>
         </security-constraint>
         <login-config>
              <auth-method>BASIC</auth-method>
         </login-config>
         <security-role>
              <description>desc</description>
              <role-name>MyRole</role-name>
         </security-role>
    and map the role with a group/user in weblogic.xml:
         <security-role-assignment>
              <role-name>MyRole</role-name>
              <principal-name>MyGroupOfUsers</principal-name>
         </security-role-assignment>
    Hope this helps.
    Xavi
    "Manohar" <[email protected]> wrote:
    >
    Hai all!
    I am new to bea and i am trying to set up security constraints for my
    webaplication..
    I want user to be authenticated before he access any of the pages in
    browser..
    All i did was adding following entries to web.xml
    <security-constraint>
              <web-resource-collection>
                   <web-resource-name>
                        webresources
                   </web-resource-name>
                   <url-pattern>
                   </url-pattern>
              </web-resource-collection>           
              <login-config>          
                   <auth-method>
                   BASIC
                   </auth-method>          
              </login-config>
         </security-constraint>
    But no such thing is happening,,
    I know i am doing wrong but donno where exactly i am wrong..
    Pls guide me in sequnece of steps regarding what to do to accomplish
    what i want..
    Thanks and Regards
    Manohar

  • What's the default auth method

    Hi,
    I have a web app with <security-constraint> and <auth-constraint> defined, but it doesn't supply login-config. In this case what's the auth method? Thanks

    3) External FireWire 800 Drive

  • Webhelp for web app

    Hi All,
    Looking for advice to contect webhelp to a web app, we
    followed the code in the csh file for java script to call map ids.
    We can only get the start/default page to display with the
    navigation pane, not having much luck with context sensitive help
    by map ids. here is the code we used: would appreciate the correct
    direction to take from here:
    <html>
    <script type="text/javascript" language="javascript"
    src="/cdb/js/RoboHelp_CSH.js"></script>
    <body>
    <p>Click for <A HREF='javascript:RH_ShowHelp(0,
    "/cdb/WebHelp/NICCDB.htm", HH_HELP_CONTEXT,
    1)'>Help</A> (map number 1)</p>
    <br>
    <p>Click for <A HREF='javascript:test()'>Help
    return value</A> (map
    number 1)</p>
    </body>
    </html>
    <script type="text/javascript">
    function test()
    alert(RH_ShowHelp(0, "/cdb/WebHelp/NICCDB.htm",
    HH_HELP_CONTEXT, 1));
    </script>

    Last week I was looking through a javascript primer on the
    Web. There are lots of them.
    I think I read that one window can refer to another by its
    name.
    So after you open the WebHelp window (call it 'A'), and then
    another window ('B'), a script in the new window can check to see
    if window A is open and, if so, to close it. If there is no window
    A, the script does nothing.
    Also, there may be a way to build the closer into the script
    that launches the new window.
    I was having this problem when I was trying several
    approaches to context help. I mentioned it to the developer of the
    main app, and after he built my WebHelp into the package, the
    problem went away.
    By the way, our approach makes it look like we're simply
    substituting the new topic for the one in the open WebHelp topic
    pane. I wanted to limit the disturbance on the user's screen and
    let her / him navigate within Webhelp without having to go back to
    the main app and click the help button on another screen. Also,
    this is useful when a topic has links to other topics in the same
    help package. They all come up in the same place.
    Harvey

  • SharePoint 2013 Multiple authentication prompts for web apps

    We have multiple web apps for MySite, collaboration portal and search centre.  When users click on different URLs and access different portals non IE browsers prompt for credentials multiple times for
    each Web app.
    Is this some thing to do with
    kerberos delegation set-up?
    http://technet.microsoft.com/en-us/library/ee806870(v=office.15).aspx
    sudesh withanage

    This is basically the way its designed to work.  Kerberos will help with authentication between different site collections on the same web app, but not different web apps.  Since you have multiple web apps Kerberos Delegation of credentials does
    not apply.  It only happens on non-IE browsers because IE can be set to pass the OS credentials in the background by default.  For other browsers you normally have to save a web site's credentials.
    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.

  • Set and save preferences/default in Save-For-Web?

    I used PE2 forever, even as my Mac OS updated. Now, however, on Snow Leopard, I had to get PE8, and I'm a little lost. In PE2, if I used the same custom setting in Save-For-Web, after awhile, it just kept it and that somehow became my default. It was marvelous. Now, in PE8, the JPG quality is always set to 0. I would like to set it to something I like (I am not completely happy with the presets), and have that come up as the default. Thank you very much for all of  your help.
    Bantymom

    *sigh* That does seem to be the case. It will remember the same setting for that one picture, but not for the rest of them in my project bin, so not even from opening the program until it is closed. Such a shame. Reset, of course, works just fine. But thank you for answering it for me.
    Cheers,
    Bantymom

  • CSS Flexbox - a new layout method for web pages

    Hi,
    As you may all know, css flexbox is a new layout method for laying out your web page, and with Firefox releasing version 22 within the next few days, (should have been yesterday) it is now no longer hidden behind browser settings. Add to this the fact that all desktop browser except IE10 and Safari 5 & 6, no longer require the use of a vendor prefix, and that http://html5please.com/ simply say ’USE’, flexbox is now finally a viable layout alternative, especially for responsive layouts.
    Flexbox has been available on all Android and iOS devices, (and any device using the webkit engine, e.g. new blackberry’s and Kindle Fire devices) since they were first release.
    To help find problems, and provide help in using flexbox, we would be grateful if you would experiment and provide feedback in the use of flexbox for layouts.
    To help you get started a video tutorial, (with files to download) and examples of layouts, (more to be added next week) and tips & tricks to help with some of the more common problems have been provided at http://flexboxlayouts.com/. This site will also be updated to provide you with a list of problems and hopefully the solutions to those problems, so that you will have a ’one stop’ reference site for using flexbox.
    If you have any tips in using flexbox, or a flexbox layout that you would like added to the site, then you can use the ’Submit’ email address on the http://flexboxlayouts.com/ site.
    For more info on the css flexbox specifications see -
    http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/
    or if you just want to know what property is supported by which browser/device -
    http://flexboxlayouts.com/pdfs/flexbox%20browser%20Properties%20.pdf
    Note to regular contributors & moderators:
    As I only have time to visit and help in the forum for a few hours per week, should you find any flexbox problems unanswered then please let me know via email.
    PZ

    Hi Al
    Yes I know, and this is why I am asking people to experiment with flexbox.
    The fix for IE10 is to give the right hand sidebar, (or the content) a larger flex-grow property, the bug is caused by the flex shorthand property not recognizing % values, and using the flex-basis as a set width instead of a preferred size.
    I have logged the bug, (and many others) with the various browser bug bases.
    This and other bugs, do have 'fixes', so I hope users will experiment with flexbox and provide feedback.
    Flexbox is no different than any other css feature, "we can only find the problems in actual use".
    Strangely enough, I have found the most consistent to use is the old 2009 implementation on mobile devices, (no doubt iOS7 will change all that ).
    PZ

  • How to set default payment method for Supplier using API

    Hi All,
    I am doing data conversion and loading suppliers using ap_vendor_pub_pkg.create_vendor api. But, I cannot see any payment_method_lookup_code column in the RECORD type AP_VENDOR_PUB_PKG.r_vendor_rec_type.
    how do I assign a default payment method to a vendor ?
    Thanks
    Shankar

    Seems like an ER with Oracle Support.
    Bug 11895105: ADDING PAYMENT_METHOD_LOOKUP_CODE FOR AP_VENDOR_PUB_PKG.UPDATE_VENDOR_SITE
    Currently system doesnt allow you to update the PAYMENT_METHOD_LOOKUP_CODE in AP_VENDOR_PUB_PKG.Update_Vendor_Site.Because above column does not define in l_vendor_site_rec regardless other procedure.

Maybe you are looking for

  • NEW APP-TV Out controll Widget

    Set the aspect ratio and scaling of the N900's TV out. This desktop applet allows you to control different parameters of the N900's TV out (enable/disable, PAL/NTSC, aspect ratio and scaling factor) that are not available in the Control Panel. Featur

  • Need to download new MAIL program for my Panther

    Help, my Mail program died and I need to install new one, where do I find a download of Mail for my X10.2.8????? iMac   Mac OS X (10.2.x)  

  • Automatic Transition not working

    Hi, I have 5 Bullets set to appear 30 seconds aparts (they appear more like 50 seconds apart but that's not my problem. My problem is that I would like the entire slide to transition automatically after 360 seconds. Which Keynote 3 refuses to do. I c

  • .avi file to Quicktime - Burn to DVD

    Hello, I am trying to get a movie file to burn on my IMAC. I am not sure what I need to buy/ download to do this. I have gone through the forums and tried downloading DiVX and VLC and both will play the file but how do I get it to play in Quicktime o

  • How can I re-install Premiere Pro of the Master Collection?

    I have lost the ability to load Premiere Pro CS5 of the Master Collection.   How do I re-install?