Auto sign-on for Oracle Portal ?
How do handle auto sign-on for Oracle Portal ?
I am using Oracle Portal for my home page which should not have any login to the page.
Just define your homepage as available to public. Then as PORTAL30, edit the user PUBLIC and make your homepage his default page. This way, when a user connects to your site, your page will be displayed without any login required. Note that the user will not have any personalized content until they log on and identify themselves.
Similar Messages
-
Advanced Development Techniques for Oracle Portal Components
Hello friends,
I have the following problem. I have a report and a form (on a
view) in the same page, and when I select an item of the report
the form is refreshed with the values associated to the selected
item. The problem is that it makes it with delay, the first
selection doesn't show anything and the remaining sample the
data of the previous selection.
This application has been developed as Ken Atkins explains in
its document "Advanced Development Techniques for Oracle Portal
Components."
Oracle Portal Version: 3.0.9.8.0
Thanks in advance.
This is my code:
-- REPORT --
SELECT '<A HREF="http://mipc/portal30/
ALFONSO.refrescar_contenido?
p_variable=nombre_preferencia&p_variable_valor='||nombre_preferen
cia||'&p_pagina=61">'||Preferencias||'</A>' nombre_link
FROM ALFONSO.PREFERENCIAS
-- PROCEDURE TO REFRESH THE PAGE --
CREATE OR REPLACE PROCEDURE refrescar_contenido(p_varible IN
VARCHAR2,
p_variable_valor IN varchar2,p_pagina IN
VARCHAR2) IS
v_Sesion portal30.wwsto_api_session;
BEGIN
v_Sesion := portal30.wwsto_api_session.load_session
('CONTEXT','SESS_EMP');
v_Sesion.set_attribute(p_varible, p_variable_valor);
v_Sesion.save_session;
owa_util.redirect_url('http://mipc/servlet/page?
pageid='||ppagina||chr(38)||'_dad=portal30'||chr(38)
||'_schema=PORTAL30'||chr(38)||'_mode=3');
END;
-- FORM --
-- ... BEFORE DISPLAYING THE PAGE
alfonso.consulta_preferencia(p_session);
-- PROCEDURE consulta_preferencia --
CREATE OR REPLACE PROCEDURE consulta_preferencia(p_session in
out PORTAL30.wwa_api_module_session) IS
v_RowID VARCHAR2(100);
v_Session portal30.wwsto_api_session;
v_nombre VARCHAR2(40);
BEGIN
v_Session := portal30.wwsto_api_session.load_session
('CONTEXT','SESS_EMP');
v_nombre := v_Session.get_attribute_as_varchar2
('nombre_preferencia');
IF v_nombre IS NOT NULL THEN
BEGIN
SELECT rowidtochar(rowid) INTO v_RowID
FROM ALFONSO.VISTAPREFERENCIAS
WHERE nombre_preferencia = v_nombre;
-- VISTAPREFERENCIAS it is the view in which the form is
based.
END;
-- Tell the component that the query is coming from a link,
and that the rowid
-- is being used to query the correct context record.
p_session.set_value (p_block_name=>'DEFAULT',
p_attribute_name=>'_CALLED_FROM_LINK'
,p_value=>'ROWID');
-- Pass the rowid of the context record to query.
p_session.set_value (p_block_name=>'DEFAULT',
p_attribute_name=> '_ROWID'
,p_value=> v_RowID);
-- Now do the actual query, using the query button
processing in the target module
portal30.wwa_api_module_event.do_event
('DEFAULT','QUERY_TOP',1,'ON_CLICK',True,'',p_session);
-- Save the session information, which includes the
p_session.save_session;
END IF;
END;
/You can make the report with a procedure from which you may call to a form by means of a link. It is a possibility, no??
It is better a example:
TABLE A
campo1 VARCHAR2 (20)
campo2 VARCHAR2 (20)
CREATE OR REPLACE PROCEDURE REPORT IS
v_cursor NUMBER;
sentencia VARCHAR2(200);
vnumfilas NUMBER;
rowid_pref VARCHAR2(18);
v_campo1 <schemaname>.A.campo1%TYPE;
v_campo2 <schemaname>.A.campo2%TYPE;
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('</HEAD>');
htp.p('<BODY>');
sentencia := 'SELECT rowidtochar(rowid), campo1, campo2 FROM A';
DBMS_SQL.PARSE(v_cursor,sentencia,DBMS_SQL.V7);
DBMS_SQL.DEFINE_COLUMN(v_cursor,1,rowid_pref,18);
DBMS_SQL.DEFINE_COLUMN(v_cursor,2,v_campo1,20);
DBMS_SQL.DEFINE_COLUMN(v_cursor,3,v_campo2,20);
vnumfilas := DBMS_SQL.EXECUTE(v_cursor);
LOOP
IF DBMS_SQL.FETCH_ROWS(v_cursor)=0 THEN
EXIT;
END IF;
DBMS_SQL.COLUMN_VALUE(v_cursor,1,rowid_pref);
DBMS_SQL.COLUMN_VALUE(v_cursor,2,v_campo1);
DBMS_SQL.COLUMN_VALUE(v_cursor,2,campo2);
v_link := '<A href="PORTAL30.wwa_app_module.link?p_arg_names=_moduleid'||chr(38)||'p_arg_values=<form's moduleid>'||chr(38)||'p_arg_names=_rowid'||chr(38)||'p_arg_values='||rowid_pref||chr(34)||'>'||campo1||'</A> '||campo2||' <BR>';
htp.p(v_link);
END LOOP;
htp.p('</BODY>');
htp.p('</HTML>');
END;
the form has to be based on the table A.
I dont know if this example has errors, but have you the idea??
I hope it helps you out.
(Excuse my english) -
Automated tool to convert from Forms to Dynamic Page for Oracle Portal?
Hi Experts,
We are thinking to convert majority of the forms in our portal to dynamic pages. Is there any tool to automate the conversion from Forms to Dynamic page for Oracle Portal 9.0.4.1.0?
Thanks, AbbasDear Abbas,
You seem to have two issues... ;-)
If you are finding the Forms are getting corrupt very easily, I'd suggest you go and open a Service Request into Oracle Support (http://metalink.oracle.com). There are a couple of ways where you can have these not corrupted (depeding on the Portal version you are in) and if there isn't yet a way you may get a bug logged and fixed within the next patchset eventually (improving the product functionality).
As to changing it to a dynamic page it might give you a bit more flexibility... yeah. It really depends on what you desire to do. I'd slowly start to code them in this way if your goal is this. As to the former coded forms unfortunately as I've said there isn't a strait way to do that, so you may do this slowly in time...
I hope it helps you a bit further...
Cheers,
Pedro. -
Wich oracle database i need to buy(license) for oracle portal
wich is better oracle database i need to buy(license) for oracle portal (10g)
Hmmm... I'm not too sure. But we use 10.1.4.
Try contacting your nearest Oracle reseller I guess! -
Has anyone example css configuration for Oracle Portal ?
The CSS does not have any specific Oracle Internet Directory (OID) Mibs or Oracle Portal , or directory Mibs per say. It does however comply to standard MIB II Mibs vendor extinctions to configure with SNMP.
-
Problems with Macromedia Extension for Oracle Portal
Hello,
Iâm learning about Oracle portal 10g(3.0.4). I'm having some problems about Oracle portal. Please help me as soon as possible.
I created an Web Template using Dreamweaver MX 2004, and I´m tring to send this template to Oracle Portal through dreamweaver webservice (dreamweaver_webservice.zip) using Dreamweaver extension (dreamweaver_extension.zip) but when I try to connect using the extension to send my template I get Invalid Login message (I tried all possible passwords and logins for Oracle Portal and OracleAS). Please Help!
Please help me or give me any materials about oracle portal. I want to study about this subject so if you have books in pdf format please send me.
[email protected]
thanks
DouglasWhen I try to open the url with the ORMI port in the brownser I get this error message:
Invalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol
Ports I have tryed : 1852 and 3202
ex:
http://<host>:<port>/portalTemplate/portalTemplate -
How to create a omniportlet for oracle portal with apex
Hello everyone!
Is there someone who knows how to create a omniportlet?
This is for openning an application in apex from oracle portal using single sign on.
Could you explain me step by step how to do this please?
Thank you.
RegardsHello Erik,
Please check if the following can help you - http://www.oracle.com/technology/products/database/application_express/howtos/omniportlet_index.html .
Regards,
Arie. -
Sample PL/SQL Portlet Source Code for Oracle Portal 9ias
Hi, I'm a newbie of Oracle Portal technology, and I have a problem:
I would create a PL/SQL portlet that realizes the following functions:
1) Retrieve the username of the portal user logged from WWCTX_API.GET_USER function.
2) Insert into an oracle db table two values about two hidden fields in the HTML FORM of the portlet.
3) Realize the insert commit through the click on the submit button on the Html form of the portlet. I would redirect by the same button to an other page url also.
I've never developed in Portal, and may be useful if someone could post me the source code of the SHOW MODE SECTION in the PROCEDURE SHOW of a SAMPLE PL/SQL PORTLET that realizes the upper functions.
Thanks a lot....Hi
Here's the code from Helloworld_Portlet example:
procedure show
p_portlet_record wwpro_api_provider.portlet_runtime_record
is
l_portlet wwpro_api_provider.portlet_record;
begin
if (not is_runnable(
p_provider_id => p_portlet_record.provider_id
,p_reference_path => p_portlet_record.reference_path)
) then
raise wwpro_api_provider.PORTLET_SECURITY_EXCEPTION;
end if;
Retrieve the portlet information.
l_portlet := get_portlet_info(
p_provider_id => p_portlet_record.provider_id
,p_language => p_portlet_record.language
if (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW) then
if (p_portlet_record.has_title_region) then
Draw the portlet header and specify what links are available
from that header (i.e. details, customize, help, and about).
The has_title property is set at the page region level.
wwui_api_portlet.draw_portlet_header
p_provider_id => p_portlet_record.provider_id
,p_portlet_id => p_portlet_record.portlet_id
,p_title => l_portlet.title
,p_has_details => true
,p_has_edit => true
,p_has_help => true
,p_has_about => true
,p_referencepath => p_portlet_record.reference_path
,p_back_url => p_portlet_record.page_url
end if;
Draw the portlet borders.
The has_border property is set at the page region level.
wwui_api_portlet.open_portlet(p_portlet_record.has_border);
Display the content of the portlet in the show mode.
Use the wwui_api_portlet.portlet_text() API when
generating the content of the portlet so that the
output uses the portlet CSS.
htp.p(wwui_api_portlet.portlet_text(
p_string => 'Hello World - Mode Show'
,p_level => 1
if (p_portlet_record.has_border) then
wwui_api_portlet.close_portlet;
end if;
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_ABOUT) then
Display the about page for the portlet.
htp.p('Hello World - Mode Show About');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT) then
Display the edit page for the portlet.
htp.p('Hello World - Mode Show Edit');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_HELP) then
Display the help page for the portlet.
htp.p('Hello World - Mode Show Help');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT_DEFAULTS) then
Display the edit defaults page for the portlet.
htp.p('Hello World - Mode Edit Defaults');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_DETAILS) then
Display the details page for the portlet.
htp.p('Hello World - Mode Show Details');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_PREVIEW) then
Display the preview page for the portlet.
htp.p('Hello World - Mode Show Preview');
end if;
end show;
I think you need to add this:
You can get the values of your html-form with this command:
v_hidden_1 varchar2(256);
v_hidden_2 varchar2(256);
v_hidden_1 := wwpro_api_parameters.get_value('name_of_hidden_1_in_html_form','p');
v_hidden_2 := wwpro_api_parameters.get_value('name_of_hidden_2_in_html_form','p');
You can get the actual URL with this command:
v_url := p_portlet_record.page_url;
Hope that helps.
Regards,
Mark -
i work with portal 10.1.4
2 questions:
Is possible to display in my portal the online users or how many are visited every day the portal ?
i try but i dont cant update my portal to latest version 10.1.4.2.
10.1.4.2 buider have differences from 10.1.4? New features?
thanks,A quick and dirty way may be to count your logins from wwctx_sso_session$ :
select count(1) from WWCTX_SSO_SESSION$ where SESSION_START_TIME > (sysdate-24) and USER_NAME != 'PUBLIC' ;
This will give you the number of users who have logged on during a 24 hour interval. It doesn't filter out multiple user logins.
Regarding 10.1.4.2 :
It is a patch set on top of Portal 10.1.4. By definition, patch sets should not include any functionality changes. Oracle has added generation of HTML 4.01 Strict for your Portal however. Keep in mind however that you are not having all the fixes which have been incorporated in the patch set. Especially the web cache - PPE communication may be a bit buggy in some cases. -
DR solution for OracleAS Portal 10g
Hi
I have to think about a disaster recovery (DR) solution for OracleAS Portal10g.
Location1: Primary
Location2: DR System
SAN Storage used between Location1 + 2.
The disaster case happens only once a year. (test)
In DR case, OS technical It would be possible to use the same DNS (hostname) on Location 2 like Location 1.
Oracle advises to use Dataguard or cluster solutions.
Do you know if our way would be a walkable and supportable way?
Thanks
RetoThis is a worthwhile course, but not for learning about Oracle Instant Portal (which was released after the Build Corporate Portals course was written). The best place to start finding out about Oracle Instant Portal is the self-paced Oracle By Example (OBE) tutorial, Building Instant Portals with Oracle Instant Portal. The tutorial also has links to a couple of viewlets, which you should find helpful.
Cheers!
Julie Tower
Principal Curriculum Developer
OracleAS Portal -
What version of JDeveloper I need for Oracle Portal portlets
What version of JDeveloper I need for building Portlets who work
on Oracle Portal????
ThanksAparently only up to 10.1.2 is supported. :(
-
What version of JDeveloper I need for Oracle Portal portals
What version of JDeveloper I need for building Portlets who work
on Oracle Portal????
ThanksAparently only up to 10.1.2 is supported. :(
-
Configuring a Apache Reverse Proxy for OracleAS Portal and OracleAS Single
I'm trying to implement my Oracle Portal 10g Release 2 with a reverse proxy (Apache 2.2) as described in this link: http://download.oracle.com/docs/cd/B14099_19/core.1012/b13998/variants.htm#BEIFECEH without success. I have Oracle Portal, Oracle SSO,OID in the same domain and Apache Reverse Proxy in another domain. Has anyone had success using OracleAS Portal with a reverse proxy?
First of all i'm trying to configure a reverse proxy only for Ora SSO (infra tier). Here is what i already do:
APACHE REVERSE PROXY (Apache 2.2)
http:/proxy.mycompany.com:80
ProxyRequests off
ProxyPassInterpolateEnv On
ProxyPass / http:/portal.tech.everett.it:7777/
ProxyPassReverse / http:/portal.tech.everett.it:7777/
ProxyPreserveHost On
ORACLE SSO
http:/portal.mycompany.com:7777
Here are the steps i already do:
1- CONFIG OID
create an ldif file called setdasurl.ldif and insert as follow:
dn:cn=OperationURLs,cn=DAS,cn=Products,cn=OracleContext
changetype: modify
replace: orcldasurlbase
orcldasurlbase: http:/proxy.mycompany.com/
then do ldapmodify as follow:
ldapmodify -x -h portal.mycompany.com -p 3060 -D "cn=orcladmin" -w password1 -v -f setdasurl.ldif
2- CONFIG ORA SSO (as gentjan user)
export ORACLE_HOME=/home/gentjan/product/10.1.2/OracleAS/infra/
2.1-config Apache config of ORA SSO
vi $ORACLE_HOME/Apache/Apache/conf/httpd.conf
change from:
ServerName portal.mycompany.com
Port 7777
KeepAlive On
to:
ServerName proxy.mycompany.com
Port 80
KeepAlive Off
and add at the end of httpd.conf
RewriteEngine On
RewriteOptions inherit
2.2- update DCM Repository (as root)
*$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
2.3- modify SSO Server Home URL to reverse proxy hostname and port (as root)
*$ORACLE_HOME/sso/bin/ssocfg.sh http proxy.mycompany.com 80*
2.4- Updating the targets.xml File
Open the ORACLE_HOME/sysman/emd/targets.xml file and locate the target type oracle_sso_server.
vi $ORACLE_HOME/sysman/emd/targets.xml
Update the HTTPMachine and HTTPPort attributes with the proxy server host and port attributes that were passed to ssocfg. For example:
Property NAME="HTTPMachine" VALUE="proxy.mycompany.com"
Property NAME="HTTPPort" VALUE="80"
Property NAME="HTTPProtocol" VALUE="http"
Save and close the file.
Reload the Application Server Control Console by issuing this command (as gentjan):
*$ORACLE_HOME/bin/emctl reload*
2.5- Re-register mod_osso on SSO Middle-tier with reverse proxy hostname and port
some needed permissions
chmod -R 775 /home/gentjan/product/10.1.2/OracleAS/infra/dcm/
Re-register mod_osso (as gentjan)
*$ORACLE_HOME/sso/bin/ssoreg.sh -oracle_home_path /home/gentjan/product/10.1.2/OracleAS/infra -site_name infra.proxy.mycompany.com -config_mod_osso TRUE -mod_osso_url http:/proxy.mycompany.com:80 -update_mode MODIFY*
2.6- update DCM Repository (as root)
*$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
2.7- Restart OC4J_Security and Oracle HTTP Server at Infrastructure tier
*$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=HTTP_Server*
*$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=OC4J_SECURITY*
After this modifications my reverse proxy is ok.
I can access to http:/proxy.mycompany.com:80 and this redirect me to Oracle Application Server Welcome page.
If i try http:/proxy.mycompany.com/pls/orasso/orasso.home, i can view the SSO Server Home page.
The problem that i find is when i click to Login page for Oracle SSO.
I have the following error:
Forbidden You don't have permission to access /pls/orasso/ORASSO.wwsec_app_priv.login on this server.
So, in other words i can't do the login/logout under reverse proxy. Anyone can help?
Gentjan -
LOST MY NORTON "AUTO SIGN IN" FOR MY SITE MEMBERSHIPS WHEN I UPDATED TO FIREFOX4.
hello,
when i updated to fire fox 4, i noticed that my norton auto sign in tab disappeared from the tool bar. i believe that an updated version of it was required for compatibility with firefox4.
although i like the small taste of ff4 that i had for the last hour or so, i really would like to have my norton tab back. is there anyway to have both? if not i hope i can go back to ff3.6.
any suggestions would be appreciated.
thank you,
m@Symantec have a history of being slow when it comes to updating their software to work with new releases of Firefox. They have already indicated that they will not be updating Norton 360 to make it work with Firefox 4 until early May.
If you want to go back to Firefox 3.6 pending Symantec updating their software, you can uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
You can then install Firefox 3.6.* available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles -
Configuring GZip for OracleAS Portal
How do you configure gzip with OracleAS portal.
Currently i have added the gzip jar file in my application, and configured the same through the Web.xml file as
<filter>
<filter-name>Compress</filter-name>
<filter-class>com.appln.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Compress</filter-name>
<url-pattern>/portal</url-pattern>
</filter-mapping>
However the GZipFilter class is not getting invoked.
I think the problem is the the way the url-pattern is written.
Can someone please tell me how could this be written, so that the gzip utility is activated.
Regards,
MuktaHow do you configure gzip with OracleAS portal.
Currently i have added the gzip jar file in my application, and configured the same through the Web.xml file as
<filter>
<filter-name>Compress</filter-name>
<filter-class>com.appln.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Compress</filter-name>
<url-pattern>/portal</url-pattern>
</filter-mapping>
However the GZipFilter class is not getting invoked.
I think the problem is the the way the url-pattern is written.
Can someone please tell me how could this be written, so that the gzip utility is activated.
Regards,
Mukta
Maybe you are looking for
-
I Purchased a bunch of music under an old ID and email. I no longer have the email and I can't remember the password. How can I get the music I bought unlocked so it will be loaded on my new iPod classic??
-
Creating PDF from Word loses text
Hi, using Acrobat 9.0 Pro, and creating a PDF with the toolbar icon in MS Word 2003. Occasionally, the newly created PDF will be missing two lines of text at the top of the 2nd page. This happens on the one document consistently, which is used as a t
-
Using comma (,) as a decimal separator
I know this isn't the right place to ask, but I cant get excel to use comma as a decimal separator. All is set up right in system preferences and I still cant get it to work in excel. So Im asking if any one know how to make the comma to be used for
-
Can a Salesforce lead be created automatically upon completion of an Echosign widget?
I have created an Echosign widget that is hosted on my website to collect information from potential customers. I would like the information collected in that widget to be sent to Salesforce to create a new lead. Much of the documentation I see is ho
-
Hi, I want to display the discount amount in the PLD of purchase order. The price of the material is 11225 and the discount is 15% and the discount amount is 1683.75. How can i show the discount amount in the pld.