Validate_login returning N instead of Y

Hi,
In Oracle Time and Labor, we are using employee number and password(employee no: 201456 password: 201456_password). If I go to e business suite in web browser it works fine but if I try select fnd_web_sec.validate_login('201456 , '201456_password') from dual it is returning N.
Please guide me
thanks in advance

fnd_web_sec is an internal encrypted API, so better to use public APIs. Please try using the below and see if it works.
fnd_user_pkg.validatelogin (username varchar2,
password varchar2) return boolean
Thanks
Shree

Similar Messages

  • SSRS 2012: How to get a "Select All" that returns NULL instead of an actual list of all values from a multi-select parameter?

    I have a multi-select parameter that can have a list of thousands of entries. In general, the user will pick a few entries from the list or "Select All". If they check "Select All", I would much prefer that I get a NULL or an empty string
    instead of a list of all values. Is there any way to do that?
    In experimenting with a work-around, I tried putting an "All" label with a null value in the list, but it is ignored (does not display in the drop-down). If I use an empty string for the value, my "All" entry does get displayed, but so
    does "Select All", which is confusing. Is there a way to suppress "Select All"?
    - Mark

    I adapted the following from a workaround posted by JNeo on 4/16/2010 at 11:14 AM at
    http://connect.microsoft.com/SQLServer/feedback/details/249227/multi-value-select-all-parameter-in-reporting-services
    To get a null value instead of the full list of all values when "Select All" is chosen:
    1) Add a multi-value parameter "MyParam" that lists the values to choose.
    2) Add a DataSet "ParamCount" identical to the one used by "MyParam", except that it returns a single column named [Count] that is a COUNT(*) of the same data
    3) Add a parameter "MyParamCount", set it to hidden and internal, then set the default value to 'Get values from a query', choosing "ParamCount" for the Dataset and the one [Count] column for the Value field.
    4) Change the parameter for the main report DataSet so that instead of using [@MyParam], it uses this expression:
    =IIF(Parameters!MyParam.Count =
    Parameters!ParamCount.Value, Nothing, Join(Parameters!MyParam.Value, ","))

  • New Bug in 10.1.2: getAccessor in Entity returns Row instead of RowIterator

    Hi
    There seems to be a new serious Bug in JDeveloper 10.1.2. Please assume the following Situation:
    MaEntity - Master Entity
    DetEntity - Detail Entity
    MaView - A View for the Master Entity
    DetView - A View for the Detail Entity
    DetMaFkAssoc - Association between MaEntity and DetEntity
    DetMaVL - ViewLink between MaView and DetView.
    Accessor "DetView" is exposed in Entity MaEntity. Here is the generated code in MaEntity:
    public RowIterator getDetView()
      return (RowIterator)getAttributeInternal(DETVIEW);
    }This Accessor failes with a class cast exception
      java.lang.ClassCastException: my.package.DetViewRowImplUps, what is this??? The Accessor obviously returned a Row for the Detail View, where a RowIterator should have been returned!
    I'd appreciate if anyone from oracle could have a look at this!
    Thanks

    Some more info:
    A short look into MaEntity.xml reveals the following code snippet  
       <AccessorAttribute
          Name="DetEntity"
          Association="my.package.DetMaFkAssoc"
          AssociationEnd="my.package.DetMaFkAssoc.DetEntity"
          AssociationOtherEnd="my.package.DetMaFkAssoc.MaEntity"
          Type="oracle.jbo.RowIterator"
          IsUpdateable="false" >
       </AccessorAttribute>
       <ViewLinkAccessor
          Name="DetView"
          ViewLink="my.package.DetMaVL"
          ViewLinkEnd="my.package.DetMaVL.DetView"
          ViewLinkOtherEnd="my.package.DetMaVL.MaView1"
          Type="oracle.jbo.server.ViewRowImpl"
          IsUpdateable="false" >
       </ViewLinkAccessor>Obviously the two Accessors point into different directions. The Association-Accessor is correct, whereas the ViewLinkAccessor returns a ViewRowImpl instead of a RowIterator.
    The codesample above was generated by a wizard in a new simple test project of JDeveloper 10.1.2. I realized, that JDeveloper 9.0.5.2 has also created wrong XML Code. But, for some reason it has worked in this Version.
    This is a serious bug, which will probably prevent me from upgrading to 10.1.2 as this will break my application. :-(
    Any hints are appreciated
    Thanks Frank Brandstetter

  • My lov results into the return value instead of the display value in APEX

    Hi,
    For 1 of the columns I'm representing in APEX, I choose 'Display as text, based on a lov'. I'm using:
    select aan.id||', '||r.naam||', '||a.woonplaats d, aan.id r
    from wmo_aanvragen aan
    , wmo_dossiers d
    , wmo_relaties r
    , wmo_adressen a
    where d.avg_1_id = aan.id
    and d.rel_nummer = r.nummer
    and a.rel_nummer = r.nummer
    and a.id = (select min(e.id) from wmo_adressen e where e.REL_NUMMER = r.nummer
    and e.EIND_DATUM is null)
    and d.id = (select min(f.id) from wmo_dossiers f where f.AVG_1_ID = aan.id)
    But somehow it displays the 'aan.id' value instead of the display value. Does anyone know howcome?? In TOAD it works fine
    Niels
    Edited by: user6394263 on 10-apr-2009 1:22

    Hello Niels,
    Your LOV Displays your concatenated value, but returns the "aan.id" (into the Form field), just as expected. If you want to show the description on your Form, use a PopUp LOV - Displays Description Return Key value
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • SAX parsing to return element instead of document

    Hi,
    Is there any sample implementation which would allow my SAX parser to return just Element object instead of returning the whole document.
    Thanks for your help.

    // XML FILE
    <Account>
    <StudentInfo>
    <firstname>John</firstname>
    <lastname>Doe</lastname>
    <age>21</age>
    </StudentInfo>
    <StudentInfo>
    <firstname>Sarah</firstname>
    <lastname>Smith</lastname>
    <age>32</age>
    </StudentInfo>
    </Account>
    // This parser will only print out the firstname
    class MyParser extends DefaultHandler{
    private String firstName = "";
    private boolean boolFName = false;
    public void parse(String xmlDoc) {
    try{
    SAXParser parser = new SAXParser();
         parser.setContentHandler(this);
    parser.parse(new InputSource(new StringReader(xmlDoc)));
    catch (SAXException se){ System.out.println(se.toString()); }
    catch (IOException ie){ System.out.println(ie.toString()); }
    public void startElement(String ns, String name, String qName, Attributes atts) throws SAXException {
    if (name.equals("FirstName"))
    boolFName = true;
    public void characters(char[] ch, int start, int length) throws SAXException {
    String s = new String(ch, start, length);
    if (boolFName)
    firstname = s;
    boolFName = false;
    public void endElement(String ns, String name, String qName) throws SAXException {
    if (name.equals("StudentInfo")
    displayName(name);
    public void displayName(String name){
    System.out.println(name);
    } // end of MyParser

  • Pop-up list manager displaying "return value" instead of "display value"

    Hello,
    I'm using a list manager based on pop-up LOV. When I click on an item on the pop-up window, the window is closed and the return value is displayed in the page list. I would like to have (as expected) the display value otherwise a user who accesses the detail of a record can just see codes (no meaning) and can't understand nothing. The return values should be used just for database storage as expected in a database application environment.
    The behaviour should be like the one of "POPUP Key LOV (display descriptions, return key values)"...where in the textbox I can see the description but I send the key to the database.
    I could use a multislect list too (which allows to display descriptions instead of codes) but in this case another problem arises: if I have lots of items the user has to scroll the list to see which items have been selected.
    Any other solution to allow a user to see (and print) the content of "multiple" fields (descriptions, not codes)?
    I'm using Application Express 2.1.0.00.39
    Thanks a lot for your help.
    Eugenio

    Anyone? Which is the best practice in these cases? Is it not possible to get the value selected displayed in a proper manner when using a "select multiple" fields?
    Thanks for your help.
    Eugenio

  • Financial Reporting Studio: Query returns number instead of text !?

    Hi All,
    I have built a CAPEX report for a client querying new asset requests. Report is completed with no errors, however the problem is that the values returned for members of type text such as 'Asset Description', 'Justification'...etc are numbers (ex: 6, 9, 12). On the other hand, values returned for memebrs of type number are returned correctly such as 'Basic Cost' and 'Salvage value'. Even the value returned for 'CAR #' which stored as a text is a 1 digit number.
    I have checked the data in the front end/application and it is there and represented correctly. I have also checked the type of the dimension members themself and it is set as text.
    Has anyone come accross this problem? Can anyone please provide a solution for this?
    Your help is highly appreciated.
    Regards,
    Mokhtar
    Edited by: user10583002 on Jun 25, 2012 1:44 PM

    Hi Mokhtar
    Is it a big report as that seems a long time?
    In my experience the things that have made the most difference to report performance are:
    1. Don't have a lot of members in the Page, in order to be able to switch pages quickly all of the data is retrieved at run time so it can take a long time to open the report. I prefer to use the report POV to switch the view
    2. Try not to stack dynamic calcs, e.g. be careful if you are using attribute dimensions in reports as these are dynamic and if used along with dynamic accounts, and dynamic time periods can slow retrieval
    Hope this helps
    Stuart

  • SDL_LRS.FIND_MEASURE returns 0 instead of correct value on 10.2.0.4

    Hi folks,
    This may be bug 8491356 as discussed here
    SDO_LRS.FIND_MEASURE reports bad negative measure on 10.2.0.4
    but it seems different.
    I have an two-point LRS linestring running from 100 to 95.32934. I have a point that is very much closest to the 100 measure.
    SDO_LRS.FIND_MEASURE reports zero on 10.2.0.4 but reports 100 on 11.2.0.1.
    Jack Wang suggested dealing with 8491356 by basically moving the bad results back to the nearest endpoint. However in this case that approach would grab the wrong end of the string. Is there a way to better understand this bug to work around it or is a backport the only reliable approach? We are shooting to upgrade to 11gR2 before the end of premier support in July so getting folks to deal with 10g problems that are already fixed on 11gR2 is troublesome right now.
    Thanks!
    Paul
    SELECT
    SDO_LRS.FIND_MEASURE(
       SDO_GEOMETRY(
          3302,
          8265,
          NULL,
          SDO_ELEM_INFO_ARRAY(
             1,
             2,
             1
          SDO_ORDINATE_ARRAY(
             -88.6012863731189,
             45.5694397291527,
             100,
             -88.6004069064536,
             45.5710853291502,
             95.32934
       SDO_GEOMETRY(
          2001,
          8265,
          SDO_POINT_TYPE(
             -88.6013481369958,
             45.569455933989,
             NULL
          NULL,
          NULL
    ) zz
    FROM dual

    Hi Paul,
    The bug you reported on 10204 is bug-6511995. It is fixed in 11gR2.
    To fix the bug in 10204, you need to file a BLR and request a patch on 10204 for your platform.
    There is no PL/SQL workarounds as the fix is in the server code.
    The cause of the bug was due to the acos function in the math library returning NAN (not a number).
    Thanks,
    jack

  • Message object returns SharedByteArrayInputStream instead of Multipart.

    Dear friends,
    I am using java Mail API v 1.3.1 to access POP3 server.
    I am getting problem while I try to read an RTF message from POP3 server.
    When I try to access the data through getContent() method on javax.mail.Message Object, it sometimes gives me correct result as a Multipart data, while sometimes, it returns an object of type com.sun.mail.util.SharedByteArrayInputStream.
    Although it returns SharedByteArrayInputStream object, when I invoke getContentType() on Message Object, it returns Multipart as correct.
    I think this is some problem with the JavaMail API.
    Going specifically, I use the POP server : ksc.th.com
    Waiting for reply,
    -> Maulik Soni.

    hi,
    I have the same Problem,too. But now, i have found the reason.
    the javamail jar delivers a file named 'mailcap' in the META-INF dir of the library jar with
    the following content:
    text/plain;;          x-java-content-handler=com.sun.mail.handlers.text_plain
    text/html;;          x-java-content-handler=com.sun.mail.handlers.text_html
    text/xml;;          x-java-content-handler=com.sun.mail.handlers.text_xml
    multipart/*;;          x-java-content-handler=com.sun.mail.handlers.multipart_mixed
    message/rfc822;;     x-java-content-handler=com.sun.mail.handlers.message_rfc822
    now while creating the default instance of MailcapCommandMap (activation framework),
    this class is searching the 'mailcap' file in the META-INF dir. if 'mailcap' is not found, the
    activation framework don't map these mimetyps.
    workaround:
    make sure, that the MailcapCommandMap can find the mailcap file in META-INF or in user.home dir
    or
    map manually (javax.activation.MailcapCommandMap):
    MailcapCommandMap map = (MailcapCommandMap)MailcapCommandMap.getDefaultCommandMap();
    map.addMailcap("text/plain;;x-java-content-handler=com.sun.mail.handlers.text_plain");
    map.addMailcap("text/html;;x-java-content-handler=com.sun.mail.handlers.text_html");
    map.addMailcap("text/xml;;x-java-content-handler=com.sun.mail.handlers.text_xml");
    map.addMailcap("multipart/*;;x-java-content-handler=com.sun.mail.handlers.multipart_mixed");
    map.addMailcap("message/rfc822;;x-java-content-handler=com.sun.mail.handlers.message_rfc822");
    simple,
    if you known it.
    thx, bye.
    franz bartlechner

  • How to monitor ADFS 2012r2, Commercial services use HEAD and ADFS returns 500 instead of 200

    I have set up an on-prim ADFS and an off-prim ADFS.
    I want to use DNS Failover to monitor them and switch off-prim as required.
    I've tried both Amazon Route 53 and DNS Made Easy monitoring, and both appear to use the HEAD command rather than the GET command. How can I monitor these services? ADFS 2012r2 does not seem to support the HEAD command.
    curl -iX GET h t t p s ://fs.redclay.com/adfs/ls/idpinitiatedsignon.htm returns 200 whereas
    curl -iX HEAD ... or curl -I ... return 500 or just hangs forever.
    Only by the process of elimination have I come to the conclusion that the HEAD command is being used. I don't know how to sniffer SSL, but both DNSMadeEasy and AmazonAWS say the services are down when I know they are up.

    Hi,
    Would you please be more specific about your requirements?
    If you want to figure out how to use curl –iX command, you can refer to the Official Scripting forum below:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    If you have doubts about your third-party software, I suggest you contact third-party support to get accurate answers.
    If you just want to monitor your ADFS servers, you can configure performance monitoring as this article guides:
    Configure Performance Monitoring
    http://technet.microsoft.com/en-us/library/ff627833.aspx
    Best Regards,
    Amy Wang

  • ReturnType="user-defined" returns wddx instead of SOAP

    No matter what I try, CF never returns a valid SOAP response
    when I try to use a CFC as a return type. When I call the cartShow
    method remotely, I get back wddx.
    cart2.cfc?method=cartShow&cookie_id=73BF9A83-CC22-47E7-8D25EA72746CDF32

    Hi Dan,
    Thanks for coming back with a suggestion.
    Unfortunately, it results in the same thing.
    Quick Example:
    From CFC:
    <cffunction name="StructTest" access="remote"
    returntype="any">
    <cfargument name="argString" required="Yes"
    type="string">
    <cfset var result = structNew()>
    <cfset structInsert(result,"Dan","Daniel Mackey")>
    <cfset structInsert(result,"Sam","Sam Kidd")>
    <cfset structInsert(result,"Peter","Peter Coppinger")>
    <cfreturn result>
    </cffunction>
    From C#
    LPS.WebServiceTest lps = new LPS.WebServiceTest();
    LPS.Map map;
    map = (LPS.Map)lps.StructTest("Dan");
    MessageBox.Show(map.item.ToString());
    The same thing occurs.
    map.item is null
    If I invoke this from ColdFusion, the correct data is
    returned :-(
    The exact C# message is :
    "Object reference not set to an instance of an object." and
    if I test map.item it is in fact Null.
    Arrays, Strings, Queries are all working fine.
    This is driving me nuts out of principle in that it should be
    fine.
    Map contains item which is an array of mapItems, each with a
    Key/Value pair.
    I could work around it by using an Array of Arrays SOAP type
    (Convert the struct to an array which each element being a 2
    element array for the key/values) but out of principle its eating
    away at my will to live like a SOAP/C# brain cancer ;-)
    Dan.

  • 1 == [1] returns false instead of true

    The [The JavaFX™ Script Programming Language Reference  (Draft)|http://javafx.com/releases/preview1/docs/reference/sequences.html] says:
    "a single object is equal to a sequence of one object:
    {code}1 == [1]; // returns true
    {code}
    But when I try the following in NetBeans 6.1:
    {code}System.out.println("1 == [1] is {1 == [1]}");{code}
    it returns the following:
    {code}1 == [1] is false
    {code}
    So again my question, who is wrong? Me, the reference or my SDK?

    Looks like the doco is wrong, I guess thats why they say draft

  • Can Prompt command return number instead of string

    if (app.documents.length>0) {
    var start = prompt("1st #", 1);
    var finish = prompt("2nd #", 2);
    alert(start + finish);
    This example returns 12. How to return user input as numbers so evalutes 3?

    alert(Number(start) + Number(finish));
    Dave

  • Fnd_web_sec.validate_login returns ORA-29540

    Hi guys,
    when i'am executing
    select fnd_web_sec.validate_login('user123', 'pass123')
    from dual;
    with 'apps' DB user every thing works well and i get 'Y' as a result for the query.
    now i have new DB user 'XX'
    when i login using user 'XX and executing
    select fnd_web_sec.validate_login('user123', 'pass123')
    from dual;
    i get 'N' as a result for the query.
    so i run the following query
    select fnd_message.get from dual;
    and the message i got is :
    Oracle error -29540: ORA-29540: class oracle/apps/fnd/security/WebSessionManagerProc does not exist has been detected in FND_WEB_SEC.VALIDATE_LOGIN(u,p).
    obviously there is no problem with the class since it works with 'apps' user so i suspect
    it's a privileges issue.
    thx in advance for anyone who helps.

    Issue was solved by creating the following synonyms under the Required User :
    create synonym fnd_languages for apps.fnd_languages;
    create synonym fnd_user for apps.fnd_user;
    create synonym fnd_application for apps.fnd_application;
    create synonym fnd_lookup_types for apps.fnd_lookup_types;
    create synonym fnd_product_groups for apps.fnd_product_groups;
    create synonym fnd_web_sec for apps.fnd_web_sec;
    CREATE SYNONYM FND_USER_PREFERENCES FOR APPS.FND_USER_PREFERENCES;
    CREATE SYNONYM FND_USER_PREFERENCE FOR "APPLSYS"."FND_USER_PREFERENCES";
    Best regards,
    Ahmed Shokry

  • Tomcat returning JSP instead of WML

    Morning,
    I've been stuck for 2 days and have searched the forum twice looking for answers. Found great help in learning how to write a JSP page that throws back a WML code. The problem is that my browser simulator gets JSP code instead of WML code. A user clicks on a link in a wml page and the link refers to the jsp page. the jsp page uses a bean to connect to database and throws back wml code. I am not getting errors in Tomcat console or the gateway admin console. I am using Tomcat 4 and Nokia Mobile Internet Packet.
    Thanks.

    Have you set the content-type of the response.
    you might use response.setContentType("application/wml");
    Check your conf/web.xml file
    you should see something like
    <mime-mapping> <!-- Wireless Bitmap -->
    <extension>wbmp</extension>
    <mime-type>image/vnd.wap.wbmp</mime-type>
    </mime-mapping>
    <mime-mapping> <!-- WML Source -->
    <extension>wml</extension>
    <mime-type>text/vnd.wap.wml</mime-type>
    </mime-mapping>
    <mime-mapping> <!-- Compiled WML -->
    <extension>wmlc</extension>
    <mime-type>application/vnd.wap.wmlc</mime-type>
    </mime-mapping>
    <mime-mapping> <!-- WML Script Source -->
    <extension>wmls</extension>
    <mime-type>text/vnd.wap.wmls</mime-type>
    </mime-mapping>
    <mime-mapping> <!-- Compiled WML Script -->
    <extension>wmlscriptc</extension>
    <mime-type>application/vnd.wap.wmlscriptc</mime-type>
    </mime-mapping>
    You might not be having these lines in your web.xml.

Maybe you are looking for

  • Unable to use javac or jar commands

    Hi all, I've been using my IDE to compile and run my programs. However, when I want to use -javac or -jar commands in my command prompt, it doesnt work. The error is : 'javac' is not recognised as an internal or external command, operable program or

  • My library is gone, how do I get it back?

    First my sons library was missing so I checked mine and sure enough mine is gone too.  I have no idea how to retrieve it. Can someone help please?

  • Strange SAP XI mapping UserDefine function - 'syncTexts' and 'first'

    Hi, In the SAP standard OrderCreate_OrdersOrders05 XI map, there is a strange node logic at /ORDERS05/IDOC/E1EDP01/E1EDP19, the source is /OrderCreate/OrderCreateBody/OrderCreateDetails/OrderCreateProductLineItem/ProductIdentification. There are SAP

  • Creating a web template

    Hi All, My client asked me to create a web template for their web reports. They gave me their logo and asked me to include it on every web report as header. Also, they gave me the fonts and colors of the report headers and normal data and the footer

  • Adding toString() To an Enum Class

    I have a class like the following to create named constants (similar to enums in C++): public final class ColorConstant {   // final class!!      private ColorConstant() {}         // private constructor!!      public static final ColorConstant.RED =