Getting error in ADF Login security

Hi Team,
I am making security login mechanism.
I referred - Oracle ADF 11g Security - Custom ADF Login Form - Part 1 (High) and part 2 video from youtube.
I am not getting any error in my log but after entering username and password its giving me error-
Error 401--Unauthorized
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
*10.4.2 401 Unauthorized*
The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.
Can you please suggest me how to resolve this.
Jdev :- 11.1.1.6.0
Thanks in advance.
Ramit Mathur

Hi.
Check the grants/permissions in jazn-data
After you log in, the security framework checks the user's right to access the resource. For example, if you receive an unexpected 401 unauthorized user error, verify that you have created grants as suggested in Section 30.11.4, "Best Practices for Working with Oracle ADF Security."
http://docs.oracle.com/cd/E14571_01/web.1111/b31974/adding_security.htm#BABFIHAF

Similar Messages

  • Getting error that my "login ID or password is incorrect"

    I'm trying to log into google talk account via Jabber. Was working before until I think when I updated my software recently. Now I keep getting a message titled "gmail.com Login" which says "iChat can't log in to gmail.com because your login ID or password is incorrect."
    My login ID and Jabber ID is my [email protected] (which is what shows up when I log into gmail) and I'm using my gmail password.
    I've followed all the instructions:
    Server = talk.google.com
    Port = 5223, use SSL is checked
    "Automatically find server and port" and "Warn before sending password insecurely" are checked
    However, after I try to login and get the above error, when I go back to Preferences, my server settings change to:
    Server: gmail.com
    Port: 5222
    And SSL gets unchecked
    Firewall is off
    Have tried logging out of my google account online - didn't work
    Sorry if this has been posted about already, but I haven't been able to find a solution from the posts yet.
    I'm running Mac OS X (10.6.2) and ichat version 5.0.1 (743)

    Hi,
    Welcome to the    Discussions
    The server name you are entering is the correct one.
    I currently have my GoogleMail ID logged in on port 443 and have SSL ticked but AutoDiscover Server and Port Off.
    (I tired turning On Auto Discover and Logged in again and the port did not change)
    It sounds as if you added the Google ID as a Jabber one and that iChat 5 thinks it should be the end of your Screen Name as server. (I have not tried this is Leopard or Snow Leopard but it may prevent you adding any other jabber name to login to the Google Server).
    However this was an error in iChat 3 where there was no separate option for GoogleTalk and the software tried to add the Server Name as the Suffix of the Jabber ID (hence the Google Info on this being Tiger/iChat 3 based)
    You may need to Delete the Account and start again.
    10:57 PM Tuesday; February 9, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Can only open firefox as admin, otherwise get error to say a security component could not be initilaised. Have tried deleted cert8 file but it is not recreated and still will not open

    Had problems with os and now can not open firefox unless I run as admin. Error appears - Could not initialise the application's security component. The most probable cause is problems with files in your browser's profile directory. Please check that this directory has no read/write restrictions and your hard drive is not full or close to full. It is recommended that you exit the browser and fix the problem. If you continue to use this browser session, you might see incorrect browser behaviour when accessing security features.
    I have tried deleting the cert8 db file but it is not recreated when I start firefox again. HD has lots of room. Can you suggest anything else to try please?
    thanks, mandi

    If deleting or otherwise removing the cert8.db and secmod.db file doesn't help then try a new profile.
    *https://support.mozilla.org/kb/Could+not+initialize+the+browser+security+component
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • ADF 11g:Error When running login page: ADF security

    I am using Jdeveloper 11.1.1.2.0.Based on the following post
    http://blogs.oracle.com/fusionmiddlewarereallife/adf11gsecurity.html when I am running the application I am getting following error in web browser:-
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +10.4.4 403 Forbidden+
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Steps to reproduce the error:-
    1) Unzip the lession6.zip file (http://blogs.oracle.com/fusionmiddlewarereallife/Lesson6.zip)
    2) Open application in your Jdeveloper and run the login.html page.
    3) In the login page,give user id as "James" and password as "welcome1"
    4) You will see above error.
    I have tested the above in Firefox 3.6.3 and IE7.*Please note that when you run the PublicPage.jspx, application works fine*. Its not working in the case when you are running the application using login.html
    I have checked the Adnrejus post on this error(http://andrejusb.blogspot.com/2009/12/solving-error-403-forbidden-in-adf.html), but weblogic.xml is generated with required entries.
    Can anyone help me in this please:-
    Thanks,
    Vikram

    Me too have tested the application by running the public page. Its working fine.
    But my hole point here is, why application is not moving to the PrivatePage.jspx from login page. Means why can't we directly run the login page and access the PrivatePage. Even when success_url is configured in web.xml
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>/faces/PrivatePage.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    Thanks again,
    Vikram

  • Error during ADF Security logout in 12c

    Hello,
    I'm in the process of migrating my application from 11.1.2.4 to 12.1.2.0, and one thing I've noticed is the following error message in the weblogic logs when logging out of ADF Security:
    <Error> <oracle.adf.share.http.HttpSessionScopeAdapter> <BEA-000000> <HttpSessionScopeAdapter:  Request is in an invalid state.  Could not access the request session.>
    The logout still seems to work fine however. Currently I'm logging out with the following code (from here):
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    ectx.redirect(ectx.getRequestContextPath() + "/adfAuthentication?logout=true&end_url=/faces/home");
    FacesContext.getCurrentInstance().responseComplete();
    Every time I press logout, the above error happens 5 times in the logs.
    I've also tried using the logout code from the 12c documentation and that produces the same error, but interestingly only produces that error 4 times.
    Is there something extra or different that is supposed to be done to log out of ADF security in 12c? I can't imagine that getting an error repeatedly is what should be expected.
    Thanks!

    Hello,
    I gave that idea a try, and it was the same result as the very similar manual logout code given in the documentation I tried earlier: http://docs.oracle.com/middleware/1212/adf/ADFFD/adding_security.htm#ADFFD21669
    The logout happens successfully, but that error message shows up in the logs at least once. Whenever I do a logout without going through the authentication servlet, the error is always logged exactly 1 time fewer. In my application I migrated from 11gR2 to 12c, the error would happen 4 times (5 through the servlet), and in the fresh sample 12c app I made earlier this week, it happens 1 time (2 through the servlet).
    I should also add that all of this testing has just been done in the integrated weblogic 12c server that comes with JDeveloper 12c.

  • Getting AADSTS50020 error on microsoft login page when using Azure Active Directory Authentication

    We have implemented Azure Ad single sign on using auto generated code from Visual studio 2013 with organization account authentication and its working fine.
    The problem is when user is logged in in azure management portal with his live account and in other tab he try to open our app, then he directly gets below error on Microsoft login page.
    Additional technical information:
    Correlation ID: 78e13474-6f92-40ec-b463-91e36a6dae84
    Timestamp: 2015-04-14 12:27:20Z
    AADSTS50020:
    User account '[email protected]' from external
    identity provider 'live.com' is not supported for application
    'https://xxxxx.onmicrosoft.com/xxxx'. The account needs to
    be added as an external user in the tenant. Please sign out and sign in
    again with an Azure Active Directory user account.
    It works fine if I log out from management portal. Is there any way to resolve this issue without forcing user to log out from live account(management portal)?

    I assume you created a web application using VS2013 which uses the WS-Federation protocol.
    The behavior that you are seeing is expected Single-sign-on because you are logged in using the live account in the management portal.
    For WS-Federation, there is no current way for a caller to specify they want to force a fresh login, so the behavior is always the equivalent of LoginBehavior.Normal.
    The user will need to either sign-out or use an in-private session in the browse.
    If you switch to openID connect(sample at
    https://github.com/AzureADSamples/WebApp-OpenIDConnect-DotNet) and use the “prompt=login” query paramerter in the sign in request, this will force a fresh login.

  • I keep getting error -50 on itunes when i try to login through my apple id. I am able to access itunes store but it does not allows me to sign into my id

    When i try to login with my apple id i keep on getting error saying "We could not complete your itunes store request. An unknown error occured(-50)." I get this error everytime i try logging into my account. But still i can access to the iTunes store. I had recently downloaded this iTunes software into my new windows 8.1 laptop so i think it is up to date. I have earlier used this apple ID into another iTunes conneted to my older PC(I haven't logged out from it yet.Could that be the problem?).

    Ok.
    Seems this is a well known problem.
    https://discussions.apple.com/thread/3574459?start=0&tstart=0
    Killing the APSDaemon.exe works for me!

  • FindGroups - Error while getting group list for login user

    Hi All,
    I am using below code snippet to search a group in OIM but it gives me "Error while getting group list for login user" error message.
    tcResultSet rsetAss = null;
    tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
    HashMap mapGrp = new HashMap();
    mapGrp.put("Groups.Group Name","DEF_GROUP");
    rsetAss = groupIntf.findGroups(mapGrp);     
    And i am ruuning this code using xelsysadm logon.
    com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);     
    Any guess?
    Thanks & Regards
    Inbaa.

    Here it is Rajiv,
    public class GetUserApprover {
    private String defGroup = "DEF_GROUP";
    public tcUtilityFactory getUtilFactory()
    tcUtilityFactory utilFactory = null;
    try
         logger.debug("Initializing the utilFactory");
         com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);
    catch(Exception ex)
         logger.info("Error while getting the utilFactory" + ex.getMessage());
         System.out.println(ex.getMessage());
    return utilFactory;
    public String getGroupKey(String defGroup){
              String groupKey = null;
              tcUtilityFactory utilFactory = getUtilFactory();
              if(utilFactory != null)
         System.out.println("utilFactory not null. Searching for group:" +defGroup );
                   try
              tcResultSet rsetAss = null;
              tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
              HashMap mapGrp = new HashMap();
              mapGrp.put("Groups.Group Name","DEF_OWNER_GROUP");
              System.out.println("Finding Group....");
              rsetAss = groupIntf.findGroups(mapGrp);          
              System.out.println("RowCount-->" +rsetAss.getRowCount() );
              rsetAss.goToRow(0);
              groupKey = rsetAss.getStringValue("Groups.Key");
         System.out.println("GroupKey-->" + groupKey);
         catch(Exception e){
              System.out.println("Error" + e.getMessage());
              return (java.lang.Object)groupKey;
    }

  • Get error while Integrating with Oracle's Enterprise User Security

    Hi,
    I am trying to create an Oracle Enterprise User integrating with OVD and MS Active Directory.
    I am following all the steps in Integrating with Oracle's Enterprise User Security.
    In the documentation section: "Configuring Oracle Virtual Directory for the Integration"
    I have applied the steps successfully until:
    Update and load the entries into the Local Store Adapters by performing the following steps:
    I have successfully extended the Oracle Virtual Directory schema with the loadOVD.ldif
    However I am getting errors in the next step: Update realmRoot.ldif to use your namespaces
    The next step states the following:
    Update realmRoot.ldif to use your namespaces, including the dn, dc, o, orclsubscriberfullname,
    and memberurl attributes in the file. If you have a DN mapping between Active Directory and
    Oracle Virtual Directory, use the DN that you see from Oracle Virtual Directory.
    The realmRoot.ldif file is located in ORACLE_VIRTUAL_DIRECTORY_HOME/eus,
    where ORACLE_VIRTUAL_DIRECTORY_HOME represents the location where Oracle Virtual Directory is installed.
    The realmRoot.ldif file contains core entries in the directory namespace that Enterprise User Security queries. The realmRoot.ldif file also contains the dynamic group that contains the registered Enterprise User Security databases to allow secured access to sensitive Enterprise User Security related attributes, like the user's Enterprise User Security hashed password attribute.
    Load your domain root information in the realmRoot.ldif file into Oracle Virtual Directory using the following command:
    ldapmodify -h Oracle_Virtual_Directory_Host –p OVD_Port -D cn=admin -w Admin_Password -v -a –f realmRoot.ldif
    When I run the ldapmodify command I get the following error:
    add dc:
    testldap
    add objectclass:
    top
    domain
    domainDNS
    adding new entry DC=testldap,DC=local
    ldap_add: Operations error
    ldap_add: additional info: LDAP Error 1 : null
    The actual realmRoot.ldif looks like this:
    # Please uncomment the following one line if you are importing this
    # LDIF file via OVD Manager or OVD Server's ldapmodify tool.
    #version: 1
    #dn: dc=com
    #dc: com
    #objectclass: domain
    dn: DC=testldap,DC=local
    changetype: add
    dc: testldap
    #o: subarashii
    objectclass: top
    objectclass: domain
    objectclass: domainDNS
    #objectclass: orclSubscriber
    #orclsubscriberfullname: subarashii
    #orclVersion: 90400
    # If your domain structure has more layers than dc=subarashii,dc=com,
    # for example, it's dc=us,dc=subarashii,dc=com, you will need to load
    # the following ldif entry/entries too.
    # Uncomment out the following, if required.
    #dn: dc=us,dc=subarashii,dc=com
    #orclversion: 90400
    #orclsubscriberfullname: us
    #objectclass: domain
    #objectclass: top
    #objectclass: orclSubscriber
    #dc: us
    # Adding EUSDBGroup entry
    # Modify the memberurl attribute and replace it with your own domain name
    #dn: cn=EUSDBGROUP,dc=subarashii,dc=com
    #cn: EUSDBGROUP
    #memberurl:ldap:///dc=subarashii,dc=com??sub?(&(objectclass=orclService)(objectclass=orclDBServer))
    #objectclass:groupofuniquenames
    #objectclass:groupofurls
    #objectclass:top

    Did you ever get your questions answered about the realmRoot.ldif file? Did you manage to configure a successful integration of OVD with EUS? I am battling with trying to get Oracle Virtual Directory integrated with Enterprise User Security, but every step I take in Chapter 7 of the OVD manual fails in some way, and the instructions are often vague. I am not sure how to modify the realmRoot.ldif file. Is there any improved documentation on this? I have logged a Service Request, but not getting any help. Any resources or documentation you know of that provides better guidance would be much appreciated. I am way behind my schedule now and this is a very frustrating exercise.
    Thanks.

  • TS3297 itunes 10.6.1 now asking for 3 security questions. After input I get "error in the itunes store -1202". I cannot purchase from the store.

    Running Vista Ultimate. Itunes 10.6.1 is now asking to answer 3 security questions before accessing the store. After entry I get "error in the itunes store -1202" I cannot purchase music at this point. Any help is appreciated.

    This problem is resolved. I deleted the old iTunes (with write permissions turned on for my account) and reinstalled successfully. Removing the deleted iTunes from Trash was troublesome even with root but after playing around with permissions and flags, I was able to remove it.

  • Getting error when trying to login to CR XI server on suse linux server

    http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_21747694.html
    Hello,
    I'm getting the above error when I try to login as administrator (blank password).
    This did work until I rebooted the linux server.
    I checked there are no port conflicts (nothing is using port 6400).
    I restarted the services manually, I even rebooted server and then restarted ccm services manually but no luck. I did find this is a known problem with linux crystal reports server but nothing stated about how to resolve it.
    Finding solutions in the SAP portal is difficult! This is about as user friendly as the Cisco support website. Cisco portal is AWEFUL.
    I'm in process of getting a support contract from SAP but it's taking a long time.
    I have to state the support from SAP is a big step DOWN from the business objects support. We were able to call and speak to engineers in a few minutes.
    With SAP support I was able to talk to some foreigner (asian or indian) to tell me that there is no phone support with SAP. This after being redirected at least 4 times between departments.
    Wow! So what do the other business objects customers have to say about the SAP support?
    I can't help but wonder about moving on to another solution for publishing reports.
    A vendor who actually gives a damn about the customers.
    Oskar

    this worked until I rebooted the server.
    I'm getting error showing it's trying to connect to a mysql database 'BOE115'.
    This server does have a mysql db running on it, but that db has no instance of BOE115.
    It also shows it's trying to connect as a user that isn't on the database.
    Where can I see the script with user/password that is trying to run and connect to the mysql db?
    Also, why didn't the install create the instance and user?
    Why did this work until I rebooted?
    There is no firewall on this server, that has been disabled.
    Thank you,
    Oskar

  • When i login to icloud form windows 7 Home premium PC, I get error - Cannot sign in due to server error

    When i login to icloud form windows 7 Home premium PC, I get error - Cannot sign in due to server error

    You may have to follow the slightly more detailed steps in whichever of these two applies to you.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Rebooting into safe mode may be needed to delete any folder the instructions say you should remove. You may also find this Microsoft Fixit helps to remove stubborn components. It has taken some people several attempts to completely clean iTunes and supporting software before they have been able to successfully reinstall it.
    tt2
    Message was edited by: turingtest2

  • Getting error code 1611 when trying to restore my Ipod. I have tried a forced restore and disabling my computer security and still nothing...ready to throw it out the window at this stage...help!!

    Getting error code 1611 when trying to restore my Ipod. I have tried a forced restore and disabling my computer security and still nothing...ready to throw it out the window at this stage...help!!

    Error 1611
    This error typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, this error may be a hardware issue. If the errors persist on another computer, the device may need service.
    If you also unsuccessful on another computer then time for an appointment at the Genius Bar of an Apple store. It would see that your iPod needs service as specified in the article.

  • Getting error in Desktop Intelligence Login

    Hi,
    I am sandeep, I have one question related desktop intelligence BO XIR2.
    Actual i am getting error while I am login. Getting Repository error and in details showing as devinsap not found in the network.
    So, any guide me what is the exact issue. Because as I have checked all the setting like, host entry, tnsnames entry, uninstall and reinstallation of BO software and even also reinstalled Oracle 9i software.
    So, please help me for the same..
    I am waiting for your reply............
    Thanks
    Sandeep

    Hi,
    As per your reply  I'll provide you all the details plz check and revert with solution.or ask to your collegue or any expert for the same because i want it on urgent basis.
    1. What exact version of the product we're dealing with ?
    ==> BO XI/R2 with Oracle 9i client version
    2. What OS on client machine and on the server ?
    ==>Windows XP sp2
    3. Which exact ports are open on the firewall ? (6400 is one port and 15xx port is not related)
    ==> 6400/8080/8085 for server port and 1521 for database port opend.
    4. Which Ports and request ports are assigned to which servers in the BOE ?
    ==>8085 for devinsap and 8080/6400 for p272xdssbo server
    5. What results ping command returns ?
    ==> Reply getting with 63 msec
    6. What results tracert produces ?
    ==> 30 hope reached
    7. What's exactly in your hosts file ?
    ==> in host entry all the server IP with server name
    It is sufficient for find out the solution.
    And if you want any details ask me i ll give you but find the solution.
    I am hopeless for the same because i did all the setting in windows as well as in registry and in net configure manager but not getting solution.
    Thanks,
    Sandeep

  • Help I cant update the 2014 security. I keep getting error code 102

    My computor has updates that I cant get to update. itunes 11.2.2 and security update 2014-002 1.0. I have tryed many times but I keep getting error code 102. does anyone know what is happening?

    kbprovo,
    Try updating using the stand alone installer.
    Go to Safari/Preferences, General tab, for Save downloaded files to: select other then select desktop from the left side bar. This will download the stand alone installer to your desktop. Then double click on it and follow the prompts.
    You have not disclosed your version of OSX so I will include multiple versions.
    Mavericks security:
    http://support.apple.com/kb/DL1740
    Mountain Lion
    http://support.apple.com/kb/DL1738
    Lion
    http://support.apple.com/kb/DL1738
    Try using an ethernet connection if possible, less chance of corruption.
    You can also try this in safe mode
    power off, power on holding the shift key till you see the progress bar then release and allow to finish booting, then try.
    Itunes
    http://support.apple.com/kb/DL1614

Maybe you are looking for

  • Juridiction error

    hi all, iam getting the following error while doing MIRO. Jurisdiction code 1403105101 is not defined for calculation procedure TAXUSX Message no. FF749 pls help

  • Planner Group

    Hi, I have defined planner groups for the maintenance orders. I was able to see the planner groups while creating PM orders at header data. The question is that while I am creating general maintenance task list I was unable to see the same planner gr

  • Finder Keeps Crashing - Mountain Lion 10.8.5

    Finder consistently keeps crashing Within 10 seconds of opening the application finder uses all the ram & CPU usage Please tell me what logs or reports to post so you guys can help me solve this I appreciate all of your responses Many Thanks

  • Should i inform apple the serial num or imei of a lost iphone?

    should i inform apple the serial number or imei of a lost iphone 4s?

  • Where are the repositories files?

    I need the list of the latest packages available to download from the repositories, i wonder if there is a database with this?