Getting loged users from one application to another

Hello,
I'm writting two applications with spring hibernate and jsf.
The first application must get and show alls users loggued on the second application.
How can I do this?
thanks

I'm writting two applications with spring hibernate
and jsf.
The first application must get and show alls users
loggued on the second application.
How can I do this?None of the technologies you mentioned restrict your options in terms of logging in. You could store the logged in users in a shared external resource (database, file system, etc.) and then both applications would have access. This really isn't a JSF question and probably is not appropriate for this board.

Similar Messages

  • Bulk move users from one group to another in XI 3.1

    Hi all,
    I have a group that contains approximately 20,000 users. I now need to move around 7,500 of these users into a different group.
    How can I do this programatically in bulk as I don't want to go through and manually change the groups of 7,500 users?
    Thanks,
    Chris

    Hi Christian,
    Assuming you would need to move users from one group to another and remove them from the previous group, you could use the attached java code.
    To run the code, you would need to save it as .jsp file and paste it inside AdminTools application context.
    The pre-requisite to run this code is to create a Text file with all the 7500 user names in it. The text file should contain one user per line
    (example:
    User1
    User2
    User3
    You can get this information from query builder by running the below query
    Select top 20000 si_name from ci_systemobjects where si_kind='user'
    Initially do it for 2-3 users to text the results.
    You would need to edit the jsp and modify these three lines
    1.
                    * Assign user to a group
                   //Query for the group ID
                   boQuery = "Select SI_ID From CI_SYSTEMOBJECTS Where SI_KIND='UserGroup' And SI_Name='UserGroup name'";
    Above in SI_NAME, you would need to provide the usergroup name you want your users to be added to.
    2.
    if (boUserInfoObject.getGroups().remove(Group Id from which it has to be removed)) {
                            out.print("User removed from group successfully. ");
    Above you would need to provide the id of the group you want the users to be removed from(i.e the current group from where you want them to be moved).
    3.
    * Path to file containing User names.
    final String USER_FILE_PATH = "<Path of txt file from which list of users will be imported>";
    Above you need to specify the path of the text file which contains all the user names.
    Incase you require further assistance on SDKs, raise your concerns in the below space
    http://scn.sap.com/community/bi-platform/java-sdk
    Thanks,
    Prithvi

  • Error while copying a page from one application to another application

    Hi All
    I am using Oracle Apex 4.0
    I getting the error ORA-06502 Pl/Sql Numeric error character string buffer too small when i copying a page from one application to another application.
    Thanks & Regards
    Srikkanth.M

    I'm having the same issue. How did you solve this?

  • Export and Import a page from one application to another within same WKSPCE

    Hello,
    Can anyone help me out in moving a page from one application to another within the space workspace. I tried to export it and then import the page, but I am not able to do that. I think the problem is with the application IDs.
    Plz help me out with this issue.
    Thanks,
    Orton

    Hi Orton,
    moving a page from one application to another within the space workspace
    This U can get it, through copying the page from one application to another application within the same workspace
    In the top of the page, you have "copy" option.
    regards,
    Kavitha

  • Moving users from One Group to another

    Hi Guys,
    I am looking for a script which will allow me to move users from One ADGroup to another ADGroup. I have checked ther scripts which are currently present. However, none of them if fixing my issue.
    Details:
    I have Different locations and users moves from one location to another location and same thing happens as they gets moved from one Tower to another Tower (Like From TOWER A to Tower B). Also users gets promoted and most of the time they are in bulk.We also
    have 2 domains one is parent and another is child domain.
    So, I hope above information is making sense and also I Completely new to PS so after going to lot of scripts i asking for help on this. I hope I can gets this sorted out as soon as possible as my work is piling up.

    You are asking a lot of questions about AD.  Do you know how to do this in AD with D tools?
    There is no magic way to guess at what you need. I recommend that you start by learning AD and PowerShell.  There are good resources here:
    http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
    ¯\_(ツ)_/¯

  • Trying to move a users from one database to another gives error

    When I try moving a user from one database to another I get an error, but one some PC's installed with EMC, gives no problems. So what could the the issue here, I tried googling, but came out without any solution. Exchange 2010 sp3, EMC on Windows 7 pc.
    The error message is:
    The move request for user is invalid. The user's Active Directory identity doesn't match the mailbox identity in the
    move request. It was running command "Get-MoveRequestStatistics -identity.....

    Is this 1 specific mailbox or any mailbox? Things to consider:
    Make sure that your Exchange management tools are running the same build as your Exchange server (2010 SP3 RUx). 
    Try using the Exchange Management Shell and typing Set-ADServerSettings -ViewEntireForest $True
    You might need to use the RUN AS ADMINISTRATOR when open Exchange tools
    Try running Clean-MailboxDatabase against each DB -
    http://technet.microsoft.com/en-us/library/bb124076(v=exchg.141).aspx
    Review and then Remove old move requests
    Try mailbox repair request -
    http://technet.microsoft.com/en-us/library/ff625221(v=exchg.141).aspx

  • How we can get the values  from one screen to another screen?

    hi guru's.
         how we can get the values  from one screen to another screen?
              we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
    regards.
      satheesh.

    Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).

  • How can I move particular users from one client to another client

    Hi, I am trying to find a way to move few or many user from one client to another. Is there a transaction available or program to move them. e.g. there is a SCC1 available to move transport only from one client to another without going through TMS.
    Is there any trick available ?
    thnx in advance

    closing this one. thnx

  • How can I pass a value from one application to another through URL

    I am passing a value APP_USER from one application to another application (item is P_ASK_U) through navigation bar entrees URL.
    This is working with in the application..(javascript:popupURL('f?p=&APP_ID.:165:&SESSION.::&DEBUG.::P_ASK_U:#&APP_USER.#') )
    This one is not passing the value, eventhough it open the application..
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1:::P_ASK_U:&APP_USER.');
    Is there any syntax error or is it not possible, please let me know..
    Thanks
    Venu

    Hi Scott,
    You are right, the first one do not need # character.
    In the Doc it is mentioned as....
    Pass the value on a URL reference using f?p syntax. For example:
    f?p=100:101:10636547268728380919::NO::MY_ITEM:ABC
    I am using the following URL, it pops up the external application, but it is not passing the APP_USER value to the page item of that application.
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1::P_ASK_U:&APP_USER.');
    sorry I still do not know what I am missing..
    Thanks
    Venu

  • Copying single page ,region from one application to another application

    Hi,
    I need information regarding How to copy single page or region from one application to another application in the same workspace

    Hi - have a look at this thread: -
    Synonyms
    Cheers,
    Mike

  • Bring a page from one Application to another

    Hi,
    how can I bring a page from one Application to another ?
    Many thanks.

    Is this 'other application' in the same workspace or in another workspace?
    Elsie

  • Move user from one OU to another

    How do I move a user from one OU to another in Active Directory

    Moving a user is just a rename operation.
    In LDAP terminology it is a modification of the relative distinguished name; mod_rdn.
    Assuming you have all the other JNDI stuff working, the following snippet is all you need:String oldUserName = "CN=Albert Einstein,OU=Research,DC=antipodes,DC=com";
    String newUserName = "CN=Albert Einstein,OU=Sales,DC=antipodes,DC=com";
    ctx.rename(oldUserName,newUserName);Good luck

  • Move data from one Application to another Application.

    Hi All,
    I have a requirement to move data from one Application to another Application(we are working on SAP BPC 5.1/7.1 MS version).
    Can anybody please mention all the possible ways to achieve it.
    Thanks in advance.
    Regards
    Vani

    Hi,
    The best way to do this would be to use destination_app statement. Please refer to the below link from help.sap:
    http://help.sap.com/saphelp_bpc75/helpdata/en/79/b299446e02478fa5eca684d1297ef3/content.htm
    Alternatively, you can definitely export the data from one application and import it to the second.
    Hope this helps.

  • Moving Users from one server to another

    Is it possible to move my network users from one Xserve to another? I know this used to be possible to do with NetInfo, but I haven't heard of anything like this using Ldap.

    I used Open Directory Archive/Restore in Server Admin to carry over my ldap users through a reinstall. Their UIDs, groups, passwords, etc. all came across. The home directories were on a different volume and everything basically worked after the reinstall.

  • Switch from one application  to another without entered a login detail

    Hi,
    I have two application in same workspace and they have same authentication or login detail. if i switch from one application to another then it do not ask for login .
    for examle if i switch to sample application there login detail is diffrent it ask for username as demo and passoword as workspace then it should for login detail.
    can i create a menu of those application those have same login credential?
    how can i do this?
    Thanks and Regards
    Vedant

    Dear Friend,
    Thanks to reply me.
    i am using Customise authentication scheme .
    What should i pass in Cookie Attributes
    1.Cookie Name --------?
    2.Cookie Path --------?
    3.Cookie Domain-------?
    suppose one application path is
    http://apex.oracle.com/pls/apex/f?p=157:68
    suppose Second application path is
    http://apex.oracle.com/pls/apex/f?p=115:1
    and both application are in same Workspace
    i want to switch One application to Second Application .
    How to pass this application information in Cookie ?
    How can i do this ?
    Thanks
    Edited by: Vedant on Sep 25, 2011 11:48 PM

Maybe you are looking for

  • Hours not populated in the Table C1 (Cost Distribution) in Time Evaluation

    Hi All, I am entering Time info along with the Reciever Cost Center, Internal Order and other info in the CATS Time sheet and transferring the saved details to HR Time Mgmt & CO. Later when I run Time Evaluation (PT60 using schema TM00) for the perso

  • Mac to pc

    is there a way to network a mac and a pc though my mac airport card?

  • Norwegian charcters Unicode problem, InDesign CS5, Windows 7 64 bit

    Hello I have a problem with moving files from within an indesign plugin. I try to move an image file to the same folder as the inDesign document. The problem is that the document folder contains norweigian characters. The folder name is: Boligdrøm_FW

  • Android SDK in Jdeveloper

    Hi, How to run the application using Android emulator instead of using Blackberry emulator?

  • Iphone 4/4s cases/covers

    this is probably a stupid question, given the fact that from all report ive ready the body styles are the same, but will iphone 4 covers/cases work with the 4s?  (again im sorry, but this is my first iphone).