How to crate new user in adf security using jspx page

how to crate new user in adf security using code in java file.plz help me this work will submited to day plz help me...

sigh
Search really would help and point you in the right direction. You'd find [url http://forums.oracle.com/forums/thread.jspa?messageID=4584464]this, for example.

Similar Messages

  • Use Adf Security In jspx page

    Hi guys,
    Currently I am using default adf security.is there any way to use same security on my login jspx page.
    Thanks,
    Raul

    hi user,
    i hope that you are looking for
    http://www.fireboxtraining.com/blog/2012/02/09/oracle-adf-11g-authentication-using-custom-adf-login-form/
    http://docs.oracle.com/cd/E26098_01/web.1112/e16182/adding_security.htm
    please see the if you want custom login.
    Figure 35-3 Using the Configure ADF Security Wizard to Generate a Simple Login Page
    there is lot of youtube videos. just google it out.
    this is to timo:
    What do you mean by  '...I am using default adf security...'
    if i am understood correctly. while creating new fusion web apps while configuring adf-security HTTP Basic Authentication is comes as default option. he mentioning in that way.
    do You want to secure the login page itself? This doesn't make sense as you need to login to get to the login page.
    i hope he is not asking like as you mentioned.
    from my experience i will interpret like this
    "Currently I am using default adf security".
    he is currently using default adf security(HTTP Basic Authentication).
    is there any way to use same security on my login jspx page.
    he need use the same adf-security concept on custom login page.
    Thanks

  • How to register new users through lotus domino administrator

    how to register new users through lotus domino administrator

    Hello Rahul,
    could you be more precise: Where do you want to register users?
    There are two options:
    (1) you want to simultaneously create users in Domino and in the SAP EP portal database: then you should prepare the users in text files.
       (1a) one for the EP users:
    http://help.sap.com/saphelp_nw04/helpdata/en/52/96f03eae11e16be10000000a114084/frameset.htm
       (1b) one for the Domino users:
    http://www-10.lotus.com/ldd/today.nsf/0/e586b1de8c52125a852568d2004c1b50?OpenDocument#Migration%20and%20text%20file%20import
    then you can use those files in the Domino/EP user administration for batch user creation.
    (2) you want to use users stored in the Domino directory in SAP Enterprise Portal via LDAP: please read the thread in the SAP-IBM interoperability forum: Interoperability IBM  where this question is alredy answered.
    Regards
    Michael

  • ADF Security using sqlauthenticator issue unable to login

    Hi,
    AM using jdev 11.1.2.3
    I followed these blogs to configure adf security using sql authenticator
    http://biemond.blogspot.in/2008/12/using-database-tables-as-authentication.html
    http://hazem-adf-tips.blogspot.in/2012/06/adf-security-database-authentication.html
    am unable to login.. I can able to see the users and roles in WL admin console. When i am giving the user credentials it is redirecting to error page saying unauthorized .
    plz can anybody help me out from this issue.
    Thanks,
    Nitesh

    HI Timo,
    I have created application roles admin and user. Unable to create enterprise role with same name. When i am trying to map application role with enterprise role it is not displaying in mapping window..
    The following log message
    Removing existing role admin
    creating new role admin.
    with this it is recreating the new role and role id gets change when ever i m restarting my server and deploying the application..
    Thanks,
    Nitesh

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • Session expired (timeout) without ADF Security using.

    Hello!
    I have a problem with my application in which i use own security realization without ADF Security using. I realized custom implementation of javax.servlet.http.HttpSessionListener interface, in which i log session creation and expiration events. On WebLogic I realized customDBMS authentification class. Session timeout defined in web.xml (<session-timeout>5</session-timeout>), in weblogic.xml session timeout not define.
    Problem description: when session expired (popup warning displayed before this) and press OK button in popup with session expired warning, I see what no any log about session destroying from my HttpSessionListener implementation, so I cant understand, what session expired and process this event in my servlet filter. So I stay at same page (but without data in tables, coz binding variables in VO queries is not defined). If I am not click OK in the popup and wait about minute, then appear a log message about the destroying the session from my HttpSessionListener implementation. Why is the delay between the appearance of warning session expired and the actual destroying of the session in WebLogic?
    I use JDeveloper 11.1.1.6.0, application deployed in integrated WebLogic 10.3.5.0

    Hi,
    Why is the delay between the appearance of warning session expired and the actual destroying of the session in WebLogic?Because warning is given about 2-3 min before session expire
    That is why
    If I am not click OK in the popup and wait about minute, then appear a log message about the destroying the session from my HttpSessionListener implementation.

  • How to build ear files for ADF application using Ant task

    How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
    Any help is highly appreciated.
    Thanks
    Shiva

    Hi Timo
    Thanks for your reply.
    I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
    error :
    weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
    Please advise how to handle this.
    As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
    Appreciate your help.
    Thanks
    Shiva

  • How to handle multiple SSO in ADF Security Framework

    Hello All,
    I have a question about ADF security with multiple SSO provider.
    What I am trying to achieve:
    Assume there are SSO provider A, B and C. Each provider will grant a different role to the ADF application (A grant Admin, B grant Business Manager, C grant Configuration Manager). Sign out from the ADF application will log all the SSO out at the same time.
    What I know:
    Each SSO will need to have information about the role it provides. I will also need to write code like the following: (modified from an old answer from Frank Nimphius before)
        try {
            IdentityStore idstore = JpsCommonUtil.getValidIdStore("idstore.xml.provider").getIdmStore(); //Need to get the specific IDM store based on the SSO the user is using.
            try {
                UserManager userManager = idstore.getUserManager();
                RoleManager roleManager = idstore.getRoleManager();
                Role role = idstore.searchRole(Role.SCOPE_APPLICATION,idmRole); //Again, idmRole based on which SSO the user is using.
                    // create user
                    //TODO check for empty username and password
                    User user = userManager.getUser(SecurityContext.getUserName()); //the user may already login from another SSO.
                    if (user == null)
                        user = userManager.createUser(this.username,this.password.toCharArray());
                    roleManager.grantRole(role,user.getPrincipal());
                } catch (IMException e) {
                    // TODO
            } catch (JpsException e) {
                // TODO
            return null;
    }Also a logout code like this
          doLogout()
             if(A) logoutFromA(user);
             if(B) logoutFromB(user);
             if(C) logoutFromC(user);
          } My Question:
    Would the code above handle what I described? Also, how do I set the SecurityContext for ADF security - Or the grantRole automatically does that for me?

    Hello Sudipto,
    Yeah, I had watched that tutorial, it is pretty helpful on getting 1 SSO working with the ADF security.
    I am confused when there is multiple provider - do I setup the web gate so that "http://myapp:7777/LoginViaA" point to SSO Provider A, "http://myapp:7777/LoginViaB" point to SSO Provider B and so forth? **Note: the login/username can be different on different SSO provider.
    In that case, I will still need to set the value in SecurityContext to say "This current user login as [email protected] via SSO A and [email protected] via SSO B", or is there some other way to handle this?
    Thanks,
    Louis

  • JDev11g : How to add java servlet under ADF security policies

    I'm trying to set a same login on http servlet ( i create it trough wizard in jDev ) as it is for other .jspx pages.
    I configured the jazn-data.xml and login ( user roles, realms ) is working fine.
    But i can't configure http servlet to be under this authorization.
    This problem occured when I was migrating from jDev 11g TP4 to production also from OC4J to WebLogic,
    but if I create a new http servlet I am also unable to put it under JAZN authorization.
    Thank you in advance for your help, Rok Kogovšek

    I reproduced problem on new test application, it was working fine until I set up ADF Security by wizard.
    I choose ADF Authentication and Authorization then Http Basic Authentication ( on real project is form based but probablly this doesn't matters )
    then for Identy store I chose Application XML, no automatic grants and without redirect.
    I also set inside web.xml this ( to put servlet under same login as other pages ).
    *&lt;security-constraint&gt;*
    *&lt;web-resource-collection&gt;*
    *&lt;web-resource-name&gt;testServlet&lt;/web-resource-name&gt;*
    *&lt;url-pattern&gt;/test&lt;/url-pattern&gt;*
    *&lt;/web-resource-collection&gt;*
    *&lt;auth-constraint&gt;*
    *&lt;role-name&gt;valid-users&lt;/role-name&gt;*
    *&lt;/auth-constraint&gt;*
    *&lt;/security-constraint&gt;*
    When I finish this i got same error as on first project.
    Here is whole error:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (oracle.fod.mobile.testModuleLocal) failed to checkout an application module due to the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2262)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3086)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1395)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1363)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1335)
    at oracle.fod.mobile.testServlet.doGet(testServlet.java:22)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:120)
    at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:89)
    at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:71)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:62)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:29)
    at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6387)
    at oracle.jbo.server.ApplicationModuleImpl.prepareSession(ApplicationModuleImpl.java:6356)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:171)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8377)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4364)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2421)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2207)
    ... 25 more
    Caused by: javax.security.auth.login.LoginException: Invalid null input: name
    at javax.security.auth.login.LoginContext.init(LoginContext.java:229)
    at javax.security.auth.login.LoginContext.(LoginContext.java:367)
    at javax.security.auth.login.LoginContext.(LoginContext.java:444)
    at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:102)
    ... 36 more
    *And here is the sample application on which i reproduced this error [http://www.k-invent.si/doc/testServlet.zip|https://marvin/exchweb/bin/redir.asp?URL=http://www.k-invent.si/doc/testServlet.zip]*
    Thank you for your help, Rok Kogov&scaron;ek

  • How to Create New users in 9.3.1

    Hi All,
    Could you please tell me how to create the new users and their groups for sepecific cube in 9.3.1 version and how to grant the permission roles.
    Will Shared Services does the above actions. if yes could you please let me know the steps to create the new users.
    Thanks in Advance,
    Raj.

    Hi,
    Here is how to create users in Shared Services :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_cas_help/crtuser.htm
    The rest of the information for Shared Services is in :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_cas_help/frameset.htm?apc.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to add new users to BPM 11g

    In BPM 10g, I can add new users and roles in administrator console. How to login to BPM 11g administrator console and add new users?

    While creating Human Task did you selected "Initiator" in the Pattern?
    Login as administartor(weblogic) go to Administration the you will find all the processes and corresponding roles. There you can add/modify the users to the processes.
    Let me know if you have any questions.
    Thanks
    MC

  • How to create new user account and delete old one?

    Greetings,
    we have wanted to change our alias on the discussions group but understand from the frequently asked questions section that,
    "Once you create an alias, you cannot make changes to it. If you want to change your alias, you will need to create a new User Account".
    However it does not go on to tell us specifically how to now set up a "new User Account". Could someone specify how to do this? And if we do this, how would we then delete the current User Account? Thank you.
    Chris

    Colleen Von Eckartsberg wrote:
    Thanks for the reply.
    However I am still confused. I originally thought the "user account" referred to an account specific to the Discussions Forums, not the general "Apple ID" however your email seems to suggest they are one and the same....Please clarify.
    If so, however I do not think I am able to change my Apple ID. As I am a mobile me user I am required to us my mobile me address for my apple ID.....and do not think I can have two ID's with the same mobile me address.....
    Any additional thoughts are appreciated. Thanks.
    Chris
    Not with the same Primary address, but you can use your MM address as a secondary one. That is how I have my 2 Apple IDs setup. 1 uses my Dot Mac address and the other uses an ISP address as the Primary with the latter having my Dot Mac address as an alternate address.
    Warning, even if you create a new account, you won't be able to use your current ALIAS with the new account.

  • Question: How to create new user and schema in 11g?

    Who can give me answer how to create a new user and schedule?
    I had installed oracle 11g DB and oracle client in my windows OS. I found in the 11g there is no enterprise manager console with new version. It is different from with oracle 10g.So i don't know how to create it new user.
    I had created new DB instance, but i don't how to create a user on that. Who can give me a hand for that? I hope one oracle experenice expert give my answers.
    Thanks a lot!
    Edited by: user774630 on Oct 27, 2008 10:01 PM
    Edited by: user774630 on Oct 27, 2008 10:09 PM

    Hi,
    I am not sure that which option you are talking about? Are you using the EMCA,http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm#SUTIL800] to create the new repository for the EM? If not the command line than the other only way is to use DBCA(Database Configuration Assistant).I believe you are talking about that. Yes ,if the message is coming creating the repository than after wards you can login to the EM. You would get the port no of the EM's HTTP port from the $OH/install/portlist.ini file.
    HTH
    Aman....
    Edited by: Aman.... on Oct 28, 2008 11:36 AM
    Gave up, link insertion doesn't work.

  • How to create new user and How can i assign end user roles

    Hi,
    I am new to SAP, please explain how to create end users and their roles
    Thanks
    ravi

    Hi,
    Roles are decided by IT managers. Suppose if Persons who are working in shopfloor or production side
    give authorization to Production order create , change and Confirm like that etc
    1. In role maintenance (transaction PFCG), choose the Authorizations tab page.
    2. To change the authorization data for the transactions assigned to the role, choose Change Authorization Data or Expert Mode for Profile Generation. Otherwise, a dialog box appears in expert mode (see Regenerating an Authorization Profile After Changes).
    Please take telp from Basis person also refer this link,
    http://help.sap.com/saphelp_46c/helpdata/EN/52/6714a9439b11d1896f0000e8322d00/frameset.htm
    Thanks

  • How to add new user status in Solman

    Hello,
    I wanted to add a new user status in Solman.i have added one new user status " reopen" . but when i checed it is showing as "no status".
    I have also checked the table TJ30T, in this table we have 2 entry for all other user status one is in english and one is in german.
    Please let me know how to add entry in this table or is there any other ways to add new user status in solman.
    Regards,
    Bhavesh

    Hi Abhyankar,
    Explain the scenario where you want to create a new user status?
    General remark:
    Creation of new user status can be for 2 cases: Whether you want the status to show up in the status field or you want to only use the status to search corrections and the status is displayed in "Further Statuses" tab.
    If you want to use the new user status for searching the corrections and this user status will be manually set, then you need to create the status in CRMBS02 transaction without specifying any status numbers.
    Then the new status will be available in "Further statuses" tab and you need to manually set or unset the status.
    If you need your user status to reflect in the status field then you've perform the following actions in SPRO:
    1. Create Authorization key for the new status
    2. Create the new status with status number and order of visibility; assign the authorization key to the status
    3. Create the action which will set the status
    4. Add the action in the action profile
    5. Write the schedule condition required
    These steps are on a high level. Hope this helps you to decide.
    Regards,
    Sameer

Maybe you are looking for

  • HP Recovery Manager failed. Error code = FFFFFF9

    Hello I used the HP recovery manager to create a backup of my exisiting laptop onto an external hard drive because I selected the 'minimized image recovery option'. The laptop finished and now I am trying to restore the files. But when it gets to 96%

  • AirPort Express - won't install w/ OS X 10.5.2!!!!!

    I just purchased the AirPort and tried to install the software, CD version 5.1.1. The instructions with the software state that the software is compatible with "OS X v10.4 or later." I'm running OS X 10.5.2 which, if my understanding of the English l

  • Total hard drive crash----h​ow to restore on a new hard drive?

    Hello my name is Denes I am 72 years old and love my computer My hard drive had crashed and I am not familiar as to how to restore the Lento tablet section to my new hard drive. Windows 7 is functioning OK but I do not have full Lenovo x61 tablet fun

  • In F-92 can we calculate vat

    Can we charge vat for asset sale from F-92 actually my client requirement is to sale an asset in which they want to charge vat. As per my knowledge we can't charge vat in asset accounting for asset sale. Is there any other way available for this. Reg

  • Trouble creating an animated gif in Photoshop

    Hello. I am having trouble creating a gif in Photoshop (using still images). I get as far as the step where you click the dropdown menu on the top right of the timeline screen (following multiple online tutorials) and don't see the option to "create