Why am I not able to authenticate using apstoken?
HI, I'm talking programmatically to our Crystal server now successfully, and logging in etc. But, we're running out of licenses. So, I want to "reuse" the apstoken. So, I get a token, and try and pass it in; however, I get a login screen when I do that with an invalid login. Why is that?
Here's how I'm getting the token:
ILogonTokenMgr iLTM = enterpriseManager.getLogonTokenMgr();
token = iLTM.createLogonToken("",
1000,
10000);
Then I pass it in on the argument line, just like the documentation says:
theURL.append("&apstoken=" + URLEncoder.encode(token);
Any ideas why that isn't working and I get a login screen? I noticed the CMS seems to be running on 6400, but we're trying to run our reports across the wire on 6405, is that the issue?
Not sure what you mean by the apsname - the documentation says to do this:
http://<servername>:<port>/CrystalReports/viewrpt.cwr?id=152&ap
stoken=myAPS:A1B2
That's what I'm doing - yet, it works about 10 times, and then i start getting a "your system is out of licenses, try again later" error. I'm starting to pull my hair out on this one - I know my token is good, because if I do this using the openDocument.jsp method, I do not run out of licenses. We only have ten, and I can sit there and launch 20+ reports.
So, I'm not sure how I'm supposed to do this with the viewrpt.cwr method. Here's my ACTUAL url I'm using, with server id's masked of course:
I get the token by logging onto http://ourserver:6400 and getLogonTokenMgr
Then, here's the actual url:
http://ourserver:6405/CrystalReports/viewrpt.cwr?promptex-p_param_id=3101046&promptex-p_output_format=PDF&cmd=EXPORT&EXPORT_FMT=U2FPDF:0&id=7418&sType=wid&sWindow=Same&apstoken=ourserver:6400@7575JNWsa737RBl1GnNJ7574Jebuu7mu93TaDKsn
If anyone can help, please... tell me what's missing here! Thanks
Edited by: laynestaley on Aug 11, 2010 12:20 AM
Similar Messages
-
Multibyte users are not able to authenticate using Default Authenticator
Hi,
We are facing an issue with multi-byte user authentication. All chinese and french users are not able to authenticate.
When we try to authenticate with réseau/welcome1, where réseau is a user created in embedded LDAP, authentication fails.
Security log generated is-
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <com.bea.common.security.internal.service.CallbackHandlerWrapper.handle got username from callbacks[0], UserName=rseau>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <LDAP Atn Login username: rseau>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <getConnection return conn:LDAPConnection { ldapVersion:2 bindDN:""}>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <authenticate user:rseau>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <getDNForUser search("ou=people,ou=myrealm,dc=base_domain", "(&(uid=rseau)(objectclass=person))", base DN & below)>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <getDNForUser search("ou=people,ou=myrealm,dc=base_domain", "(&(uid=rseau)(objectclass=person))", base DN & below)>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <returnConnection conn:LDAPConnection { ldapVersion:2 bindDN:""}>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <[Security:090302]Authentication Failed: User rseau denied>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <com.bea.common.security.internal.service.LoginModuleWrapper.commit>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <LDAP Atn Abort>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <com.bea.common.security.internal.service.LoginModuleWrapper.commit delegated, returning false>
####<06-Jan-2009 22:47:49 o'clock PST> <Debug> <SecurityAtn> <jjpeng-lab1> <AdminServer> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1231310869374> <BEA-000000> <weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.authenticate authenticate failed for user rseau>
We are using WebLogic Server 10.3 Default Authenticator as Authentication Provider.
I found few change requests related to multi-byte from the link: http://edocs.bea.com/wls/docs103/issues/known_resolved.html
Am I missing some configuration? Has anyone else tried authenticate multibyte username?
Thanks,
AnujCan you provide more information on the use case?
1. Is this using Basic or Form authentication?
2. If the user logs on from a web-based client, do you get the same failure with Internet Explorer as with other browsers?
3. On which operating system is the WebLogic AdminServer running?
With WebLogic Server 10.3, I am able to authenticate with multi-byte (French and Japanese) usernames. (My environment: form auth, Firefox 3.0.5, WLS runs on Linux RHEL 4.0.) -
Ise 1.1 ActivatedGuest not able to authenticate using radius pap
Hi,
I want to create guest accounts using the sponsor portal and use radius to authenticate with these accounts; Afaik this is supported as from 1.1mr1 (Show Version output : 1.1.1.268)
When we create an account with the ActivatedGuest Identity group, in the sponsor portal the account is marked as active.
Username Status First Name Last Name Email Address
aazeaze1 ACTIVE azea azeaze
However in ise, using radius, we receive an access-reject:
24210 Looking up User in Internal Users IDStore - aazeaze1
24206 User disabled
after logging in successfully to the guest portal with this account, the radius request also succeeds.
Questions
1) is this scenario supported?
2) is there anything else that should configured?
RegardsHi,
FYI it works if you don't use the fromlogin time profile , that's only for LWA/CWA.
cheers -
Does anyone know why I am not able to see images on some web sites using safari 5.1.7?
I have enabled the apperance tab to display images.Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found
-
Why spotlight is not able to perform searches on iCal events older than 365 days?
why spotlight is not able to perform searches on iCal events older than 365 days? I really do not understand why if iCal can sync all events, even the very old, the spotlight will not be able to search on events older than 365 days; why? is absurd; let's say I want to search for a person contained in an old appointment: iCal in your Mac with a few key words, I find it right away, but this important feature on the iPhone is locked; we have in our pockets phones are very sophisticated, but it does not manage to make things really trivial.
Submit your feedback directly to Apple using the appropriate link on the Feedback page:
http://www.apple.com/feedback -
Certain songs wont transfer from my itunes to my iphone, it's telling me that the computer is not authorized but once I go up to Store and authorize computer and enter in my info, it tells me that the computer is already authorized. So why am I not able to transfer certain songs from my itunes to my iphone?
Hello Jfalconi19,
Thank you for providing the details of the issue you are experiencing with transferring the apps purchased from the iTunes Store. I recommend following the steps in this article:
iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
http://support.apple.com/kb/ts1389
Thank you for using Apple Support Communities.
Best,
Sheila M. -
I'm having trouble connecting to apps, itunes store, internet on my iPhone 5 running iOS 7.0.4. I am currently connected to a perfectly running WiFI connection. This just started happening today (2/19/14)! Why am I not able to connect anything? I've tried ALL the fixes suggested. HELP!!!!!!!!! BTW, I know my Wi-Fi connection is good because I'm using it on my desktop and other people in my office are also connected on their iPhones and desktops. Again, HELP!!!!
You may not really be connected to your WiFi network.
Your router may not have given your iPhone a valid IP address. Go to Settings > Wifi > your network name and touch the "i" to the right to see the network details. If the IP address starts with 169 or is blank then your router didn't provide an IP address and you won't be able to access the Internet.
Sometimes the fix can be as simple as restarting your router (remove power for 30 seconds and restart). Next, reset network settings on your iPhone (Settings > General > Reset > Reset network settings) and then attempt to connect. In other cases it might be necessary to update the router's firmware with the latest from the manufacturer's support web pages.
If you need more help please give more details on your network, i.e., your router make, model and version, the wifi security being used (WEP, WPA, WPA2), etc. -
Why am I not able to export NEF files to Photoshop from Lightroom to edit. This is new. When I right click on an image, the export to PS option is not selectable. I've never had this happen before. I haven't used it for a few weeks, so maybe there's an update (Mac or otherwise) that's screwing things up? HELP!
I have an Edit In - Photoshop option, but not an Export - Photoshop option.
Obviously to have right-click Edit In to work, the photo you're right-clicking on needs to be selected. I assume this is not the problem, and that the photo is selected.
Mavericks 10.9.3 has a problem where the Users folder is hidden, and you need to update iTunes to fix it, but it's been a few weeks since this happened so hopefully you're up-to-date and the Users folder isn't hidden anymore.
If you can't get things to work, I'd uninstall LR and uninstall Photoshop, then install Photoshop, and update it, then install LR and update it, as a way to get any wayward security or other OS-level things reset. -
HT1918 why i am not able to see the none option in the payment link?
why i am not able to see the none option in the payment link?
Did you create a new account using an email address not used with Apple before?
Maybe your county does not allow a None.
I am in the US and created a None account using those instructions. -
why i'm not able to open pdf files? says i need adobe reader, but not sure where to get it.
Welcome to the Apple Support Communities
You can use Preview to open PDFs. Right-click a PDF file and go to Open with > Preview -
Error in Info Package - NOT able to be used as loading variant
Hii All
I develop a process chain where I extract data from ODS to Cube. Now I am getting an error. A info pkg for extracting data from ODS to Cube giving error message of InfoPackage ZPAK_XXX is generated; NOT able to be used as loading variant.
I am not able to understand why this error is coming ??
Plz tell me how to resolve it ??
I searched some documents but not cleared.
Thanks in advance
NehaHi
Create a new infopackage and try loading.
You can also refer to
[Full load ODS to ODS in a Process chain;
[Process chain; -
Why i am not able to connect my apple mobile 4s to apple mobile 5 via bluetooth ?
Dear sir
Pls advise why i am not able to connect my apple mobile 4S to apple mobile 5 via bluetooth.
Or pls advise how i can tranfer music & movies from one apple phone to other.
Regards
PradeepHello shreejith786
The iPhone does not transfer music and videos via Bluetooth. To move content from one iPhone to another, you will need iTunes or iCloud handle that. If you have purchased content from the iTunes Store, you can download them directly. The articles below will assist with getting your media to your other iPhone.
iOS: How to back up and restore your content
http://support.apple.com/kb/HT1766
Downloading past purchases from the iTunes Store, App Store, and iBooks Store
http://support.apple.com/kb/HT2519
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
TS1702 Why am I not able to connect to the app store. I'm on wifi.
Why am I not able to connect to the app store. I'm on wifi.
You may not really be connected to your WiFi network.
Your router may not have given your iPhone a valid IP address. Go to Settings > Wifi > your network name and touch the "i" to the right to see the network details. If the IP address starts with 169 or is blank then your router didn't provide an IP address and you won't be able to access the Internet.
Sometimes the fix can be as simple as restarting your router (remove power for 30 seconds and restart). Next, reset network settings on your iPhone (Settings > General > Reset > Reset network settings) and then attempt to connect. In other cases it might be necessary to update the router's firmware with the latest from the manufacturer's support web pages.
If you need more help please give more details on your network, i.e., your router make, model and version, the wifi security being used (WEP, WPA, WPA2), etc. -
i'm trying to redeem my itunes gift card and i get the message "session timed out." does anyone know why i'm not able to redeem my card and why i get this message in stead?
I've been having the same issues too, and thought it was just my outdated computer or account?!
Every time I try to purchase a song, "session has timed out" shows up after I click "agree" to the terms!? I seem to be in the exact same scenario as 'SportsBarn' above: Itunes support have replied repeatedly with the same "solutions" but nothing has helped or even been applicable. I have an older laptop, 2005 Powerbook running OS X 10.4 Tiger so it's not compatible with the latest iTunes 10.5.2 which requires minimum OS X 10.5. I've been using the balance already in my iTunes account (from redeemed giftcards over the past few years) with no problem, until recently (my last successful purchase was October 2011). I wonder if it's the older OS or just a redemption glitch even with newer computers? -
Why users are not able to see certain printers even though they are in the Airgroup server table
Q: Why users are not able to see only certain printers even though they are in the Airgroup server table ?
A: In certain scenarios we may notice printers come up under the server /cache entries on the controller.
However when an airgroup user does search for printer, they may not see all the printers, certain printers may be not visible .
This is because the service IDs sent by the user in the MDNS query are not broadcast by these printers
In the below capture the Ipad sends query for service id "_universal_sub_ipp_tcplocal" and "_universal_sub_ipps_tcplocal" and hence the controller will
respond with the printers that broadcasts these service ids.
Non–Visible printer :
_printer._tcp.local PTR IN 7200 10.125.30.223 5820.05 Wed Mar 18 13:24:26 2015
_pdl-datastream._tcp.local PTR IN 7200 10.125.30.223 6112.25 Wed Mar 18 13:24:26 2015
_ipp._tcp.local PTR IN 7200 10.125.30.223 5888.15 Wed Mar 18 13:24:26 2015
_http._tcp.local PTR IN 7200 10.125.30.223 6293.88 Wed Mar 18 13:24:26 2015
NPIED487E.local A IN 240 10.125.30.223 194.43 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._printer._tcp.local SRV/NBSTAT IN 240 10.125.30.223 209.87 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._printer._tcp.local TXT IN 240 10.125.30.223 205.14 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._printer._tcp.local TXT IN 240 10.125.30.223 197.18 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._printer._tcp.local TXT IN 240 10.125.30.223 196.42 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._printer._tcp.local TXT IN 240 10.125.30.223 208.15 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._pdl-datastream._tcp.local SRV/NBSTAT IN 240 10.125.30.223 207.35 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._pdl-datastream._tcp.local TXT IN 240 10.125.30.223 200.64 Wed Mar 18 13:24:26 2015
hp LaserJet 4250 [ED487E]._ipp._tcp.local SRV/NBSTAT IN 240 10.125.30.223 209.44 Wed Mar 18 13:24:26 2015
Visible-printer :
_printer._tcp.local PTR IN 4500 10.125.26.29 3745.82 Wed Mar 18 13:24:51 2015
_universal._sub._ipp._tcp.local PTR IN 4500 10.125.26.29 3694.14 Wed Mar 18 13:24:51 2015
_ipp._tcp.local PTR IN 4500 10.125.26.29 3628.81 Wed Mar 18 13:24:51 2015
_pdl-datastream._tcp.local PTR IN 4500 10.125.26.29 3616.14 Wed Mar 18 13:24:51 2015
_http._tcp.local PTR IN 4500 10.125.26.29 3793.56 Wed Mar 18 13:24:51 2015
XRX9C934E25C52D.local A IN 120 10.125.26.29 355.03 Wed Mar 18 13:24:51 2015
Xerox WorkCentre 3615 (25:C5:2D)._printer._tcp.local SRV/NBSTAT IN 120 10.125.26.29 130.45 Wed Mar 18 13:24:51 2015
Xerox WorkCentre 3615 (25:C5:2D)._printer._tcp.local TXT IN 4500 10.125.26.29 3670.33 Wed Mar 18 13:24:51 2015
Xerox WorkCentre 3615 (25:C5:2D)._ipp._tcp.local SRV/NBSTAT IN 120 10.125.26.29 389.55 Wed Mar 18 13:24:51 2015
Xerox WorkCentre 3615 (25:C5:2D)._ipp._tcp.local TXT IN 4500 10.125.26.29 3640.60 Wed Mar 18 13:24:51 2015
Xerox WorkCentre 3615 (25:C5:2D)._pdl-datastream._tcp.local SRV/NBSTAT IN 120 10.125.26.29 210.97 Wed Mar 18 13:24:51 2015
In order to learn other printers we may need to use specific app provided by printer vendor on the client or configure the printers to send these service IDs.The net 451 issues made it not work after a while but it affected the entire RWW site not just remote access:
http://blogs.technet.com/b/sbs/archive/2014/01/13/troubleshooting-an-unexpected-error-occurred-message-when-using-remote-web-access-to-connect-to-computers.aspx
Careful if you try and uninstall it, you'll need to put back net 4.0 and reconfigure some stuff.
Did it ever work?
Make sure the users have installed the certificate they need and turn on compatibility mode in IE (also make sure IE isn't locked down and disabling activeX).:
https://technet.microsoft.com/en-us/library/dd701173%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
-- Al
Maybe you are looking for
-
Program gets stuck in the middle of a click
When I'm using Google Chrome for browsing this happens a lot. It's when I'm clicking something, like a new tab, a link that opens a new tab or basically anything, Chrome gets stuck, does not freeze or anything, just stuck. The mouse, keyboard and ev
-
Hi, I am thinking about getting a MacBook Pro. My current computer is very very old and can not be used. I would like to use it for video editing and eventually to use when I go to college. I want to get one of the preset 13 inch MBPs. I do not k
-
PMS colors in Photoshop to be used in InDesign?
Hi, I have a logo file that I'm doing in Photoshop that I want to throw into my InDesign document (a gift certificate - I like using ID so that the text is crisp), and this will be printed in 2 PMS colors (metallic gold 873 and green 330) on an offse
-
Words w friends won't go to landscape orientation in iOS 7. Restarted app, restarted pad, reinstalled app. No good! Any suggestions?
-
J1IS - same material doc can be used twice
Hello Their is no check in the system for using the single material doc twice or n number of times in J1IS How can we control the same. Regards Niti Narayan