How to implement logoff in Webdynpro using UME

Hi all.
I am ken from Shanghai, China.
These days I am developing WebDynpro in WebDynpro Develop Studio ver 2.0.12
When I want to put security in my webDynpro application, I use UME to wrap the security authetion.
My webdynpro requires user to input username and password to acess my webdynpro application, but there is no ' log off ' function in my webdynpro application.
How can I implement ' log off ' function ?
log off function is the function to let user log off from current session.

Web Dynpro components generally are deployed and run within EP, which provides you with the log off button.
If you still require that a log off button be present in the Web Dynpro application then there are a lot solution described in this forum.
Forcing Log Off..
I think this link should serve the purpose.
Regards,
Noufal

Similar Messages

  • How to implement hyperlink in java using swing components

    hi.....
    pls help me to find out solution
    how to implement hyperlink in java using swing components

    I've got the same problem here.
    I want to implement a HyperlinkListener to a JLabel. (Unlike suggested above, it is only supported by JEditorPane and not JLabel)
    The goal is, that if a user clicks on a Link in a JLabel, the standard browser opens and displays that page.
    Can somebody please help?
    My ultimate goal would be to also be able to add clickable HyperLinks in ToolTip texts, but i guess that'd be even more complicated.

  • How to implement paging in webdynpro jave based on search criteria.

    Hi All,
    In a requirement I need to implement paging in webdynpro java development.
    I successfully did it when there is no search criteria is available i.e webdynpro fetched all data from the BO object and I did it using a "indexNO" (unique serial no from 1,2,3,4.....) field available in BO object.
    But when there is search criteria available , i.e the data to be fetched from the BO based on some specific field , at that time the "indexNo"  field of all data fetched based on search criteria are discrete i.e not continious. In that case how to implement the paging concept.
    I am using CE version 7.1 EHP 1.
    Thanks in advance
    Srikanta Satapathy

    Hi,
    If you go to your VO and generate the ViewObjectImpl, in there you can create a method which will contain two parameters, 1 the attribute name and 2 the value.
    Then you can follow something like explained in this post:
    ADF Tutorial: How to apply bulk actions to a view object rows
    The only difference is that you will need to create a method like this:
    public void updateAttribute(String attribute, Integer value){
            RowSetIterator iter = createRowSetIterator(null);
            while (iter.hasNext()){
                Row row = iter.next();
                row.setAttribute(attribute, value);
    Then you expose that as a client interface and then after you filter your table by your criteria you just need to execute this method passing the right parameters.
    Regards

  • How to implement row level security using external tables

    Hi All Gurus/ Masters,
    I want to implement row level security using external tables, as I'm not sure how to implement that. and I'm aware of using it by RPD level authentication.
    I can use a filter condition in my user level so that he can access his data only.
    But when i have 4 tables in external tables
    users
    groups
    usergroups
    webgrups
    Then in which table I need to give the filter conditions..
    Pl let me know this ...

    You pull the Group into a repository variable using a session variable init block, then reference that variable in the data filters either in the LTS directly or in the security management as Filters. You reference it with the syntax VALUEOF("NQ_SESSION.Variable Name")
    Hope this helps

  • How to implement for sap system use HADR

    hi expert ,
           i am a newbie to sap basis, we have a requirement that do HA for our sap using HADR,i want know if there are some good sulotion for my scenario。
       our scenaro is we have two window 2008 sever host,one host  has a sap system and we want the sap db2 database as a primary,and the other host also has a same the system which is restore from the previous sap system which we implement by system copy using database restore not migration。i want know as our secanrio could i achive SAP application HA by HADR,if we donu2018t have  HA  software  like MSCS。whether we must manual monitor the primary sap   when it stop because any issue like hardware failed and then manual start the other sap system in the other host?
      our two sap system have different sap profile beacause the hostname are different.
    our aim is when one of our host can't use we can immediate start the other sap system in the other host, the less the change the better the solution .
    is it possible?
    thanx very much,
    best regards.

    hi paul ,
        thanx for your information,i have already read the inforamtion about sg247363 once-over and SAMP。 but unfortunately we have a different situation,we only have two windows servers and must installed windows server 2008 OS because some reasons。we also don't have have other host to install sap。as this situation,how could we implement HA beacuse we also don't have shared disk。the window server are isolation。
    i  also read some pdf which download from sdn , in the book the HA is  implemneted as the sap application has a separate host and has two host for DB2 database using HADR,the HA is rely the cluster software 。in this situation the sap application also need HA to avoid single point failure。
        as the limited i have said above, is it possible to do HA by MSCS ,can any body tell me if the MSCS is free to install in OS windows 2008? if we can't use it  free,have any other solution?in the worst , we must manual monitor the application and when a sap application or database can't work ,we want to restart the other sap which in the other host,we need the database synchronization between two database which using HADR。is it possible ?if it do, whether there are some additional setup for sap application because the two sap application have different sap profile name(a sap is a system copy from the other by database restore)。
        any reply will be appreciated。

  • How to implement the pessimistic locking using toplink with sybase

    we want to allocate the unique primary key to each row when many user try to insert the records concurrently..So what we are trying to do is we calculate the maximum of Primary Key and incremented it by 1. Now we want to Apply the locking concept on the so that unique key will be allocated to each newly inserted row
    Can you please tell me
    1. how we can genrate unique primary key in toplink using sybase?
    2.how to implement the pessimistic or optimistic locking ?which one will be preferable?

    Hi brother
    I think that this link can help you
    http://download-east.oracle.com/docs/cd/A97688_16/toplink.903/b10064/database.htm#1007986
    Good luck

  • How to implement  business rules by using drolls in OSB

    Hi
    I am new to Drools,can any body tell how to implement drools concept in OSB11,provide any useful links or blogs.
    Thanks in Advance
    Mani

    Mani,
    I have implemented Drools by exposing them over web service call through Business Service of OSB.
    As you are using Java Callout, try to set proper return type for the java method called, better to use XMLObjects as the return type.
    http://www.xenta.nl/blog/2011/08/29/oracle-service-bus-java-callouts-with-xmlobjects/
    http://mazanatti.info/index.php?/archives/63-Oracle-Service-Bus-generating-XML-Objects-from-Java-Callouts.html
    http://blog.xebia.com/2009/10/11/java-callout-on-the-alsb/
    http://itnewscast.com/middleware/oracle-service-bus-java-callouts-xmlobjects
    How to retrieve the java object in a proxy service in osb -- Plz help
    Hope it helps !!
    Abhinav
    Edited by: Abhinav on Dec 12, 2012 4:21 PM

  • How to implement a callback function using LabView's Call Library Function Node?

    I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
    me and I do not have the source code, just the .dll and .h files.
    The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
    callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
    Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
    this one out. I am using LabView 8.6.
    The SDK.h deacribes the function as:
    //  Function:   SdkSetPropertyEventHandler
    SdkError SDKAPI SdkSetPropertyEventHandler(
                SdkCameraRef                    inCameraRef,
                SdkPropertyEvent                inEvnet,          
                SdkPropertyEventHandler         inPropertyEventHandler,
                SdkVoid*                        inContext );
    //  Description:
    //       Registers a callback function for receiving status
    //          change notification events for property states on a camera.
    //  Parameters:
    //       In:    inCameraRef - Designate the camera object.
    //              inEvent - Designate one or all events to be supplemented.
    //              inPropertyEventHandler - Designate the pointer to the callback
    //                      function for receiving property-related camera events.
    //              inContext - Designate application information to be passed by
    //                      means of the callback function. Any data needed for
    //                      your application can be passed.
    //      Out:    None
    //  Returns:    Any of the sdk errors.
    A separate header file called SDKTypes.h contains the following data:
    typedef  SdkUInt32  SdkPropertyEvent;
    typedef  SdkUInt32  SdkPropertyID;
    typedef  void       SdkVoid;
    typedef  struct __SdkObject*    SdkBaseRef;
    typedef  SdkBaseRef    SdkCameraRef;
     SdkPropertyEventHandler
    typedef SdkError ( SDKCALLBACK *SdkPropertyEventHandler )(
                        SdkPropertyEvent        inEvent,
                        SdkPropertyID           inPropertyID,
                        SdkUInt32               inParam,
                        SdkVoid *               inContext );
    Thanks for your help.
    Alejandro
    Solved!
    Go to Solution.

    alejandroandreatta wrote:
    I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
    me and I do not have the source code, just the .dll and .h files.
    The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
    callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
    Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
    this one out. I am using LabView 8.6.
    Basically you do not do that. LabVIEW does not know pointers and certainly not function pointers. What you should do instead is writing a C DLL that implements the callback and also exports a function to be called by LabVIEW that translates between the callback and a LabVIEW user event. Look for PostLVUserEvent() here on the NI site to find examples how to do that.
    Rolf Kalbermatter
    Message Edited by rolfk on 02-11-2009 08:00 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to implement a certain idea using J2EE.

    Ok I have the following situation...
    1- Client sends an XML document to server and awaits response.
    2- Server stores XML document to database.
    3- Using stored procs server processes the XML document. Data is inserted to tables, validation etc...
    4- Server starts polling database on status of inserted doc.
    5- 2nd application polls database for inserted data.
    6- Application retrieves data.
    7- Application creates file to 3rd party specs.
    8- Application sends file to 3rd party and awaits response.
    9- Application receives response from 3rd party and updates status of data.
    10- Server which is polling database notices status change and replies back to Client.
    All this is done in realtime. Bassically a client conects to our server and sends us a document. We process the document and forward it to a 3rd party. 3rd party returns response and we return that response to the client. This was all done using IIS ISAPI DLLs and Custom C++ applications that we wrote in house.
    This is hell since the applications poll the DB every few seconds, and special status fields have to be maintained, special "queue" tables where created etc...
    So how can j2EE be used to implement the above situation?
    I was thinking the following can be done and maybe you guys can correct me or add...
    A few rules that must be followed. The XML doc must be stored in the DB for archiving purposes. The XML doc also contains the client login info which is checked against the DB. Cleint should be able to come back when ever he wishes and check the processing history of the XML doc etc...
    1- A web service is overkill, a simple servlet that accepts an XML document through SSL, HTTP POST is good enough...
    2- Servlet stores XML doc using a CMP.
    3- Servlet invokes statless session been which extracts login info from XML doc and checks login info against a CMP entity bean. If the login information is wrong servlet returns error to client. And updates the status of the stored XML doc to failed or what ever.
    4- If the login info is correct the servlet invokes a statefull session bean which will, parse the XML doc, invoke a combination of BMPs and CMPs and take appropriate action (Business Logic)
    5- Servlet will push the data extracted from XML doc to a "in" message queue. Servlet will listen to an "out" message queue.
    6- Application listening to "in" message queue. Retrieves message and sends it to 3rd party. 3rd party responds. Application pushes response to "out" message queue.
    7- Servlet that is listening to "out" message queue commits all data etc... Update the state of the stored XML doc to processed or what ever and return the reposne to the client.
    That's it... Anybody see anything wrong with this? Also since the application is not running within the web servers VM can it participate in the transaction? So if it where to fail to send or retrieve the data from the queues or the 3rd party. The EJBs that where created by the Servlet would take appropriate action...

    This sounds exactly like what I am trying to do. May I please see your code to get some ideas. I am having trouble converting my code to an EJB architecture. The stub continues to create errors. Originally, I took the XML in at the servlet using an InputSource object but couldn't pass this to the SessionBean since it wasn't serializable (it didn't help to create a class that extended InputSource and implemented Serializable). Instead, I read the xml stream into a buffer and passed that to the Session Bean but then the stub threw errors when creating a DocumentBuilderFactory using the Dom Parser. It sure was straight forward before the RMI factor was added in. Does anyone have code samples that would help? Thank you very much.

  • How to implement single sign-on using java?

    I need your help regarding the following task, please go through it and tell me if you have a solution to it.
    DSOWeb is a portal which has links to all the reports generated from Microstrategy8.0.1 (MSTR) [it is another tool which generates the BI Reports] and my requirement is like when a report link in DSOWeb is clicked it goes to MSTR and shows a report of MSTR but the user is unaware of all this that the system is entering into some other portal and giving that report to him.
    1. User logs into DSOWeb (Implemented using Struts framework) - He is automatically logged into MSTR (Java Spring Architecture) as well.
    How to get the session Id of MSTR from DSOWeb and maintain that session within the DSOWeb???
    2.User clicks on a report link - He either uses the session created above or a new session is created for him, if the old one no longer exists.
    3.When User clicks Logout in DSOWeb the system should also internally invalidate the MSTR Session and logout from MSTR .
    Note : Here DSOWeb and MSTR applications are running in different Servers.

    Hello Meghal,
    It is possible to implement social login via Facebook for SAP Enterprise Portal 7.3 by simply using the SAP Cloud Identity offering.
    More details about SAP Cloud Identity you will be able to find here:
    SAP Cloud Identity Solution Brief:  Simplify and Secure Cloud Access to Critical Business Data
    SAP Cloud Identity features - latest release: http://scn.sap.com/community/security/blog/2014/12/18/new-capabilities-with-the-latest-release-of-the-sap-cloud-identity
    Please, find also the documentation about social login implementation:
    Enable or Disable Social Sign-On for an Application
    Best regards,
    Donka Dimitrova

  • How Can implement the audit function using toplink?

    My system must record all the modification, how can I use toplink to implement it.
    I know when toplink modify some object, the toplink will check how many attribute
    have been modified, and then update it to database, Can I implement the record when
    the toplink check modification?
    PS: I dont want to use database trigger.
    Thank first!!

    This thread has been inactive for a while, so perhaps I'm missing something. I am attempting to create audit events on domain objects using a TopLink 10.1.3 DescriptorEventAdapter.
    These audit events mutate or create a snapshot collection on the domain object. Based on what I understand from the above thread, do I still need to create another UoW to commit these in my preInsert()/preCreate() handler methods?
    Is there a way to get in the game before the IDs are assigned to the objects and the change set is computed?
    I certainly don't claim to fully understand the historical client session docs. However, one of our requirements is to show object-attribute-level deltas (list chronologically, grouped by transaction, the attributes that have changed, who changed them, etc. with their before and after values). So my first-blush reaction is that it's easier to utilize the change set to create a collection of transactionally-grouped audit objects on the domain.
    Thanks much,
    --Todd Fredrich                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to implemented an scheduled service using ScheduledExecutorService

    Hi, everybody
    I have a case that need retrieve data periodically from server. And I used the ScheduledExecutorService and javafx.concurrent.Service to implemented this case. But the trick thing is that ScheduledExecutorService schedule method aleady need a Runnable parameter. And Service setExecutor method set the ScheduledExecutorService. But the result is the Runnable is implemented run periodically but not the Service's call method(Which is I want). The Service is not extends from Runnable or Callable, how it can be used by the ScheduledExecutorService to implemented the periodical task?
    Please see my example:
    public class ScheduledService extends Application{
         * @param args
         *            the command line arguments
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(Stage primaryStage) throws Exception {
            primaryStage.setTitle("Test");
            Parent root = new Label("abc");
            Scene scene = new Scene(root, 800, 600);
            primaryStage.setScene(scene);
            primaryStage.show();
            test();
        public static void test() {
            ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(1);
            scheduledExecutorService.scheduleAtFixedRate(new Runnable() {
                @Override
                public void run() {
                    System.out.println("ScheduledServiceTest.main(...).new Runnable() {...}.run()");
            }, 0, 2, TimeUnit.SECONDS);
            CustomService service = new CustomService();
            service.setExecutor(scheduledExecutorService);
            service.start();
    class CustomService extends Service<Void> {
        @Override
        protected Task<Void> createTask() {
            return new Task<Void>() {
                @Override
                protected Void call() throws Exception {
                    System.out.println("CustomService.createTask().new Task() {...}.call()");
                    return null;
    }The result is:
    ScheduledServiceTest.main(...).new Runnable() {...}.run()
    CustomService.createTask().new Task() {...}.call()
    ScheduledServiceTest.main(...).new Runnable() {...}.run()
    ScheduledServiceTest.main(...).new Runnable() {...}.run()
    ScheduledServiceTest.main(...).new Runnable() {...}.run()
    ScheduledServiceTest.main(...).new Runnable() {...}.run()
    ScheduledServiceTest.main(...).new Runnable() {...}.run()
    {code}
    Edited by: Owen on May 20, 2012 12:05 AM
    Edited by: Owen on May 20, 2012 12:07 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    You are not allowed to call "restart" on a different thread, it must be from the JavaFX application thread. You don't see the Exception for it because it is encapsulated in the ScheduledFuture that "executor.scheduleWithFixedDelay" returns.
    Let's forget about this ScheduledExecutorService, that is not the way to do it when you want to work with a Service. Here's a fully working example that uses standard JavaFX:
    package hs.mediasystem;
    import javafx.animation.Animation;
    import javafx.animation.KeyFrame;
    import javafx.animation.Timeline;
    import javafx.application.Application;
    import javafx.concurrent.Service;
    import javafx.concurrent.Task;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    public class Test extends Application {
      public static void main(String[] args) {
        launch(args);
      public static class MyService extends Service<Void> {
        @Override
        protected Task<Void> createTask() {
          return new Task<Void>() {
            @Override
            protected Void call() throws Exception {
              System.out.println("Begin task");
              return null;
      @Override
      public void start(Stage paramStage) throws Exception {
        final MyService myService = new MyService();
        Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(5), new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            myService.restart();   // automatically on JavaFX thread, so can call restart directly
        timeline.setCycleCount(Animation.INDEFINITE);
        timeline.playFrom("end"); // can also play from start but you will have an initial 5 second delay
    }

  • How to implement IDOC Serialization(EOIO) using IDOC Adapter

    I am sending IDOC from 4.6c to XI to ECC6.0 using IDOC Adapter. I want to ensure that IDOCs are processed serially(EOIO) on the receiver side. I tried setting up the SE16-->IDXQUEUE  on XI for the Receiver system and enabled the Queue processing flag on the Receiver communication channel, but the IDOCs are not serialized.
    I see that XI is using XBTO_007(EO) Queue. It should be using the queue that I specified in SE16.Please let me know what else needs to be done to implement EOIO for the IDOC adapter.
    Please note Sender is 4.6c System while the receiver is ECC 6.0 on WAS>=6.2
    Thanks in advance.
    Rajeev Gupta

    Rajeev,
    From http://help.sap.com/saphelp_nw70/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    <b>The receiver or sender system must be based on SAP Web Application Server 6.40 or higher.</b>
    The blog listed above is when you need to sends Idoc from R3 to XI in EOIO. It does not work with SAP R3 4.6C  for the reason above.
    For sending Idoc's from XI to R3 ( to ECC in your case ) in EOIO, you need to seelct Queue Processing in the Receiver Idoc adapter and the rest I think is handled implicitly by XI.
    Regards
    Bhavesh
    PS: Have not tried this practically though!
    Message was edited by:
            Bhavesh Kantilal

  • How to Export data from webdynpro using Jecxcel

    Hi ,
    Can anyone help me how to export data from web dynpro using Jexcel. kindly send me the related links.
    Thanks

    Hi Sandeep,
    Have you refered in the blogs?
    U can find may more document related to this.the below blog helps u in
    Exporting Data from Web Dynpro in Different Formats Using Open Source (POI, JExcel, iText) APIu2019s.
    https://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b
    Regards
    Supraja

  • How to implement Excel like functionality using Table?

    I have a requirement to implement excel like functionality in a table, i.e when I update the amount in the first row and tab out, the values in the rows below should get affected.
    Could any one suggest idea how to get this done?

    Hi Timo,
    Thanks for your Reply.
    Can you please provide the code for capturing the key stroke in java script and queue it in the server and calling only the adf data table values from it.
    Thanks And Regards,
    Lovenish Garg
    Edited by: lovenish on 21-Jan-2011 04:25

Maybe you are looking for

  • How to get invoice status column in ap_invoice_all table

    how to get the invoice_status column like "NEEDS RE VALIDATION"      in account payables tables.

  • DiscWarrior and G4 Power Mac

    Hi, I want to run Diskwarrior on my G4 Power Mac as detailed below with 10.3.9 installed. I have version 3.0.3 which works on my G3 imac but I can not get it to boot by holding down the C key when restarting on the G4. It just boots as normal from th

  • Embedding form code into a lightbox

    Hello, I am working on a simple test page trying to figure out lightboxes. I have it almost functional based on examples I found online, however, I am stuck. I can't seem to figure out how to embed my form code into the lightbox successfully. Basical

  • Is it possible to edit Star trails in raw with Ps touch?

    i have a nikon d5300 and only nikon 10-24F3,5 and 50 mmF1,8

  • Captivate 5 quiz missing cmi.interactions

    Working on a SCORM 2004 compatible LMS that works with Articulate quiz but having problem getting the user's answer with Captivate 5 quiz.  Interestingly, I am able to capture  the final score and status alright for Captivate 5.  I tried to debug the