Access resource from other application using JAAS
i use JAAS for autenticate and autorizate in my web application, but i need access a resource from the other application , but this application don�t use JAAS.
How can i acces this resource from other application?
i know need send the parameters JSESSIONID, but , always redirecto the login page.
thank you for your help
your signon url is consists of the following url http://server.domain.com:port/site/signon.html
Can you ping server.domain.com from your client?
If you can ping it, then make sure your port is added as a rule in the firewall of the server.
Also make sure that the proxy setting of the client have an exception to server.domain.com.
If you cannot ping it, make sure the server and the client are conneted to the same network and make sure the hosts file on the client reflects the ipaddress and the hostname of the server.
Hakan
Similar Messages
-
Access Address Book from other applications
Hi there,
How can I access Address Book information from other applications (notably the command line, OpenOffice, etc.)?
In particular, is there a command line utility to access and edit the Address Book?
Thanks!
BrianOne of the best answers would have been the CPAN module: Mac::Glue. Cheers.
-
Unable to receive special characters in XML using UTL_HTTP request from Other application
Hi Team,
We are using SOAP request in Oracle Application to Pull XML data from Other application.I am using below commands before receving response but still i am unable to receive special charcters/Spanish Charcters in XML.
utl_http.set_body_charset(v_http_req, 'UTF-8');
utl_http.set_header (v_http_req, 'Content-Type', 'text/xml');
Thanks and Regards,
RaghulHello,
Just when you think that you know everything, it is slammed in your face that you don't. The .Mac member name field in the System Preferences DOES NOT take your whole e-mail address. It only takes your user name or whatever comes BEFORE the "@" symbol. There was absolutely nothing wrong with my MacBook Pro (other than ther brain dead user).
Sorry for wasting your time...
If we learn from our mistakes, then I obtained my PhD years ago,
Dr. Z. -
Access UME from Webdynpro Application
Access UME from Webdynpro Application u2013 display the user attributes from Webdynpro iview
How to go for this...??
Edited by: saurav mago on Sep 1, 2008 6:45 PMHello Saurav,
Try this:
import com.sap.security.api.IUser;
import com.sap.security.api.IUserAccount;
import com.sap.security.api.UMException;
import com.sap.tc.webdynpro.services.sal.um.api.IWDClientUser;
import com.sap.tc.webdynpro.services.sal.um.api.WDClientUser;
import com.sap.tc.webdynpro.services.sal.um.api.WDUMException;
try {
IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
IUser sapUser = wdClientUser.getSAPUser();
if (sapUser != null) {
java.util.Iterator parentGroups = sapUser.getParentGroups(false);
while (parentGroups.hasNext()) {
String parentGroupName = (String) parentGroups.next();
if (parentGroupName.equals("GRUP.R3_ROLE_DS.Z:EP_XPTO123")) {
return true;
catch (WDUMException e) {
e.printStackTrace();
OBS.: sapUser can be used to access a lot of info regarding the user.
OBS.: you need to add a reference to "com.sap.security.api.sda", that is in the default SC SAP_JEE, if I well remember.
Regards,
Douglas Frankenberger -
Accessing data from other SAP system
Hi experts
I need to access data from one SAP system from other. My requirement is , perform applications (programs) in some SAP system, but using/accessing data from other SAP system .
For example, when we press F4 we get the match code (search help) for the field ; that window is alredy created by SAP and it shows the data for that field . Of course the application (ike any other program/application) read the data from the SAP system is being executing ; well i need execute that match code but show (taking) the data from other SAP system; i not refer to other MANDT in same system but other SAP system.
The communication between SAP1 system and SAP2 system is already created from BASIS.
My doubt is how can i execute that standard application (search help) but 'invoke' to standard application this take data from other system ?
I guess i can create Z search help wich call a Z Function (RFC) to get the data required from the other system ;
or maybe enhance the standar search help to call that Z RFC ; but standard application search help is already created and this access the data in several ways or places of code , and this has severals sub-windows and search features ; and i just need execute exactly same search help but accesing data from the other SAP system ; so my doubt is, is there some way to indicate to SAP the applications always (wherever) these applications acces the data do it but from other SAP system,
like if we 'redirect' the Data Base to other SAP system.
SAP1 applications are being executing -
> but all data (records) are taking from SAP2
Maybe the first suggestion is simply why do not we execute applications in SAP2 instead SAP1 , that's because the version package in SAP2 system (where we have the data) does not support some (non SAP) applications we need to use.
Excuse the long thread. Does somebody can help, any idea ?
Best Regards
FrankHi Frank,
Below are my thoughts, these are only conceptual and haven't had an opportunity to try these possibilities, also not sure if this is the right thing.
1) Create an entry in DBCON using TCode: DBCO for the Database of system SAP2. Now in the application of SAP1 use the "SET CONNECTION" construct as the very first statement, so that consecutive SQL statements will point at the DB of SAP2.
2) I have read somewhere that the Work Processes are connected to the Default database and i am not sure if you can change this setting, but if you can and provided you have have multiple application servers in your SAP1 landscape, then pick one of the application servers and change the settings on the WP to point at the DB of SAP2, you have the end users login to this particualr app server.
3) If there are multiple app servers in SAP1 landscape, then choose one of the app servers and change the default database setting to point at DB of SAP2.
Regards,
Chen -
What does "Easily import photos from other applications" really mean?
What does "Easily import photos from other applications" really mean in the Lightroom 4 features list? I also see it stated as "...from other software" as well. Yes, I understand the LR can import from Elements libraries but can't find any reference to other applications anywhere, not in the online help, not in the user guide, not in any videos on Adobe TV. It would be nice if LR could see into iPhoto or Aperture libraries but that doesn't appear to be the case. Is that assumption correct? What other applications can LR import from?
Hello bbb34vball,
Since that article didn't help, I would suggest trying the steps in this article next:
iOS: Unable to import photos to computer - Apple Support
If that doesn't resolve your issue, you may find more information by using another one of Apple's support resources - https://getsupport.apple.com/GetproductgroupList.action.
Regards,
Jeff D. -
Error while accessing Travel and Expense application using IE9
Hi Experts,
We are getting error while trying to access Travel And Expense applications using Internet Explorer 9.
Error description---Sorry your browser/program is not supported by web dynpro.Hi Sanjeev,
As of now webdynpro is supporting upto IE8 only. Even i too face the problem with IE 9 :(.
Regards
Srinivas -
put movies in itunes on one computer why does it not show up when i access itunes from other computers or ipad2?
i just purchased a file that had videos in it. i put them in the itunes library on my pc where i first downloaded them. i was able to transfer them to my other pc, a laptop, through my home network. i am now trying to get them on my mac pro desktop and my ipad2. my mac pro can see the other computers on my home network but i cannot get it to connect to them. i know the operating systems are different but was hoping i could transfer pictures and files from pc to mac this way. haven't been able to get it to work yet. the videos i am trying to get my mac to see came in a folder with both mac and pc versions. i thought if i got the videos i purchased into itunes that i would then be able to get them to my mac pro and my ipad2. i am new to mac/apple and have always been pc-centric so trying to marry it all has been difficult. i speak pc pretty well but am just learning apple. am i trying to do things that are not possible? i sure could use a knowledgable friendly soul to walk me through my issues of having pc and mac on the same network. i have been able to get all computers and ipad to print on my network. thanks.
-
Best way To get data from another application using NDDE lbrary
My vb.net application gets data from another application using NDDE Library. I got stocks prices (open,high,low,close,volume,change......(about 15 records for each stock)) (about 200 stocks) . I don't know if there is a problem in my code.
This is my code:
l : is the list of stocks.
This Sub connects to server and requests the data :
Public Shared Sub GetQuotes()
Try
client1 = New DdeClient(server, topic)
client1.Connect()
For i As Integer = 0 To l.Count - 1
client1.StartAdvise("QO." & l(i).t & ".TAD$last", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$open", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$high", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$low", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$pclose", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$volume", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$date", 1, True, 60000)
client1.StartAdvise("QO." & l(i).t & ".TAD$time", 1, True, 60000)
Next
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
and then I get the data from Client_advise sub (called each time a value changed )and fill the list. What I know is that client advise gets only one record for single stock each time is called..
Example: for stock AAPL. 1st time enters client_Advise I get open price for AAPL, 2nd time I get high price for AAPL,3rd time I get low price..... and I update the value in the List (l)
This the client_Advise Sub:
Private Shared Sub client1_Advise(ByVal sender As Object, ByVal e As NDde.Client.DdeAdviseEventArgs) Handles client1.Advise
For q As Integer = 0 To l.Count - 1
If l(q).t = w(1) Then
Dim item() As String = e.Item.Split("$")
If l(q).Open = "#" Then
l(q).Open = "0"
End If
If l(q).hi = "#" Then
l(q).hi = "0"
End If
If l(q).lo = "#" Then
l(q).lo = "0"
End If
If l(q).Close = "" Or l(q).Close = "#" Then
l(q).Close = "0"
End If
If l(q).pclose = "#" Then
l(q).pclose = "0"
End If
If item(1) = "open" Then
l(q).Open = Format(Val(e.Text), "0.00")
ElseIf item(1) = "last" Then
l(q).Close = Format(Val(e.Text), "0.00")
ElseIf item(1) = "high" Then
l(q).hi = Format(Val(e.Text), "0.00")
ElseIf item(1) = "volume" Then
l(q).Volume = Val(e.Text)
ElseIf item(1) = "low" Then
l(q).lo = Format(Val(e.Text), "0.00")
ElseIf item(1) = "pclose" Then
l(q).pclose = Format(Val(e.Text), "0.00")
If l(q).pclose <> "" And l(q).pclose <> "#" And l(q).Close <> "" And l(q).Close <> "#" Then
l(q).c = Format(l(q).Close - l(q).pclose, "0.00")
l(q).cp = Format(((l(q).Close - l(q).pclose) / l(q).pclose) * 100, "0.00")
End If
l(q).flag1 = 2
ElseIf item(1) = "date" Then
l(q).Date1 = e.Text
ElseIf item(1) = "time" Then
l(q).Time = e.Text
End If
Exit For
End If
Next
End Sub
Am I doing something wrong which inreases CPU usage to 80 or 90 % ?
Thanks in advance.Hi MikeHammadi,
According to your description, you'd like to get data from another app using NDDE library.
When using the NDDE library, the CPU usage is high. As the NDDE library is third-party library, it is not supported here. I suggest you checking if the problem is caused by the NDDE library.
If you'd like to get data from another app. I suggest you could save the data in the dataBase, and then read it in another application if necessary.
If you have any other concern regarding this issue, please feel free to let me know.
Best regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Is Jolt usable from other application servers?
Hi All
Is Jolt usable from application servers other than Weblogic?
Thanks,
RobRob,
WTC is usable only from Weblogic. Jolt is usable
from other application servers.
Bob Finan
"Rob" <[email protected]> wrote in message
news:3f4fed5b$[email protected]..
>
Hi All
Is the Weblogic Tuxedo Connector usable from other application servers?I'm primarily
interested in using the WTC from JBoss.
Additionaly, does anyone know if Jolt is usable from application serversother
than Weblogic?
Thanks,
Rob -
Transfer postings from other application components to accounting
Hi expert, we have to transfer posting from other application components(SD,MM) (system A) to accounting (system B, FI/CO module only).
Is there any related documents of this aspect?
Best wishes,
EvanHi!
It will be not so easy. You have to set up an interface between the 2 systems.
If you are using IDoc based interface, you can send IDocs from SD, when an invoice is enable to accounting.
You might check out user exits (programs) RV60AFZA, RV60AFZB for this.
Sorry, but this task will be not ready in 10 minutes...
Regards
Tamá -
Create DLL from labview and calling it from other application
I have an application built using Labview. I wanted to create DLL out of it. The application has
two String inputs start and stop buttons and two status indicators.
1. How to itegrate start and stop buttons from function prototype?
2. Does Labview created DLLs requires labview runtime engine when it is to be called from other application?
Can some one help on this.
Solved!
Go to Solution.Hi Yuvish,
1) They should be boolean inputs to your VI. But does it makes sense to provide a stop button input at the start of your VI? (THINK DATAFLOW!)
2) Yes, the LV-RTE is needed...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Hide an error from the application using a servererror trigger?
We have an application designed for an old oracle version which issues some sql which is no more supported in todays database version.
We want to use the application unchanged with a new database server.
Old Server Version: 7.3.4 (still in production...)
New Server Version: 10.2 or 11.2
The application issues an
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS ;
which results in ORA-01986 and the application dies.
We would like to hide the error 01986 from the application using a trigger:
create or replace
trigger catch01986
after servererror
on schema
begin
if (ora_is_servererror (1986)) then
null; -- what to do here? we want clear the ora-01986 from the error stack
end if;
end catch01986;How to handle the error, so that the alter session set ... statement is just ignored and no error code is returned to the application?
I asked already some days ago in Database-General Forum, but triggers belong to PL/SQL, so i repost here.
Tnx for help in advance!Hi,
hoek wrote:
A totally weird and untested (and unable to test today) thought:
http://technology.amis.nl/blog/447/how-to-drive-your-colleagues-nuts-dbms_advanced_rewrite-oracle-10g
Very interesting for real dirty solution.
Does not work for my problem, DBMS_ADVANCED_REWRITE works only for select statements.
BEGIN
SYS.DBMS_ADVANCED_REWRITE.DECLARE_REWRITE_EQUIVALENCE (
'alter_session_equivalence',
'ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS',
'ALTER SESSION SET OPTIMIZER_MODE = RULE',
FALSE);
END;
ORA-30389: the source statement is not compatible with the destination statement
ORA-00903: invalid table name
ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 29
ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 185
ORA-06512: at line 2
30389. 00000 - "the source statement is not compatible with the destination statement"
*Cause: The SELECT clause of the source statement is not compatible with
the SELECT clause of the destination statement
*Action: Verify both SELECT clauses are compatible with each other such as
numbers of SELECT list items are the same and the datatype for
each SELECT list item is compatible
hoek wrote:You already had some trigger code, catching the error and sending it to null, why didn't that work?The trigger is fired when the error occurs, but after completion of the trigger, the error code is still delivered to the client.
I dont know how to handle the error within the trigger.
Does the client read the error stack and does it die after reading an error from the stack?The client just checks the error code. On error it terminates.
With the SERVERERROR TRIGGER i did the following tests:
Test 1: trigger does nothing
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
NULL;
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-01986: OPTIMIZER_GOAL is obsolete
01986. 00000 - "OPTIMIZER_GOAL is obsolete"
*Cause: An obsolete parameter, OPTIMIZER_GOAL, was referenced.
*Action: Use the OPTIMIZER_MODE parameter.
-- Client Application reports errorcode 1986Test 2: Trigger raises NO_DATA_FOUND
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
RAISE NO_DATA_FOUND;
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-04088: error during execution of trigger 'AH.CATCH01986'
ORA-01403: no data found
ORA-06512: at line 9
ORA-01986: OPTIMIZER_GOAL is obsolete
04088. 00000 - "error during execution of trigger '%s.%s'"
*Cause: A runtime error occurred during execution of a trigger.
*Action: Check the triggers which were involved in the operation.
-- Client Application reports errorcode 4088Test 3: Trigger raising an APPLICATION ERROR
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
END IF;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-00604: error occurred at recursive SQL level 1
ORA-20999: this makes no sense
ORA-06512: at line 10
ORA-01986: OPTIMIZER_GOAL is obsolete
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
-- Client Application reports errorcode 604Test 4: Adding an EXCEPTION part to the trigger does not help, this will catch only exceptions raised while the trigger executes:
CREATE OR REPLACE
TRIGGER CATCH01986
AFTER SERVERERROR
ON SCHEMA
BEGIN
IF (ORA_IS_SERVERERROR (1986)) THEN
DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
END IF;
EXCEPTION
WHEN OTHERS THEN
NULL;
END CATCH01986;
ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
ORA-01986: OPTIMIZER_GOAL is obsolete
01986. 00000 - "OPTIMIZER_GOAL is obsolete"
*Cause: An obsolete parameter, OPTIMIZER_GOAL, was referenced.
*Action: Use the OPTIMIZER_MODE parameter.
-- Client Application reports errorcode 1986So i do not know what to do inside the trigger to clean the error stack so that the client will receive no errorcode. -
Firefox v33 knocked out my Adobe 7 pro PDF printer plugin. PDFs print OK from other applications. It happened a few times randomly, and it seemed to resolve spontaneously, but now it is persistent.
I've done scans for malware, which I suspected, but nothing showed up, nor corrected it with cleaning.
I had this problem before, and I found directions on how to rest the printer within Firefox, but I've forgotten how or where I got it.
I did try to re-install in control panel, but this appears to be a firefox issue. How do i rest the plugin or Firefox to once again print PDFs from browser pages. I need to use this feature printing receipts etc.Are you using a toolbar button (Create PDF extension) or a printer driver (selecting Adobe PDF or Distiller in the Print dialog) to generate the PDF? Older versions of Create PDF have been reported not to work any more (by older I mean from Acrobat X or earlier), but the printing method should still work.
-
Is there a way to access object from other schema?
1. Is there a way to access object from other schema
Without using synonym/public synonym without prefixing schema owner?
2. If you do not see any object in all_objects by same name owned by connected user or public, can there still be objects hidden from this view? for instance synonyms created by SYSTEM
TIA for helpWell, you missed something somewhere. If there is no
ALTER SESSION SET CURRENT_SCHEMA=whoeverthen there must be either public synonym for the object as this shows:
SQL> CREATE USER a identified by a;
User created.
SQL> GRANT CREATE SESSION to a;
Grant succeeded.
SQL> CREATE USER b identified by b;
User created.
SQL> GRANT CREATE SESSION, CREATE PROCEDURE, CREATE PUBLIC SYNONYM to b;
Grant succeeded.
SQL> connect b/b
Connected.
SQL> CREATE PACKAGE test AS
2 PROCEDURE testit;
3 END;
4 /
Package created.
SQL> CREATE PACKAGE BODY test AS
2 PROCEDURE testit IS
3 BEGIN
4 NULL;
5 END;
6 END;
7 /
Package body created.
SQL> connect a/a
Connected.
SQL> desc b.test
ERROR:
ORA-04043: object b.test does not exist
SQL> connect b/b
Connected.
SQL> GRANT EXECUTE ON test TO a;
Grant succeeded.
SQL> connect a/a
Connected.
SQL> desc b.test;
PROCEDURE TESTIT
SQL> desc test;
ERROR:
ORA-04043: object test does not exist
SQL> connect b/b
Connected.
SQL> CREATE PUBLIC SYNONYM test FOR TEST;
Synonym created.
SQL> connect a/a
Connected.
SQL> desc test
PROCEDURE TESTITAnother possibility without public synonyms is that crv had granted the other user privileges on some object, and the other user creates a private synonym for that. When crv granted privileges on a different object with the same name, the private synonym became valid again. Something like:
SQL> connect /
Connected.
SQL> drop public synonym test;
Synonym dropped.
SQL> GRANT CREATE SYNONYM TO a;
Grant succeeded.
SQL> connect a/a
Connected.
SQL> desc test;
ERROR:
ORA-04043: object test does not exist
SQL> desc b.test
PROCEDURE TESTIT
SQL> CREATE SYNONYM test FOR b.test;
Synonym created.
SQL> desc test;
PROCEDURE TESTIT
SQL> connect b/b
Connected.
SQL> REVOKE EXECUTE ON test FROM a;
Revoke succeeded.
SQL> connect a/a
Connected.
SQL> desc test;
ERROR:
ORA-04043: object "B"."TEST" does not exist
SQL> desc b.test
ERROR:
ORA-04043: object b.test does not exist
SQL> connect b/b
Connected.
SQL> DROP PACKAGE test;
Package dropped.
SQL> CREATE FUNCTION test (p_num IN NUMBER) RETURN NUMBER AS
2 BEGIN
3 RETURN p_num * 10;
4 END;
5 /
Function created.
SQL> GRANT EXECUTE ON test TO a;
Grant succeeded.
SQL> connect a/a
Connected.
SQL> desc test;
FUNCTION test RETURNS NUMBER
Argument Name Type In/Out Default?
P_NUM NUMBER INSo, I would go looking for the synonyms.
TTFN
John
Maybe you are looking for
-
ITunes stops working when I use ibooks or itunesu. I have just upgraded to itunes 11.1.1. I use windows 7 64 bit.
-
Hi ABAP experts!!! I'm a CRM consultant and a dont know ABAP enough so your help is appreciated! I have a big problem, my ADRC table dosent update any Persons BPs, only organizations... I need to use the filed FLAGCOMM6 in a CRM functionality (segme
-
What will happen if I reset my phone
I don't want to lose my pictures or contacts
-
Hi all, I'm hoping you can help with this one. In order to upload some photos to the internet they need to be not more than 100 pixels wide by 100 pixels in height, they must also be not more than 10KB in file size. My Aperture photos are normally ar
-
HT1369 how to resolve the error 1015 code
why my iphone 3g cannot restore and update the hardware and firmware? it i try to click the restore and update at itunes, the error code is 1015.