API Call For Basic Authentication

Hi,
Does anyone know whats the API call that WebLogic makes internally to
perform basic authentication. Is ServletAuthentication the only way to
programmatically log in a user.
Thanks
Sameer

If the target node for your operation is a sibling, I believe you're going to have to pass the parent node of the sibling into the AddNode() API call when this operation occurs within a version. Note that copyNodesAcrossVersions is a new method that has a copyAsSibling parameter, but AddNode() does not.
Edited by: Naren Truelove on Nov 12, 2012 3:12 PM
...grammatical correction...

Similar Messages

  • Proxy for Basic Authentication

    Hi,
    Can someone point out if I am on the right track about this ?
    I have an application which uses Basic Authentication as its authentication mechanism.I have defined the Application for single sign-on using the External Applications option in the Portal Builder.
    I have read further down in the documentation (Configuring and Administering External Applications) http://download.oracle.com/docs/cd/B10464_01/manage.904/b10851/ext_apps.htm#1009009
    that there is something called Proxy Authentication for Basic Authentication Applications.
    Can someone explain this to me as I am unsure as to whether I need to set this proxy up as well ? The diagram in the documentation appears to be what I am trying to do.
    As I mentioned in a previous post Basic Authentication doesn't appear to be working for me. The very first time I authenticate I get straight into the application but any attempts after that results in the Basic Authentication dialog box appearing even though I have checked the "Remember my login information" tick box.
    Any ideas ?
    Thanks,

    Thank you for the response. I tried with a pass-through service account but could not get it working.
    This is what I did:
    1. I have a SOAP business service with WS-Policy with username security assertion.
    2. I created a SOAP business service with the wsdl. OSB EPE editor said OSB does not support WSSE 1.2 policies. I extended my OSB domain to include OWSM and in the business service policy tab, selected OWSM policy option and added "oracle/wss_username_token_client_policy". (Now I am not sure how the user credentials in HTTP BASIC (headers) will be propagated to WS-Security headers)
    3. I created a pass through service account and added this service account in the SOAP business service. I am able to configure service account only when I choose HTTP BASIC authentication in the business service. This did not propagate the username from HTTP to WS-Security. I see errors in the log like "WSM-00015 : The user name is missing.". Looks like wss_username_token_client_policy is looking for username in csf-key map. I do not know this map gets populated internally. If I have to do it programmatically I saw there is java code to set BindingProvider.USER_NAME in the request context. How do I do this from OSB designer ?
    4. I tried creating a wrapper proxy around the secure SOAP business service and include the wrapper proxy in my main proxy but could not get it working. I get lof of NullPointers.
    I am missing something. Can you please help ?

  • Api call for "browse pages" popup window?

    Hi,
    Is there a supported API call for rendering the "browse pages" popup window? The one that appears when you use the "go to page" link.
    We used to call wwsbr_explorer.display but this call has changed in 10.1.4 to wwsbr_explorer_ui.display...
    Thanks, Tony

    closed !
    Please use the other thread.

  • Requesting API calls for Windows 10's virtual desktops

    Please add API calls for working with Windows 10's virtual desktops, for example, a way to determine which virtual desktop a particular window is on and which virtual desktop is active.
    The problem can be seen using the Snipping Tool. Open the tool and select a
    New / Window Snip. As you move the mouse around, the snipping tool
    highlights areas where there is no window, but there is a window in another virtual desktop.
    First desktop, Snipping Tool highlights and empty area ...
    Second desktop...
    It's because Snipping Tool has no way to know which virtual desktop a particular window is on.
    Thanks!

    Thanks, been there, did that, but there's no way to know if Microsoft listened or provided a solution :-(
    Hi GoVideo,
    Currently, Windows 10 is still in the Technical Preview stage, Microsoft will collect all feedbacks and evaluate them guardedly.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Web Service Call with Basic Authentication does not work

    If I try to use Basic Authentication in my Web Service Client with the automatically created methods
    setUsername(inUserName)
    setPassword(inPassword)
    setAddress(inAddress)
    the application does not make a call. Did I forget something?
    Is it possible to use "Test Method" with Basic Authentication?
    Thank you.

    Thank you for your answer.
    But: I already read this article. And it doesn't help me.
    I use the following code:
                getMyServiceClient1().setUsername(inUserName);
                getMyServiceClient1().setPassword(inPassword);With this code I always get a java.lang.NullPointerException.
    The methods setUsername and setPassword are definded as follows:
    public void setUsername(String inUserName) {
            myStub._setProperty(Stub.USERNAME_PROPERTY, inUserName);
      public void setPassword(String inPassword) {
            myStub._setProperty(Stub.PASSWORD_PROPERTY, inPassword);
      }But if I look at the methods which are generated automatically by Sun Java Studio Creator I cannot find _setProperty.
    I also found this thread in your forum:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=54773

  • Api call for 'submit for approval'

    would like to be able to use the content management event system to watch for incoming files. when a new file comes in i want to set some attributes based on the payload before it is submitted for approval. i am having problems finding the proper procedure to automatically submit the file for approval once i set the attribute values (which must be done while the file is in draft mode)
    is that possible?

    If the target node for your operation is a sibling, I believe you're going to have to pass the parent node of the sibling into the AddNode() API call when this operation occurs within a version. Note that copyNodesAcrossVersions is a new method that has a copyAsSibling parameter, but AddNode() does not.
    Edited by: Naren Truelove on Nov 12, 2012 3:12 PM
    ...grammatical correction...

  • API call for launching Sun Java System Application Server

    Hi,
    I want to use an API call to start the Sun Application server, so that the server runs in the same JVM as my java aplication.
    Please advise me how to do this.
    Thank you
    Komal

    Here is sample code to start application server if you are using SJSAS Platform Edition 8.1 2005Q2 Update 2
    http://docs.sun.com/app/docs/doc/819-2642/6n4tspp9t?a=view#beaps

  • API call for Sequence vs DLL in report options

    I've got my code to automatically use a text file no matter the selection of the Report Format.  But what I've found is that if DLL is selected, there are certain parts of my code that do not run versus when the Sequence is selected under "Select a Report Generator for Producing the Report Body".  Which makes sense to me since I want the callbacks to run.  But, I can't find out where in the API to set it to Sequence so that I can ensure my callbacks get run.
    Thanks in advance.

    It actually wouldn't be done through the API.  That info is stored inside of a variable during RunTime.  Ultimately it is stored in the ReportOptions.ini file but that gets read in during the ReportOptions callback.  The one you are looking for is called Locals.ReportOptions.BodyGenerator in the TestUUTs Entry Point and the Single Pass entry point.  You need to change that variable to Sequence instead of DLL.....I'm assuming.  I didn't try it yet.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Multiple popups for username/password for basic authentication.

    Safari 4.0.5 (5531.22.7) gives multiple popups for username/password while requesting a page which has more than one 'secure' items in it (basic auth). We expected that Safari to reuse the credentials entered the first time around and pass it on for subsequent requests. (Although RFC 2617 specifies that the credentials 'may' be reused, not really sure what Safari is doing here, though this seems to be the behavior on other popular browsers).
    There's another discussion that listed this problem but that too seems to be unresolved yet (http://discussions.apple.com/message.jspa?messageID=2074214).

    HI and welcome to Apple Discussions...
    If you have tried the suggestions at that link but nothing worked, update Safari.
    Apple Menu / Software Updates.
    Repair disk permissions after the updates are installed.
    Carolyn

  • Java API Calls for command line operations

    I would like to use the command line operations programmatically from Java, or PL/SQL.
    I would like to parse a XML file. From DOS Command line I can issue a ifsput test.xml and I can have the file parsed and stored in the database.
    Can I do the same thing programmatically using java or plsql from database.
    Thanks
    Ramna

    The following code allows you to parse an XML file. In this case it parses a string containing a SimpleUserDefinition.
    package ifs.demo.common.users;
    import oracle.ifs.beans.*;
    import oracle.ifs.beans.parsers.Parser;
    import oracle.ifs.beans.parsers.SimpleXmlParser;
    import oracle.ifs.common.*;
    import java.io.File;
    import java.io.StringReader;
    import java.io.FileNotFoundException;
    import ifs.demo.vcard.type.Vcard;
    import ifs.demo.vcard.parser.VcardParser;
    import java.util.Locale;
    import java.util.Hashtable;
    public class UserCreator extends Object {
    private static LibrarySession getConnection(String user,String password,String serviceName, String schemaPassword)
    throws IfsException
    LibraryService service = new LibraryService();
    CleartextCredential me = new CleartextCredential(user,password);
    ConnectOptions connect = new ConnectOptions();
    connect.setLocale(Locale.getDefault());
    connect.setServiceName(serviceName);
    connect.setServicePassword(schemaPassword);
    return service.connect(me,connect);
    private static void createUser(LibrarySession ifs)
    throws IfsException
    String simpleUserString = "<?xml version = '1.0' standalone = 'yes'?>\n"
    + "<SimpleUser>\n"
    + " <UserName>TestUser2</UserName>\n"
    + " <Password>ifs</Password>\n"
    + " <HomeFolderRoot>/home</HomeFolderRoot>\n"
    + "</SimpleUser>\n";
    StringReader userDefinition = new StringReader(simpleUserString);
    SimpleXmlParser xmlParser = new SimpleXmlParser(ifs);
    xmlParser.parse(userDefinition,null,null);
    public static void main(String[] args)
    try {
    LibrarySession ifs = getConnection("system","manager","IfsDefault","manager");
    ifs.setAdministrationMode(true);
    createUser(ifs);
    } catch (IfsException e) {
    IfsException.setVerboseMessage(true);
    e.printStackTrace();
    Note that you ask about doing this from the database. If you mean that you want to run this code from inside the database the answer is not supported in 1.1. What you would need to do is use Oracle Advanced QUeuing to send a message, containing the XML to a process running outside the database and have that process connect to iFS and perform the parsing.
    null

  • Modifying outbound header for basic authentication

    Hi,
    I want to add the username password that is required by the third party, but I dont want to use service account, instead I want to do it in message flow of proxy service by modifying some variable in the variable structure but I am not sure which variable am i suppose to change.
    Please help me out with possible solutions.
    Rgds,
    rahul.

    Hi Atheek,
    I added a transport header while routing to the business service and getting the following error <BEA-386012> <An error ocurred while evaluating the message-level username XPath selector: [OSB Security:386014]the result of the XPath selector is empty>
    I selected the Other option and value as Authorization, in the Action tab I have written xs:base64Binary('testuser:welcome')
    Thanks,
    Rahul

  • How to call a web service from BPEL that requires HTTP basic authentication

    Hi All,
    I need to calling some Web Services from BPEL (SOA 10.1.3.1 production running on XP machine). The services require HTTP basic authentication.
    I have tried adding httpUsername and httpPassword properties to the ParnterLink, and I see in BPEL Console that they are deployed by checking the descriptor page. But I still get a SOAP fault, HTTP 401: Unathenticated.
    I have also tried using basicHeaders (from memory) = credentials, httpBasicUsername, and httpBasicPassword. Same result.
    I have done a packet trace using Ethereal, and the headers do not seem to contain the userid and password at all.
    Can anyone help?
    Thanks,
    Mark Nelson

    Thanks Bas,
    I have resolved the issue. The provider of the Web Service had not configured if for Basic Authentication. For some reason it worked when they tested, or maybe the did not test. The only thing I had to change was to use:
    <property name="basicHeaders">credentials</property>
    <property name="basicUsername">WMDATA</property>
    <property name="basicPassword">WMDATA</property>
    Instead of:
    <property name="httpUsername">WMDATA</property>
    <property name="httpPassword">WMDATA</property>
    I don’t know why this is, maybe because it is an Axis Web Service.
    Sorry for wasting your time.
    Regards Pete

  • HTTP Basic authentication for proxy service and its wsdl?

    Hello:
    For some reasons I needed to configure the HTTP basic authentication on a proxy service at OSB 11g. Everything was OK until I realized that, additionally to the authentication when calling the service, the OSB also asks for credentials when I try to get that proxy wsdl file.
    My requirements are to secure the proxy service when is called only, not when retrieving the wsdl.
    Is this possible to configure on OSB / WLS? How?
    Greetings!
    Edited by: user4483647 on 02-sep-2010 12:59
    Edited by: user4483647 on 02-sep-2010 13:25

    If I'm not wrong, Basic authentication is Transport level feature. So passing User/Password in SOAPHeader doesn't make sense. SOAP message can only be sent when you have a HTTP Connection open. During opening of HTTP connection User/Password is required for basic authentication.
    http://www.student.nada.kth.se/~d95-cro/j2eetutorial14/doc/Security7.html#wp156943
    Edited by: mneelapu on Apr 2, 2009 2:09 PM

  • Basic authentication not working for portal application

    HI All,
    i have a portal application where I have a servlet. i want to use basic authentication for this servlet.
    to archive this i have followed http://docs.oracle.com/cd/E14571_01/web.1111/b31974/adding_security.htm
    and configured basic authentication, also add web-resource in web.xml for the url to access the servlet.
    my web.xml look like (copied is only security section from web.xml)
    <security-constraint>
        <web-resource-collection>
          <web-resource-name>adfAuthentication</web-resource-name>
          <url-pattern>/adfAuthentication</url-pattern>
        </web-resource-collection>
        <web-resource-collection>
          <web-resource-name>All</web-resource-name>
          <url-pattern>/faces/Auto-connect</url-pattern>
        </web-resource-collection>
        <auth-constraint>
          <role-name>valid-users</role-name>
        </auth-constraint>
      </security-constraint>
      <login-config>
        <auth-method>BASIC</auth-method>
      </login-config>
      <security-role>
        <role-name>valid-users</role-name>
      </security-role>
    this works when in run the application in JDeveloper i.e. when i try to access http://localhost:7101/MyApp/faces/Auto-connect it ask for basic authentication (the popup) and when i access http://localhost:7101/MyApp/ it takes me to home page for login , but doesn't work when i deploy the application in weblogic 11g.(deployment done using Enterprise Manager console (EM console) (for both URL no popup).
    i tried Google around it but didn't get any solution please provide your input and guide me.
    thanks
    -somesh

    Hi,
    Before deploying, have you changed:
    Application properties -> Deployment
    Remove the selection from "Auto Generate and Syncronize weblogic-jdc.xml ....."
    Kind Regards

  • My app seems to consume an enormous amount of API calls every day? Please help!

    I am tired and sad and frustrated here, and feel like a total moron. I am very sorry if my post is too long and not very well put together, but im beggin anyone with some experience here to please give me some advice.
    I am currently testing out a app I have created to let people add events, search for events, comment on and get notified about changes in events they have signed up for. I have used Azure Mobile Service for this, and it all seems to have worked well. This is
    mostly a learning app for me, since I am very much a noob.
    Now we are nearing launch of the app, and I have started to look at the numbers in Azure. I am on the free version right now, where 16k api calls a day are free (will move to priced tier on launch) - but the numbers look completely off the hook here!
    Every day 2-3 devices seem to run up 600-700 API calls. I do run the testing app hard, of course, but I guess some user might do that to.
    So - 4% of the daily free calls are consumed by 3 devices. That means 33 users could fill the quota, and the first paid tier only gives room for 300 users.
    Am I reading something wrong here? Is my app then not viable? I think it, even with my noobness, has a potentil to get a few thousand users. Does that mean Im gonna have to go to the top tier? Because I can not afford that.
    Over to the stack part of the question:
    I log the user in, I create the tables, and then when they hit search I do something like this:
    eventenItemList = await eventenTable.Take (200).Where (item => item.Dateandtimeend >= DateAndTimeIn).
    Where (item => item.Dateandtime <= DateAndTimeInEnd).
    Where (item => item.Fylke == fylke).
    Where (item => item.Pris <= MaksPris).ToListAsync ();
    I would expect that to be a single API-call, but it seems to run up tens of calls - just there? How is that possible?
    When the user is not in the app, I run a background service in Android that goes through a local db of events the user has created and then checks against the db for any changes to them. I do that like this:
    var table = db.Table<MyEvents> ();
    foreach (var e in table) {
    eventenItemList = await eventenTable.Where (item => item.Id == e.EventId).ToListAsync ();
    if (eventenItemList.Count == 0) {
    } else {
    //I here notify the user that something new is up - and what it is. Time changed, comments or whatever.
    Im guessing this is stupid of me, since it probably makes one API call for each loop here? But in the numbers it just seems to do 2 calls - like I expect it to.
    I am horribly lost here, people. I ran around a hundred random clicks around the app this evening - and racked up over 1500 api calls. I have been cold sweating since that. Any advice or info about how this api call-system works would be very much appreciated.

    Replying here in case someone else stumbles upon this post. This question was handled on SO:http://stackoverflow.com/questions/28685710/app-consumes-an-extreme-amount-of-api-calls-in-azure

Maybe you are looking for

  • Can't remove a photo album from my phone

    When I switched from Android to my iPhone 4S, I somehow ended up with a photo album called "Android pics" on the iPhone that contains photos that had previously existed on my Galaxy.  I want to remove them from my phone.  I can select the individual

  • About gif images

    I noticed that when I uploaded a animated gif file it stays frozen. Is htere a way i can make it move?

  • Cannot install adobe Premiere elements 9 disc

    I bought adobe photoshop elments 9 & adobe Premiere elements 9 sotftware from a store. I have windows 7 on my computer. I have installed disc 1 (adobe photoshop elements 9).  My computer said it installed sucessfully. I went to install disc 2 (adobe

  • Error 1603 - Could not write value to key \Skype.C...

    Hi, I'm running Windows 7 and have admin privileges on the computer.  I just attempted to download and install the latest version of Skype.  The Install failed with the error message: "Could not write value to key \Skype.Content\shell\open\command"..

  • Reader 11.0.03 questions...

    Is this version supported in Windows 2008 R2? Is this version supported in a Citrix environment? Terminal services/RDS? Is this version under support for all users (they point you here, I believe)? Is support available for service providers?