How can I process an SSO Logon Ticket in ColdFusion 9?

Hi,
We want to integrate some CouldFusion templates on the SAP portal and I try to process the SSO Logon Ticket using the following code:
<cfif IsDefined("Cookie.MYSAPSSO2") AND Cookie.MYSAPSSO2 neq "">
<cfscript>
    ticket = Cookie.MYSAPSSO2;
    sso = createObject("java", "SSO2Ticket");
    version = sso.getVersion();
    Application.CertPath = "/opt/coldfusion9/lib/verify.pse";
</cfscript>
<h2>Ticket cookie:</h2>
<cfdump var="#ticket#">
<h2>Version:</h2>
<cfdump var="#version#">
<h2>Certification path:</h2>
<cfdump var="#Application.CertPath#">
<cfscript>
    result = sso.evalLogonTicket (ticket, Application.CertPath,"");
    sapUser   = result[1]; //First element is the SAP system user
    sysID  = result[2]; //Second element is the id of the issuing system
    client = result[3]; //Third element is the client of the issuing system
    portalUser = result[5]; //Portal user
    validityInSeconds = result[7]; //Validity in seconds
</cfscript>
<h2>Ticket content:</h2>
<cfdump var="#result#">
<cfelse>
    SAP Logon Ticket not found - Extranet content can only be accessed through SAP Portal.   
</cfif>
The certificate verify.pse and the current version of the libraries libsapcrypto.so, libsapssoext.so and libslcryptokernel.so are stored at the same location.
After logging in into a SAP portal I get following error when executing the script:
Ticket cookie:
  AjExMDAgAAxwb3J0YWw6VG90aEyIABNiYXNpY2F1dGhlbnRpY2F0aW9uAQAFVE9USEwCAAMwMDADAANEUDIEAAwyMDE0MDYyNTEzNTMFAAQAAAAICgAFVE9USEz/AQUwggEBBgkqhkiG9w0BBwKggfMwgfACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGB0DCBzQIBATAiMB0xDDAKBgNVBAMTA0RQMjENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNjI1MTM1MzQ3WjAjBgkqhkiG9w0BCQQxFgQU2lImEL6oxLc/4ZdXYTDJudUNhOIwCQYHKoZIzjgEAwQvMC0CFQC4ftTFs8COV0ThRZH5lJxY9ITqfQIUMSugOMEkhmQHqBZD!ZHQ1Tb9e90= 
Version:
SAPSSOEXT 4 
Certification path:
/opt/coldfusion9/lib/verify.pse 
The web site you are accessing has experienced an unexpected error.
Please contact the website administrator. 
The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0
  The error occurred in /opt/coldfusion9/wwwroot/ExtranetMod/authTest.cfm: line 20
18 : 19 : <cfscript> 20 : result = sso.evalLogonTicket (ticket, Application.CertPath,""); 21 :     sapUser   = result[1]; //First element is the SAP system user 22 :     sysID  = result[2]; //Second element is the id of the issuing system
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser 
Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0
Remote Address 
172.20.231.111
Referrer 
Date/Time 
25-Jun-14 04:23 PM
Stack Trace
at cfauthTest2ecfm1658987646.runPage(/opt/coldfusion9/wwwroot/ExtranetMod/authTest.cfm:20)
java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0 at SSO2Ticket.evalLogonTicket(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:97) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at cfauthTest2ecfm1658987646.runPage(/opt/coldfusion9/wwwroot/ExtranetMod/authTest.cfm:20) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:360) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
I would be most thankful for any hints that could bring me further...
Many thanks
Lajos

Thank you for your assistance in this matter.
This has been frustrating the crap out of me for the last week (not that the photo is important, it is just that I like to conquer and solve this types of issues)
I was shooting with an aperture of 7.1. 
I changed the exposure on the photos as you had done previously but this only blew out the watch and I couldn't recover it afterwards and the alignment was no better any way.  So then I started experimenting as you suggested, and I don't know if what I am about to write is acceptable in an Adobe forum, but here goes.
I tried Helicon Focus and it was terrible, but I must admit I didn't know how to really use it, it doesn't seem to have any alignment function and is very difficult to try to use and understand.
then I tried Hugin and I am not even sure if this is image stacking software or just an alignment software, anyway that didn't work either and kept saying the output was a very bad match.
THEN I downloaded and tried zerestacker (free 30 day trial)  (after reading about it in a google search) and WOW, it worked amazing, see below photo, it was so easy to use and the interface is easy as well and it does the alignment and stacking in the same process and you can see the image output show up on the left of the screen.  Sorry PS but I will be using ZS for photostacking from now on. Adobe need to buy this company and incorporate it in to PS CC6.
This is just so much better than anything I got out of PS, there is no ghosting or blurring and the alignment is perfect and it is so simple to use.

Similar Messages

  • SSO logon tickets not working in two different OS

    HI All,
    We have sucessfully implemented SSO logon tickets concept to access a j2ee application through portal on windows OS.
    We could able to do the samething on two j2ee instances installed on two different machines on same domain. I mean, deploying our application in one j2ee instance and accessing the application thru portal of another j2ee instance thru SSO logon ticket by adding some configuration steps in Visual administrator given in help.sap.com. This also we did in same OS windows.
    But now the problem is, when we try to implement the above scenario in two different OS, say application is deployed on HPUX machine, and accessing that application through Portal from Solaris machine, SSO logontickets is failing. Means we couldnt able to access the application. Both the OS are in same domain only.
    What extra configuration steps need to be done in VA, to get work with two different OS?
    Please share ur ideas.
    Regards,
    Satish.

    Hi..
    I guess probabaly the internet explorer doesnot accept the sso ticket.
    What you can probably check is that the compatability of explorer for the solaris and HP UX os with Windows OS.
    Also,please check whether the SSO ticket is getting populated and What error are you getting exactly when the SSO fails and that will give some idea to proceed further
    <u>deploying our application in one j2ee instance and accessing the application thru portal of another j2ee instance[/u
    What the above mean...how are you deploying ?? what tool ?? which J2EE instance out of the two ??
    Thanks
    Gopal

  • How can i use the network logon (VPN) as my default logon environment ?

    Hi!
    I use my laptop only for connect to my work, but every time i need to switch the last local user and click in the Network Logon icon in the bottom right corner, how can i make the network logon my default logon environment ?

    Hi,
    Logon process cannot be easily replaced, but if your concern is just to ignore it, we can use auto logon to bypass the manual logon process:
    Autologon for Windows
    http://technet.microsoft.com/en-in/sysinternals/bb963905.aspx
    Alex Zhao
    TechNet Community Support

  • How can i find SAP Gui logon pad version

    how can i find SAP Gui logon pad version ?

    Hi,
    That's easy. At the top of the logon, you see a title bar with a general version indication. At the most left of it, you'll see an icon. Click on that and choose about SAP logon and you'll get detailed info.
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • How can I process a Sony A7 RAW file into Photoshop CS5.

    How can I process a Sony A7 RAW file into Photoshop CS5.  I tried the file DNG converter 8.3, but it did not work.  I was able to download it, but upon reading the memory chip from Photoshop CS5, it reads the jpg files fine, but not the RAW files.  I thought the DNG converter 8.3 was the right file, but apparently it is not.  Perhaps I need to do something in Photoshop CS5 to initiate it, or place it in a particular directory.. Please help.

    First of all, you should have used the Adobe DNG Converter 8.6, not an old, obsolete version.  Always use the very latest version.  8.3 was simply the first ACR version to support your camera model, that's all.
    Note that the DNG Converter works only on folders, not on individual raw files.  Put all your Sony raw files in a folder and run the Converter on that folder containing the raw files.
    I have absolutely no clue as to what on Earth you mean by : "upon reading the memory chip from Photoshop CS5".
    You also need to make sure that CS5 is fully updated.  You cannot rely on the highly and notoriously unreliable Adobe auto updater to tell whether you have the latest update installed or not.
    I still have no idea what platform you are on, Mac or Windows. Please read the following for next time:
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them, etc.,
    someone may be able to help you (not necessarily this poster).
    A screen shot could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How can we process the CRM Order again for second time in debugging mode

    Hi,
    Can anybody please tell me how can we process the CRM ORDER for second time.  that I want to process in debugging mode.
    Thanks,
    bsv

    Hi bsv,
    Are you trying to reprocess a BDOC for debugging purpose?
    If the BDOC is not with a final status, you will be able to reprocess it using the reprocess button in the smw01 search result list.
    And you may put /h on the popup when you click on the 'reprocess' button.
    If it is allowed to make some changes in the CRM ORDER for testin purpose, it would be easier to perform debugging.
    A more 'careless' way is to deactivate the outbound or inbound queue in transaction smqs or smqr, then in smq1 or smq2 to locate the interested queue, and click on button 'debug LUW'.
    Hongyan

  • How can i get the SSO to work successfully?

    How can i get the SSO to work successfully?  I followed the note for configuring infoview with ad sso using kerveros & .net.
    Adding the AD group into the win ad authentication configuration page creates the user group but the members of the group aren't being pulled in when I go to the group and select / query the users tab

    Bart,
    By default the setting for update options on the Windows AD tab of authentication does not actually create the aliases until the user attempts to login the first time. We set it this way to prevent a huge group of alias's being created when the administrator sets up Windows AD and also so that only user aliases for users actually using the system get created.  You can change this behaviour though if you like.  Simply change the radio button option to 'New Aliases will be added and new users will be created' this will create the accounts for you when you hit the update button.  If you have a large group your adding I would wait until and afterhours time when you have less activity as this will impact CMS performance while it creates all the accounts.

  • How can one process "ask" if another process is running?

    Hi there,
    This is a very general question: how can one process "ask" if another process is running?
    In other words, what 2 process share together.
    Thanks for any help.

    This code will print all active Threads.
    Look at at the API docs for further information.
    ThreadGroup tg=Thread.currentThread().getThreadGroup();
            while(tg.getParent() != null)
                tg=tg.getParent();
            tg.list();

  • APO DP release( PIR) sent to snp, how can i process snp hueristic.

    Hi scm gurus,
    APO DP release( PIR) sent to snp, how can i process snp hueristic.
    for Ex:APO DP starting MPOS-SBP-PA-PB-UFP-IDP like this.
    In APO SNP hueristic what is the process, can u explain me.
    Thx,
    PRASAD

    Hi scm gurus,
    APO DP release( PIR) sent to snp, how can i process snp hueristic.
    for Ex:APO DP starting MPOS-SBP-PA-PB-UFP-IDP like this.
    In APO SNP hueristic what is the process, can u explain me.
    Thx,
    PRASAD

  • How can I process Raw Images taken with a Nikon D7000 in PS4  Extended?

    How can I process Raw Images taken with a Nikon D7000 in PSE Extended?

    Hi there
    Unfortunately, CS4 does not support the Nikon D7000. You'll have to download the Adobe DNG converter (links below) to process RAW files from your camera.
    DNG converter 6.3 - Mac
    DNG converter 6.3 - Windows
    Here are some answers to similar questions asked over in the Photoshop General discussion:
    If you need further information on this topic, please feel free to post in the Photoshop General Discussion or in the Camera Raw forum.
    Camera Raw | Supported cameras
    Camera Raw | compatible applications
    Cheers,
    Kendall

  • How can I process raw files in Aperture from a Sony RX1?

    How can I process raw files in Aperture from my Sony RX1?

    Here is a list of supported cameras
    <http://www.apple.com/aperture/specs/raw.html>
    Your Sony RX1 is not listed. Your best bet would be to use the software, that came with your camera to convert the raw files to tiff and to import the tiff to Aperture. Or to shoot raw+jpeg and to import the pairs and to work with the jpeg versions as original master files, until Aperture supports your camera.
    Regards
    Léonie

  • How can I  process raw files from lumix GH4 on photoshop elements 12?

    How can I  process raw files from lumix GH4 on photoshop elements 12?

    Your files should open in photoshop elements 12, since there is only one version of camera raw 8.5
    (RC means a release candidate of 8.5, which came before the final version of camera raw 8.5 and was for testing)
    In the pse 12 editor if you go to File>Open and select one of the lumix GH4 and then press Open, what happens?
    In the pse 12 editor, if you go to Photoshop Elements>About Plug-in and click on the words Camera Raw, what version does it say?

  • How can I process pics in Lightroom that  have uploaded from my IPad?

    How can I process pics in Lightroom that I have uploaded from my IPad? I have managed to copy pics from the IPad into a file located in My Lightroom Pictures (and located on an external Hard Drive), which is where I put all my pictures. I an see the file in Finder and can even work with them as a Project in IPhoto, but nothing happens in Lightroom.

    Hi johnhb2,
    To import photos from your iPad into your Windows computer, I would suggest that you use the steps in this article -
    iOS: Import personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/HT4083
    Note that by default the pictures are placed in the “My Pictures” folder. Once imported you can see your photos there and use whatever application you want to view or manage them.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • I have purchased an ex-corporate ipad air. it has come locked to the previous users ID. The purchase is from a reputable auctioneer of which receipts can be produced. How can i process the unlocking/deactivation of the previous apple ID.

    I have purchased an ex-corporate ipad air. it has come locked to the previous users ID. The purchase is from a reputable auctioneer of which receipts can be produced. How can i process the unlocking/deactivation of the previous apple ID.

    Unfortunately the situation as we understand it is that Apple will unlock phones locked by the original owner if they themselves provide proof of purchase. They will not unlock it at all for a subsequent owner who has bought it second-hand, however legitimately.
    The auction house have sold you an item which is not working as described and your argument is with them. They must take it back and refund your money. If as you imply the previous owner is absolutely not available then this phone is permanently unusable and there is no way whatever round that.

  • How can I see the last logon of one user?

    Hi experts!
    I need to check the last logon of one user.
    How can I check that?
    Thanks a lot!

    Hi Carlos,
    You can check the users last logon to SAP from :-
    SE16N - Table USR02
    <b>Last login is TRDAT - Last logon date
                       LTIME -  Last logon time</b>
    Thanks,
    Vinay

Maybe you are looking for

  • Regarding Goods Reversal and Goods Issue process for Production orders

    Hi, I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>. Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to make the <b>Goods Reversal

  • Is the iPod Touch 5 worth buying now?

    I wanted to buy the iPod touch 5th gen to experience all the cool features from the ios 7 .. I'm an android user but I have an iPad 3 at home which is my mother's and my sister has an iPhone 4s and a 5s. I just thought that i should get myself an ios

  • Inner table output to Excel with colored cells?

    Hi! I would like to output my inner table into Excel ducoment. And it is important to have Excel document with colored cells. I have searched for this solution, but could not find... Any help will be awarded! Kind regards, M.

  • User entry

    Hi, I have a requirement as following. I have one date 'planned completion date' and that this is getting populated from source sytem and is part of transaction data. I have one more date which 'report run date' with this i will do 'planned completio

  • ARQ: Problem with Mitigation of a Risk and Request Rejection at the same time???

    Hi All, I have configured my workflow in such a way that, when a request reaches a certain approver (who is authorized to mitigate), he has following options available (we have configured this way): 1. Submit the Request: This will simply approve the