Which AM SDK API is used to retrieve user sessions

Please identify the Java API that I can use to retrieve the status of User Sessions.
I need to create a report that depends on users that have logged in and not timed out. These are the users listed on the Sessions tab of Access Manager web console.

Hi,
You can use getValidSessions(SSOToken, Server) API to get a list of valid SSOTokens. The token needs to be an admin token to get all the tokens. Check the javadocs for the details.
http://docs.sun.com/source/820-3739/index.html
shivaram

Similar Messages

  • Cpu used by a user (session wise)

    how will i find how much cpu used by a user(session wise)

    select a.sid, a.username, a.osuser, c.name, b.value
    from v$session a, v$sesstat b, v$statname c
    where a.sid = b.sid
    and b.statistic# = c.statistic#
    and (c.name like '%CPU%' or c.name like '%sorts (memory)%' or c.name like '%table scan%' or c.name like '%commit%' or c.name like '%cursor%' or c.name like '%read%' or c.name like '%buffer%' or c.name like '%cache%')
    and b.value > 0
    order by a.sid, c.name
    Just revised version of previous query / reply.
    Regards
    Girish

  • Java API Failed to authenticate the user session with LDAP

    I have created a Java class that uses the MDM Java Api's it works fine on our Development environment where the MDM server uses its own built in authentication, but when I moved it to our QA environment where MDM use LDAP for authentication its failed with a  'Failed to authenticate the user session'.  Has anyone seen this before?

    hi Dan,
    The java class which u have created that suppose to works fine on MDM server because to execute that program there are no requirement of such protocols, the problem u will face while exporting those program to an client machine
    LDAP(Lightweight Directory Access protocol) connector communicates with the SAP system using RFC and with the directory server using these standard communication protocol.
    so try to select the protocol such that it should help in making connection between the server,direcotryserver and the client machine through which u can execute u r java class using java Api's.
    i hope this will give u an idea to through ur problem.
    regards,
    swapnil

  • How to retrieve User Session in Xcelsius 2008

    Hi
    I am currently building dashboards with some securities on display. The dashboards have to show different views (e.g. Manager view with full access of data and Employee view with partial access of data) for different users, and I expect to get the user information (particularly user name) from the BO user session for making the security decision.
    I can successfully retrieve the user session from Dashboard [url button] to JSP using openDocument (by looking at the cookies), but it seems that I have no way to import the data back to the Dashboard. When I am using Data Manager > XML Data (With XML datasource is a JSP file), it seems the user session cannot be retrieved.
    So, my question is, how to retrieve the user Name in Xcelsius 2008 ?
    Any help is greatly appreciated.

    Hi,
    we did also some research activities about Xcelsius. We are passing the user name to the Xcelsius via Webservice. Based on the portal integration, you do not have to care about the authentication to the Webservice. This does the Enterprise Portal for you. For the integration, we are currently using a BSP solution. In this way, you can get the user name very simple:
    sy-uname
    You can put into the Webservice or provide it as Flash Variable to the Xcelsius in the <OBJECT> tag.
    Take care,
    Thomas

  • Which iOS SDK is flex using?

    Hi,
    i cant find any information about the iOS SDK Version that flex is using when we compile the ipa file.
    I dont mean the flex sdk like 4.5.1 or AIR 2.7. When you got to Apple App Store with your iphone or ipad you see that very application has a SDK information like iOS 3.2 or higher, 4.2 or higher.
    I would like to know how flex is using or generating this SDK specification?
    Is it maybe so that the installed SDK is used when you download the latest xcode SDK from apple, like currently version 4.3.3?
    Please someone make lights on this
    Regards
    Gary
    http://onlinelib.de

    Hello Gary,
    Adobe is laconic on exact iOS SDK support in release notes, you could read something more specific from that article:
    Supported iOS devices
    As part of supporting the latest and most powerful Flash runtime features on iOS, we have chosen to drop support for the original iPhone and the iPhone 3G, along with iPhone OS 3. AIR 2.6 supports building apps for the following iOS 4 devices:
    iPhone 3GS and iPhone 4
    iPod Touch (3rd Generation and 4th Generation)
    iPad
    bolding is mine - so iOS 3.0 is completely dropped and compiled output is all 4.* iOS
    edit: see also:
    http://kb2.adobe.com/cps/891/cpsid_89107.html#main_AIR_runtime_system_requirements_
    hth,
    kind regards,
    Peter

  • Which iOS SDK does AIR 3.5 use?

    How can we find out which iOS SDK is being used by Adobe AIR?
    We're using Adobe AIR SDK 3.5 with Flash Builder.
    Is it possible to change the iOS SDK?
    The -platformsdk compiler argument shows as unsupported inside Flash Builder.
    Thank you.

    Thanks for the quick reply.
    Can you please take a look at our other thread here -
    http://forums.adobe.com/message/4834786#4834786
    We're facing some difficulties with iPhone/iTouch (4th Generation) devices running iOS 6.

  • CPU used by oracle user

    Hi,
    on 10 g R2, on Windows SEVER 2003
    oracle user SCOTT connect from SQLPLUS and runs a large query. Is there any way to see how much CPU does he use ?
    Thanks.

    CPU used by a user(session wise)
    select a.sid, a.username, a.osuser, c.name, b.value
    from v$session a, v$sesstat b, v$statname c
    where a.sid = b.sid
    and b.statistic# = c.statistic#
    and c.name like '%CPU%'
    and a.username='SCOTT'
    order by a.sid, c.name
    Per user (session wise) following information:
    1.cpu usages
    2.memory sorts
    3.table scan
    4.commit
    5.cursor
    6.physical reads
    7.logical reads
    8.BCHR (buffer cache hit ratio)
    select a.sid, a.username, a.osuser, c.name, b.value
    from v$session a, v$sesstat b, v$statname c
    where a.sid = b.sid
    and b.statistic# = c.statistic#
    and (c.name like '%CPU%' or c.name like '%sorts (memory)%' or c.name like '%table scan%' or c.name like '%commit%' or c.name like '%cursor%' or c.name like '%read%' or c.name like '%buffer%' or c.name like '%cache%')
    and b.value > 0
    order by a.sid, c.name
    If you have the licences for the diagnostic pack and performance pack, you can look at the active session history for this type of information. You can query view DBA_HIST_ACTIVE_SESS_HISTORY, or run the ashrpt.sql script from $ORACLE_HOME/rdbms/admin, or use OEM for a graphic representation of the workload over time.
    HTH
    Girish Sharma
    Edited by: Girish Sharma on Dec 8, 2009 5:23 PM
    "and a.username='SCOTT'" added.

  • Which API can use to save PDF document with Adobe Reader 9?

    Hello,
        which API can use to save PDF document with Adobe Reader 9? It is said that "CosDocSaveWithParams" can't be used.
    thanks!
    jimmy

    Unless the PDF file is "READER ENABLED for SAVE" (see the adobe product pages on LiveCycle Reader extensions server)
    You are not able to call a Save at all, if the document is reader enabled then you need to use the JavaScript call to save the document,
    As you appear to be wanting to do this in a plug-in you would need to call the script from a plug-in, this can be done using the AFExecuteThisScript () function call.
    Please note that this does will fail if the document is not reader enabled for save and you need to include the Forms HFT in your plug-in,
    This plug-in would also have to be approved by Adobe to be used with the reader and as you are implementing a function that is available in the full Acrobat product this may not be a straight forward approval.
    HTH
    Malky

  • How to create cross tab reports using RAS SDK api with Crystal Reports XI

    Hi Everybody,
    Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
    Thanks in advance.

    Hi,
    The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
    In the duplication wizard I just need to define the axis (using drag and drop).
    if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
    The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
    for example: to find the amount of receipt by months:
    On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
    What you'll get is something like:
    months: jan feb mar apr ......
    buyer_name
    jhon_smith 100 50 30 250 ......
    jhon_doe 80 45 90 453 ........
    and so on.....

  • Remove hidden text using SDK api

    HI Guys,
    I am new to SDK and would like to know if there is an API to remove hidden text functionality the one that described here. I need a separate .Net library on top of Acrobat SDK that could remove all hidden data from pdf and save it.
    Please point me to an example or documentation where to start from, if it can be done?
    Thanks,
    Andrey

    I have found in sdk api the following method:
    PDWordFinderAcquireVisibleWordList()
    "Finds all words on the specified page that are visible in the given optional-content context" what does it means 'visible'? it is related with the 'heuristic' Acrobat uses to show 'hidden text'?
    It is not clear also the 'PDOCContext ocContext' parameter this method uses.
    Thanks

  • Saving and loading plugin's settings by using SDK APIs.

    Hi All.
    I am trying to save and load plugin's settings, ex. dialog setting values and strings.
    OS platform is windows XP.
    First I programmed the way of using *.ini file.
    But that not appropriate for Macintosh.
    So, I like to know common way by using SDK's APIs.
    Development env. is VS2008 and Ai CS5 SDK.
    Thanks.

    Use AIPreferenceSuite (AIPreference.h)

  • Which SDK can be used to "Create and manipulate forms"??

    The ability to "Create and manipulate forms" is listed twice (and inconsistently) in this table:
    http://www.adobe.com/devnet/pdf/library/
    (row 11 and row 17).
    One of the entries probably refers to AcroForms and the other to XFA forms?
    Can someone please clarify?
    TIA,
    -RFH

    Thanks, Bernd.
    I have a follow-up question. When I use Acrobat interactively, I can execute these commands:
    - "Recognize text using OCR"
    followed by:
    - "Run form field recognition"
    The commands above will create an AcroForm, correct? Is there any way to create an XFA form in a similar fashion?
    Last but not least: can the two commands above be performed under "remote control" (i.e., programmatically with the SDK API)?
    TIA,
    -RFH

  • Error while logging into CR server using SDK API

    I have crystal reports server 2008 running on Redhat linux machine. The CMS server (running on port 6400)and other servers are all up and running.
    When I try to communicate to the server using the SDK API I am getting error message. Can someone help me. I tried many things like shutting down firewall at the  server etc bit nothing work . The netstat -na command shows server is running on port 6400. I am going mad.
                  String  authentication = "secEnterprise"
                  ISessionMgr sm = CrystalEnterprise.getSessionMgr();
              enterpriseSession = sm.logon(userName,password,cms,authentication)
    Exception:
    com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$CommunicationError: Communication error occurred when trying to connect to server 15.7.204.107:6400 (FWM 01009)
    cause:com.crystaldecisions.thirdparty.org.omg.CORBA.TRANSIENT: attempt to establish connection failed: java.net.ConnectException: Connection timed out: connect  minor code: 0x4f4f0001  completed: No
    detail:Communication error occurred when trying to connect to server 15.7.204.107:6400 (FWM 01009) attempt to establish connection failed: java.net.ConnectException: Connection timed out: connect
         at com.crystaldecisions.enterprise.ocaframework.RawAPSDirectory.find(RawAPSDirectory.java:252)
         at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildAPSClusterInfo(APSServerHandler.java:425)
         at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildServerInfo(APSServerHandler.java:142)
         at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:546)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:1060)
         at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:250)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:694)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:504)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:648)
         at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:295)
         at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:162)
         at com.crystaldecisions.sdk.framework.internal.SessionMgr.authenticate(SessionMgr.java:598)

    Thanks for the reply. What do you mean by enterprise machine. Can you explain.
    I will try wireshark and let you know.
    I can login into infoview, cmc and ssh to that machine without problems.Very strange.

  • How does one create the Process List (AdminUI) with the provided SDK API?

    Currently we are developing a custom component for Adobe LiveCycle, which should offer the following service operation:
    Fetch a list of schedulers (= long-lived processes with that loop with a Wait-operation) and check whether there are instances running for them
    Input: none
    Output: A list of (long-lived) process definitions together with a list of (running) process instances in XMLXML format could look like:
    <processes>
         <process>
              <name>Mortage/Util/Scheduler A</name>
              <application>Mortage</application>
              <status>Active</status>
              <creationDate>2015-03-25T13:00</creationDate>
              <processInstances>
                   <processInstance>
                        <id>12314</id>
                        <status>RUNNING</status>
                        <createdOn>2015-03-25T13:01</createdOn>
                        <modifiedOn>2015-03-25T13:02</modifiedOn>
                        <operations>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>COMPLETE</status>
                                  <createdOn>2015-03-25T13:01</createdOn>
                                  <completedOn>2015-03-25T13:01</completedOn>
                             </operation>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>STALLED</status>
                                  <createdOn>2015-03-25T13:02</createdOn>
                                  <completedOn>2015-03-25T13:02</completedOn>
                             </operation>
                        </operations>
                   </processInstance>
                   <processInstance>
                        <id>12315</id>
                        <status>RUNNING</status>
                        <createdOn>2015-03-25T13:02</createdOn>
                        <modifiedOn>2015-03-25T13:02</modifiedOn>
                        <operations>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>COMPLETE</status>
                                  <createdOn>2015-03-25T13:02</createdOn>
                                  <completedOn>2015-03-25T13:02</completedOn>
                             </operation>
                             <operation>
                                  <name>Set Value X</name>
                                  <status>RUNNING</status>
                                  <createdOn>2015-03-25T13:02</createdOn>
                                  <completedOn></completedOn>
                             </operation>
                        </operations>
                   </processInstance>
              </processInstances>
         </process>
         <process>
              <name>Mortage/Util/Scheduler B</name>
              <application>Mortage</application>
              <status>Active</status>
              <creationDate>2015-03-25T13:00</creationDate>
              <processInstances/>
         </process>
    </processes>
    Though I'm unable to retrieve these kind of processes, since the SDK API does not offer a way to fetch these kind of processes.
    I tried the following Quick Start: http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8- 7d27.html
    Quick Start (EJB mode): Searching for Process Instances using the Java API
    (and yes I went through all the possible options (other Quick Starts, API documentation))

    Yes, removing the block diagram obscures the code so much that not even newer versions of LabVIEW can make sense of it.
    I think under the hood it must be converting it to Perl.
    Spoiler (Highlight to read)
    If you believe this and have lots of money please contact me with your credit card info 
    If you believe this and have lots of money please contact me with your credit card info 
    =====================
    LabVIEW 2012

  • How to start to work on MDM JAVA API by using webdynpro for java

    Hi all
    I have basic idea on MDM business package thru portal by using standard iViews.
    now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
    1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
    2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
    3)  is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
    4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
    if anybody helps on the same then it is the great help to me.
    points are always rewardable...
    Regards
    Suresh babu

    Hi Suresh,
    You can have the MDM JAVA API javadocs from the link
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
    You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
    Right click on project-> properties->Java Build Path - > Add external JARs
    At run time you can add them the reference in
    Right click on project-> properties->web dynpro references->library reference.
    Thanks
    Namrata

Maybe you are looking for