How to change SSO Partner Application Login_url and Logout_url

As part of a deployment in a different data centre, we needed to change the domain name of an application using SSO for authentication. We have gone through the process of re-registering the SSO server but this does not update the domain name
By using diagnostic tools from Oracle we have discovered that the file 'osso.conf' in $ORACLE_HOME/Apache/Apache/conf/osso contains incorrect entries for login_url and logout_url.
These settings are of the form:
login_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_login
logout_url=http://www.ourolddomain.com/pls/orasso/orasso.wwsso_app_admin.ls_logout
Please can anyone tell me how these settings can be changed.

Hi,
[Solved] SSO fails to show success page you can find some information on re registering mod_osso.
Hope it helps.

Similar Messages

  • HOW TO SET UP PARTNER APPLICATION TO USE SSO OUTSIDE OF PORTAL

    If anyone knows how Portal switches context to run as the db user mapped to the lightweight schema and how it knows the db schema password please let me know.
    Should you have any queries please do not hesitate to contact me on 07775 896738.
    From document Oracle Portal Security Overview on PortalStudio.oracle.com:
    In Single Sign On mode (EnableSSO=Yes in the DAD), mod_plsql determines the name of the light-weight user and mapped database schema by calling
    WPG_SESSION_PRIVATE.GET_LW_USER and WPG_SESSION_PRIVATE.GET_DB_USER respectively.
    ** These calls are done using the Portal Schema (PORTAL30) and Portal schema password **
    mod_plsql then executes the procedure in the requested URL by using the N-Tier Authentication feature to connect to the database as the user returned from
    WPG_SESSION_PRIVATE.GET_DB_USER. ..... Note that N-Tier Authentication requires all schemas to be used for Portal user mappings to be granted 'connect
    through' privleges to the Portal schema (PORTAL30).
    The WWCTX packages are also used.
    So this is how it works with standard Portal
    - the document states that the WPG_SESSION_PRIVATE package is only accessible to the Portal schema
    - but I checked and it is also available to PORTAL30_SSO
    SQL> desc WPG_SESSION_PRIVATE
    PROCEDURE CREATE_SESSION
    Argument Name Type In/Out Default?
    P_COOKIE_NAME VARCHAR2 IN
    FUNCTION GET_DB_USER RETURNS VARCHAR2
    FUNCTION GET_LW_USER RETURNS VARCHAR2
    PROCEDURE GET_SESSION_INFO
    Argument Name Type In/Out Default?
    NUM_PARAMS NUMBER OUT
    PARAM_NAMES TABLE OF VARCHAR2(32000) OUT
    PARAM_VALUES TABLE OF VARCHAR2(32000) OUT
    PROCEDURE RESET_SESSION
    Argument Name Type In/Out Default?
    P_COOKIE_NAME VARCHAR2 IN
    In my case only the Login Server (PORTAL30_SSO) is going to be used/installed
    - the SAMPLE_SSO_PAPP application will only work if the DAD used to access is it set to use Basic authentication, i.e. the actual integration with the Login Server
    is done in the sample application code calls, stored in the database
    - when a DAD has enableSSO=yes it automatically accesses Portal (PORTAL30) packages to implement N-Tier authentication
    I'm currently testing:
    1. Configuring the SAMPLE_SSO_PAPP sample as documented with a DAD with Basic authentication
    2. Amending the ssoapp procedure to set context to another (db) user on successful authentication:
    wwctx_api.set_context (
    p_user_name => 'SCOTT',
    p_password => 'TIGER' );
    3. If this works then set_context with get_lw_user instead
    I have now amended the ssoapp procedure as follows to print out
    1. The userid entered when the login box is presented
    2. The Database user which the Portal Lightweight user is mapped to
    3. The Lightweight user Portal has used for authentication
    Amendments to papp.pkb:
    (ssoapp procedure, declare db_user_info and lw_user_info as VARCHAR2 in declare section)
    htp.p('Congratulations! It is working!<br>');
    db_user_info := wwctx_api.get_db_user;
    lw_user_info := wwctx_api.get_user;
    htp.p('User Information:' || l_user_info || '<br>');
    htp.p('DB User Information:' || db_user_info || '<br>');
    htp.p('LW User Information:' || lw_user_info || '<br>');
    The following shows the interesting results from my testing:
    - if the user owning the sample_sso_papp package is PORTAL30_SSO then the call to wwctx_api.get_db_user succeeds
    - if the user owning the sample_sso_papp package is a non-portal schema e.g. SSOAPP below the call to wwctx_api.get_db_user generates a User Defined exception
    Steps to test:
    Created new schema SSOAPP on the database
    - edited it in Portal and checked the use this schema for Portal users checkbox
    - created new Lightweight user SSO_LW in Portal, mapped it to SSOAPP schema
    - created new Lightweight user SSO_SCOTT in Portal, mapped to SCOTT schema
    - loadjava -user ssoapp/ssoapp@portal30 SSOHash.class
    - sqlplus portal30/portal30@portal30
    @provsyns ssoapp
    - sqlplus ssoapp/ssoapp@portal30
    @loadsdk.sql
    @loadpapp.sql
    Created DAD with basic authentication SAMPLE_SSO_PAPP
    - username: ssoapp
    - default home page: sample_sso_papp.ssoapp
    Registered the Sample SSO Partner Application with the Login Server and ran regapp.sql
    Commented out the calls to get_db_user in papp.pkb to avoid exception
    - called http://<server>/pls/sample_sso_papp
    - logged on as SSO_LW/sso_lw
    - got output:
    Congratulations! It is working!
    User Information: SSO_LW
    LW User Information: PUBLIC
    So the Portal lightweight user is not returned as SSO_LW
    if anyone knows why the Lightweight User in my test is returned as PUBLIC not SSO_LW
    Best Regards
    MIchael

    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Java SSO Partner application

    Hello,
    I configured and deployed a Java Partner Application as specified in the demo (ssosdk902.zip). I created an OC4J container and deployed all beans and jsp pages. When I try to access papp.jsp page, it presents me with sso login page but when i try to access other jsp pages under the same container like (index.jsp), it does not ask present with a sso login page. I want to protect all JSP pages under that container. Should I change home url for the SSO Partner application?
    Any help is appreciated.
    Thanks.

    creating a partner application does not automatically secure the entire directory/application. it just sets a cookie for the Login Server and the Partner Application, indicating this user is authenticated.
    if you want to secure the entire directory, you need to:
    1. lock the directory down with MOD_OSSO in partnership with the Login Server
    2. put the session checking code from papp.jsp into every page you want to secure, ensuring you have a valid and current user
    3. create an application-specific security layer for the rest of your application that defers to the Oracle Security for user authentication.
    what i'm currently doing is number 3. i have my ssoHome, that ensures i have a valid Login Server user. then i create an application session around the SSO user and use that to secure the rest of my site. if that session info ever times out, i delegate back to my ssoHome to see if they're still valid according to Oracle, and if they're not, they get sent back to the Login Server.
    this model works very well for me, and is easy to manage.
    hope that helps,
    .rich

  • ERROR :  SSO Partner application could not be registered successfully

    Hi,
    when i run txkrun.pl to register sso my regisitration fails
    perl txkrun.pl -script=SetSSOReg
    You are registering ORACLE HOME, Instance with SSO and OID Servers.
    Enter the host name where Oracle iAS Infrastructure database is installed ? hschbscgn20104.hclt.corp.hcl.in
    Enter the LDAP Port on Oracle Internet Directory server ? 389
    Enter SSL LDAP Port on Oracle Internet Directory server ? 636
    Enter the Oracle Internet Directory Administrator (orcladmin) Bind password ?
    Enter the instance password that you would like to register this application instance with ?
    Enter Oracle E-Business apps database user password ?
    *** Log File = /data/vis/inst/apps/VIS_hschbscgn20118/logs/appl/rgf/TXK/txkSetSSOReg_Fri_Nov_19_10_05_55_2010.xml
    Beginning input parameter validation for Oracle Home Instance registration.
    *** ALERT: This Oracle Home Instance is already registered. Oracle Home Instance Registration will be skipped.
    Input parameter validation for Oracle Home Instance registration completed.
    Beginning input parameter validation for SSO registration.
    Input parameter validation for SSO registration completed.
    Beginning input parameter validation for OID registration.
    Input parameters validation for OID registration completed.
    BEGIN SSO REGISTRATION:
    Beginning to register partner application.
    *** ERROR : SSO Partner application could not be registered successfully.
    End of /data/vis/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkSetSSOReg.pl : No Errors encountered
    Below is my Log file:
    BEGIN SSO REGISTRATION:</message>
    </record>
    <record>
    <date>2010-11-18T23:31:11</date>
    <millis>1290103271727</millis>
    <sequence>79</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.TXKSTDIO</class>
    <method>info</method>
    <thread>10</thread>
    <message>Beginning to register partner application.</message>
    </record>
    <record>
    <date>2010-11-18T23:31:11</date>
    <millis>1290103271728</millis>
    <sequence>80</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.config.Instance</class>
    <method>updateIasProperties</method>
    <thread>10</thread>
    <message>updating ias.properties file by retrieving data from DB</message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272017</millis>
    <sequence>81</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.config.Instance</class>
    <method>updateIasProperties</method>
    <thread>10</thread>
    <message>Retrieved Preferences: {IASname=VIS.hclt.corp.hcl.in, InfrastructureDBCommonName=ORAAS.HCLT.CORP.HCL.IN, InfrastructureUse=true, OIDhost=hschbscgn20104.hclt.corp.hcl.in, SSLOnly=false, OIDsslport=636, IASpassword=05a78096c85355eed5aa08f04546377eb5e16520f2237467b7, OIDport=389}</message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272018</millis>
    <sequence>82</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.config.Instance</class>
    <method>updateIasProperties</method>
    <thread>10</thread>
    <message>ias.properties is latest. No need to update.</message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272019</millis>
    <sequence>83</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.sso.Instance</class>
    <method>ssoReg</method>
    <thread>10</thread>
    <message>Processing APPS_FRAMEWORK_AGENT: https://hschbscgn20118.hclt.corp.hcl.in:443</message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272019</millis>
    <sequence>84</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.sso.Instance</class>
    <method>removePortsFromAgent</method>
    <thread>10</thread>
    <message>Agent:https://hschbscgn20118.hclt.corp.hcl.in:443
    After removing default ports Agent:https://hschbscgn20118.hclt.corp.hcl.in</message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272053</millis>
    <sequence>85</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.DBUtil</class>
    <method>getAgentConfFileId</method>
    <thread>10</thread>
    <message>Executing: SELECT PREFERENCE_NAME FROM FND_USER_PREFERENCES WHERE PREFERENCE_NAME LIKE 'TXK_SSO_FILE_ID_%' AND PREFERENCE_VALUE = 'https://hschbscgn20118.hclt.corp.hcl.in' AND MODULE_NAME = 'LDAP_SYNCH' AND USER_NAME = '#INTERNAL' </message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272054</millis>
    <sequence>86</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.DBUtil</class>
    <method>getAgentConfFileId</method>
    <thread>10</thread>
    <message>file id NOT found</message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272055</millis>
    <sequence>87</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.sso.Instance</class>
    <method>updateReqArgs</method>
    <thread>10</thread>
    <message>Updated Required Arguments Map: -site_name=https://hschbscgn20118.hclt.corp.hcl.in -appspass=******* -config_mod_osso=true -logout_url=https://hschbscgn20118.hclt.corp.hcl.in/OA_HTML/AppsLogoutSSO -home_url=https://hschbscgn20118.hclt.corp.hcl.in -config_file=/data/vis/inst/apps/VIS_hschbscgn20118/ora/10.1.3/Apache/Apache/conf/osso/VIS_hschbscgn20118_osso.conf -update_mode=CREATE -success_url=https://hschbscgn20118.hclt.corp.hcl.in/osso_login_success -cancel_url=https://hschbscgn20118.hclt.corp.hcl.in </message>
    </record>
    <record>
    <date>2010-11-18T23:31:12</date>
    <millis>1290103272056</millis>
    <sequence>88</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.sso.Instance</class>
    <method>ssoReg</method>
    <thread>10</thread>
    <message>Commmand is : sh /data/vis/apps/tech_st/10.1.3/sso/bin/ssoreg.sh -site_name https://hschbscgn20118.hclt.corp.hcl.in -config_mod_osso true -logout_url https://hschbscgn20118.hclt.corp.hcl.in/OA_HTML/AppsLogoutSSO -home_url https://hschbscgn20118.hclt.corp.hcl.in -config_file /data/vis/inst/apps/VIS_hschbscgn20118/ora/10.1.3/Apache/Apache/conf/osso/VIS_hschbscgn20118_osso.conf -update_mode CREATE -success_url https://hschbscgn20118.hclt.corp.hcl.in/osso_login_success -cancel_url https://hschbscgn20118.hclt.corp.hcl.in</message>
    </record>
    <record>
    <date>2010-11-18T23:31:14</date>
    <millis>1290103274625</millis>
    <sequence>89</sequence>
    <logger>txkSetSSOReg</logger>
    <level>INFO</level>
    <class>oracle.apps.fnd.txk.ias.sso.Instance</class>
    <method>ssoReg</method>
    <thread>10</thread>
    <message>Return Code is : 1</message>
    </record>
    <record>
    <date>2010-11-18T23:31:14</date>
    <millis>1290103274625</millis>
    <sequence>90</sequence>
    <logger>txkSetSSOReg</logger>
    <level>SEVERE</level>
    <class>oracle.apps.fnd.txk.ias.sso.Instance</class>
    <method>ssoReg</method>
    <thread>10</thread>
    <message>CLASSPATH=/data/vis/apps/tech_st/10.1.3/jdbc/lib/ojdbc14.jar:/data/vis/apps/tech_st/10.1.3/jlib/repository.jar:/data/vis/apps/tech_st/10.1.3/sso/lib/ossoca.jar:/data/vis/apps/tech_st/10.1.3/sso/lib/ossoreg.jar:/data/vis/apps/tech_st/10.1.3/lib/xmlparserv2.jar:/data/vis/apps/tech_st/10.1.3/jdbc/lib/classes12.jar:/data/vis/apps/tech_st/10.1.3/jdbc/lib/nls_charset12.jar:/data/vis/apps/tech_st/10.1.3/jlib/jndi.jar:/data/vis/apps/tech_st/10.1.3/jlib/ojmisc.jar:/data/vis/apps/tech_st/10.1.3/j2ee/home/jazn.jar:/data/vis/apps/tech_st/10.1.3/j2ee/home/jaas.jar:/data/vis/apps/tech_st/10.1.3/jdk/lib/rt.jar:/data/vis/apps/tech_st/10.1.3/jdk/lib/i18n.jar:/data/vis/apps/apps_st/comn/java/classes/oracle/apps/fnd/jar/fndoid.jar:/data/vis/apps/tech_st/10.1.3/jdbc/lib/ojdbc14.jar:/data/vis/apps/tech_st/10.1.3/jdbc/lib/orai18n.jar:/data/vis/apps/tech_st/10.1.3/jlib/repository.jar:/data/vis/apps/tech_st/10.1.3/jlib/infratool.jar:/data/vis/apps/apps_st/comn/java/classes:/data/vis/apps/tech_st/10.1.3/sysman/webapps/emd/WEB-INF/lib/emd.jar:/data/vis/apps/tech_st/10.1.3/dcm/lib/dcm.jar:/data/vis/apps/tech_st/10.1.3/sysman/j2ee/lib/portalSMI.jar:/data/vis/apps/tech_st/10.1.3/jlib/emConfigInstall.jar:/data/vis/apps/tech_st/10.1.3/lib/dms.jar:/data/vis/apps/tech_st/10.1.3/opmn/lib/ons.jar:/data/vis/apps/tech_st/10.1.3/j2ee/home/oc4j.jar
    Parameters passed to SSO registration tool :
    param0:-oracle_home_path param1:/data/vis/apps/tech_st/10.1.3 param2:-site_name param3:https://hschbscgn20118.hclt.corp.hcl.in param4:-config_mod_osso param5:true param6:-logout_url param7:https://hschbscgn20118.hclt.corp.hcl.in/OA_HTML/AppsLogoutSSO param8:-home_url param9:https://hschbscgn20118.hclt.corp.hcl.in param10:-config_file param11:/data/vis/inst/apps/VIS_hschbscgn20118/ora/10.1.3/Apache/Apache/conf/osso/VIS_hschbscgn20118_osso.conf param12:-update_mode param13:CREATE param14:-success_url param15:https://hschbscgn20118.hclt.corp.hcl.in/osso_login_success param16:-cancel_url param17:https://hschbscgn20118.hclt.corp.hcl.in
    -DinstallType=
    -DORACLE_CONFIG_HOME=/data/vis/inst/apps/VIS_hschbscgn20118/ora/10.1.3
    -DoldOracleHome=
    -DoldOHSUser=root
    Check /data/vis/inst/apps/VIS_hschbscgn20118/ora/10.1.3/sso/log/ssoreg.log for details of this registration
    SSO registration tool failed. Please check the log file /data/vis/inst/apps/VIS_hschbscgn20118/ora/10.1.3/sso/log/ssoreg.log, correct the problem and re-run the tool.
    .end std out.
    .end err out.
    </message>
    </record>
    <record>
    <date>2010-11-18T23:31:14</date>
    <millis>1290103274626</millis>
    <sequence>91</sequence>
    <logger>txkSetSSOReg</logger>
    <level>SEVERE</level>
    <class>oracle.apps.fnd.txk.ias.TXKSTDIO</class>
    <method>exception</method>
    <thread>10</thread>
    <message>oracle.apps.fnd.txk.ias.SsoOidException: SSO Partner application could not be registered successfully.
    at oracle.apps.fnd.txk.ias.sso.Instance.ssoReg(Instance.java:470)
    at oracle.apps.fnd.txk.ias.sso.Instance.registerPartnerApp(Instance.java:690)
    at oracle.apps.fnd.txk.ias.Instance.main(Instance.java:88)
    </message>
    </record>
    </log>
    can anyone tell me what is the problem

    Hi
    Please refer doc and do the following steps.
    1. Take a copy of the $IAS_ORACLE_HOME/Apache/Apache/bin/iasobf file
    2. Change the ORACLE_HOME=to the correct IAS_ORACLE_HOME
    3. Re-run the SSO registration by following the three step process
    Regards,
    Krishna

  • Open With... How to Change List of Applications?

    I installed Photoshop CS2 recently and now a whole slew of applications show up when I click on a jpg file and select "Open With..." I know how to change the default application for the files, but how do I remove applications from this list? I don't need to ever choose between 40 applications to open jpeg files - just a few. How can I pare down this list?
    Thanks,
    tommy

    Then why don't you remove them yourself? Go to this page and download PropertyListEditor.dmg. It normally is incuded with the free XCode package from Apple.
    Install the app in your Utilities folder and then you can edit plist files whenever you want.
    Open com.apple.launchservices.plist and unfold the object tree. Now you can browse and delete objects. It is recommended you backup the file before messing with it.
    You can also "Dump" the entire file, it might be faster to see what all is in it.

  • How can change language of application dynamic?

    In the dialog I have combo box in which I can select desire language for application. When I select value I save this value in the config file. But language change ONLY when I exit and again enter to the application. How can change language of application dynamic (without exit from application) ?

    alexpass wrote:
    In the dialog I have combo box in which I can select desire language for application. When I select value I save this value in the config file. But language change ONLY when I exit and again enter to the application. How can change language of application dynamic (without exit from application) ?I guess your application sets the locale at "startup", based on the contents of the config file, using a call to java.util .Locale.setDefault(Locale). Did you try to call this method in response to the selection in the combobox?
    This won't refresh all widgets already created however. You probably have to re-create them all.
    There may be case-by-case way to refresh them, for example Locale-dependent layout may be taken into account dynamically. Try and tell us.

  • HOW TO CHANGE PROGRAMATICALLY LABELS OF BUTTONS AND ...

    I want to do a HTMLDB application is some languages that user choice in web page.
    I have resolve good how to change messages in pages, but I need to know how to change , labels in buttons, reports and in items.
    ¿How I can do this? Change this by program.
    Any help wellcome.
    Thanks in advanced.
    Regards everybody.

    Hi,
    Normally, to translate your entire application you would export the application using Shared Components=>Translation Services. There is documentation on how to do this:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14303/global.htm
    You can also use Shared Components=>Manage Messages to translate individual items. If this is what you want, please let me know and I'll let you know what I did to achieve this.
    Normally, the user would select their preferred language using a browser setting. Do you intend for them to select a language on a page?
    Regards
    Andy

  • How to change the Default login script and the USER login script in Netware3.12

    I need to cut down the disk map from Neware 3.12 in Win98 client's PC.
    please tell me
    how to change the Default login script and the USER login script in
    Netware3.12 ?
    Or is there any other ways to do this thing?
    Thanks a lot!

    On 4/6/2006 [email protected] wrote:
    > how to change the Default login script and the USER login script in
    > Netware3.12 ?
    Please repost in the discontinued.forums.
    Edison Ortiz
    Novell Product Support Forum SysOp
    (No Email Support, Thanks !)

  • How to change the icon of JOptionPane and JFileChooser in swing

    Hi,
    Does any body know how to change the icon of JOptionPane and JFileChooser in swing.
    Please help me out in this.
    Thanx in advance.

    Try this
    import javax.swing.*;
    import java.awt.event.*;
    public class Untitled4 {
      public Untitled4() {
      public static void main(String[] args) {
        ImageIcon i = new ImageIcon("C:/TestTree/closed.gif");
        JOptionPane p = new JOptionPane();
        p.setMessage("This JOptionPane has my icon");
        p.setMessageType(JOptionPane.QUESTION_MESSAGE);
        p.setOptionType(JOptionPane.YES_NO_CANCEL_OPTION);
        final JDialog d = p.createDialog("test");
        d.setIconImage(i.getImage());
        d.setVisible(true);
        d.setModal(true);
        if(Integer.parseInt(p.getValue().toString()) == JOptionPane.YES_OPTION) {
            System.out.println("You Clicked Yes");
    }

  • SSO Partner Application not working

    Hi,
    I have OBIEE running on a different box. I need to enable SSO for OBIEE. I deployed the analytics.war file in the home oc4j container of Oracle Portal and manually registered it as a Partner Application, made following changes in mod_osso.conf inside ORACLE_PORTAL_HOME/Apache/Apache/conf and restarted the apache server. But when I access the application it does shows me the SSO login page but after entering the credentials it throws internal server error. I checked the log files but don't see any errors in there so wondering what could be wrong.
    Here is what I have added in the mod_osso.conf
    <Location /analytics>
      Header unset Pragma
      OssoSendCacheHeaders off
      AuthType Basic
      require valid-user
    </Location>Any help is appreciated.
    Thanks

    please check your $ORACLE_HOME/sso/log/ssoreg.err and $ORACLE_HOME/sso/log/ssoreg.log and see if you have errors in your sso-registration.
    thanks!
    AMN

  • How to enable a partner application for Single Sign-On?

    Can someone please advise me on how to enable my existing J2EE web application for the Oracle Single Sign-On?
    My requirement is i want to provide the single sign-on authentication service to my J2EE web application. For this, I would like to make my application as a partner application similar like the OracleAS Portal.
    I am using Oracle 10g ( OralceAS, Oracle Infra, OID ...)
    I found the following service/APIs which Oracle provides. I am not sure which one is suitable for me.
    1. mod_osso ( Static)
    --- In this case, I have to make a entry in mod_osso.config file to protect the URL. should I have to register the URL again through single sign on admin page ("Administer Partner Application") after make a entry in config file?
    2. mod_osso ( Dynamic directive)
    -- in this case, I have to modify the code by providing the directives like 401, 499.. etc. So i don't prefer this as i don't want to touch my app.
    --If I go with this option, should i have to register the URL with Single sign on server through SSO admin page ( as mentioned in the above step#1) ?
    3. SSO SDK
    - Since it was deprecated and need java coding, i am prefer this option.
    -- however, if i go with this option, i will develop code by using SDK. in this case i need to register the URL in SSO server through admin page.. am i right?
    Note:- OSSO server integrated with Active Directory for the authentication.
    Thanks,
    -Senthil

    sharon38_74 wrote:
    they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
    My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?Your application need to act like a proxy. You can invoke a HTTP request programmatically using java.net.URLConnection. You can set request headers using URLConnection#setRequestProperty(). Also see the API docs: [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html]. You only need to know the header field name where to set the Base64-encoded value in. You need to Base64-encode the value yourself.

  • Getting Logged on User'Information in an Oracle-Form SSO Partner Application

    Hi.
    I could run Flight-of Fancy Application and capture user's information by calling the
    "Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
    and defined an Oracle-Form application as Partner application like FOF.
    I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
    Thanks in advanced.

    Hi.
    I could run Flight-of Fancy Application and capture user's information by calling the
    "Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
    and defined an Oracle-Form application as Partner application like FOF.
    I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
    Thanks in advanced. If you're writing your own partner application, then you are correct to get the user information from the output variables
    from the parse_url_cookie procedure. You should then set the information you want to keep track of in the cookie, or combination
    of cookie and persistent storage in the database. Take care of the security implications while doing this.
    On subsequent calls to your application, the user info should be obtained from the cookie and the database, if you
    are using a combination of the cookie and database storage to keep your info.
    The owa_cookie.get routine is used to read the cookie, which is generated with owa_cookie.send.
    These routines work fine, when invoked correctly.
    If you are having trouble with them, you're probably not using the calls properly.
    The following code provides an example of how to use the owa_cookie calls...
    create or replace package testcookie
    is
        procedure show (p_name IN VARCHAR2);
        procedure send
            p_name    IN VARCHAR2,
            p_value   IN VARCHAR2,
            p_path    IN VARCHAR2 default null,
            p_expires IN VARCHAR2 default null
    end testcookie;
    show error package testcookie
    create or replace package body testcookie is
        procedure show (p_name IN VARCHAR2) is
            v_cookie owa_cookie.cookie;
        begin
            v_cookie := owa_cookie.get(upper(p_name));
            htp.htmlopen;
            htp.bodyopen;
            htp.print(v_cookie.vals(1));
            htp.bodyclose;
            htp.htmlclose;
        exception
            when others then
                htp.htmlopen;
                htp.bodyopen;
                htp.print('NO COOKIE FOUND.');
                htp.print(SQLERRM);
                htp.bodyclose;
                htp.htmlclose;
        end;
        procedure send
            p_name    IN VARCHAR2,
            p_value   IN VARCHAR2,
            p_path    IN VARCHAR2 default null,
            p_expires IN VARCHAR2 default null
        is
            v_cookie owa_cookie.cookie;
            l_agent varchar2(30);
            l_expires varchar2(30);
            l_path varchar2(100);
        begin
            if p_expires is null then
                l_expires := null;
            else
               l_expires := to_date(p_expires, 'MMDDYYYY');
            end if;
            if p_path = 'ALL' then
                l_path := '/';
            else
                l_path := null;
            end if;
            owa_util.mime_header('text/html', FALSE);
            l_agent := owa_util.get_owa_service_path;
            l_agent := substr(l_agent, 1, length(l_agent) - 1 ) ;
            owa_cookie.send(
                name    => upper(p_name),
                value   => p_value,
                expires => l_expires,
                path    => l_path
            owa_util.http_header_close;
            htp.htmlopen;
            htp.headopen;
            htp.headclose;
            htp.bodyopen;
            htp.print ('Cookie set.');
            htp.bodyclose;
            htp.htmlclose;
        end;
    end testcookie;
    show error package body testcookie;
    grant execute on testcookie to public;If you load this into a schema which a DAD can access, then you can invoke the show and send procedures to view and
    generate cookies.
    To generate a cookie, issue the following from your browser ...
    http://server.domain.com/pls/dad/schema.testcookies.send?p_name=test&p_value=hello
    To view the cookie:
    http://server.domain.com/pls/dad/schema.testcookies.show?p_name=test

  • HTMLDB -SSO- Partner application

    Hi,
    I have installed a database 10g/HTMLDB 1.5 and iAS 10g on two different boxes.
    Refered & successfully completed the steps from
    http://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.html
    to Configure an HTML DB Application as a Partner Application in Oracle AS Single Sign-On
    (TWICE From the Scratch)
    But, Getting error like
    "Error Error in portal_sso_redirect: missing application registration information:
    p_partner_app_name:g_listener_token:HTML_DB:indl097ba.idc.oracle.com:7777
    Please register this application as described in the installation guide."
    Please let me know what would be wrong in doing this.
    Feel free to ask for any further specific details or parameter values.
    As its @ customer's site, need to know the resolution very urgently.
    Thanks in advance.
    Regards,
    Nagadeep.

    Hi Scott,
    I am doing it from scratch now.
    Details are like this:
    C:\SSO_SDK\ssosdk307_032101\packages\oracle\security\sso>path
    PATH=D:\oracle\product\10.1.0\Db_1\BIN;D:\OraHomeOWB\bin;D:\OraHomeOWB\jre\1.4.2
    \bin\client;D:\OraHomeOWB\jre\1.4.2\bin;D:\oracle\product\10.1.0\Htmldb\bin;D:\o
    racle\product\10.1.0\Htmldb\jre\1.1.8\bin;D:\oracle\product\10.1.0\Htmldb\jre\1.
    4.2\bin\client;D:\oracle\product\10.1.0\Htmldb\jre\1.4.2\bin;D:\oracle\product\1
    0.1.0\Db_1\bin;D:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;D:\oracle\prod
    uct\10.1.0\Db_1\jre\1.4.2\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;
    C:\Program Files\Symantec\pcAnywhere\
    C:\SSO_SDK\ssosdk307_032101\packages\oracle\security\sso>loadjava -user FLOWS_01
    0500/welcome1@orcl SSOHash.class
    C:\SSO_SDK\ssosdk307_032101\packages\oracle\security\sso>
    @ the Database Schema:
    SQL*Plus: Release 10.1.0.2.0 - Production on Wed May 18 20:49:33 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> conn flows_010500/welcome1
    Connected.
    SQL> @C:\SSO_SDK\ssosdk307_032101\packages\loadsdk.sql
    Package created.
    No errors.
    Package body created.
    No errors.
    Type created.
    Table created.
    Sequence created.
    Sequence created.
    Table created.
    No errors.
    Procedure created.
    No errors.
    Package created.
    No errors.
    Package body created.
    No errors.
    Package created.
    No errors.
    Package created.
    No errors.
    Package body created.
    No errors.
    Package body created.
    No errors.
    Package created.
    No errors.
    Package body created.
    No errors.
    SQL>
    Now, at the iAS10g registering HTMLDB application as a partner application.
    Let me know whether I have to create any DAD to specify in HOME URL?
    Regards,
    Nagadeep.

  • How to change font size in smartform and set layout of smartform

    Dear abapers,
                           I want to change font size in smartform and also set the layout of smart form how can we do this.
                                                 Thank you sir.

    Hi,
    you can do it first you need to goto smartforms tcode there click on radiobutton 'Style'.
    Give any name and click on create. Right sideyou can find character format right click on it and create a node .A pop will raise gve a 2 characterlike z1 or a1 etc click on font tab gve size and font style and click on save and activate. Use this style in your smartform you can apply what ever styles created in styles you can use it in your smartform by that smartstyle name.
    When we create text in output options give your smart style name and click on general attributes . Select your text and apply the style what thse size it should be and what the font style it should be.
    Goto smartforms tcode and select formpainter in application bar set layout according to your requirement.
    Thanks,
    venkat

  • How to change value of instance variable and local variable at run time?

    As we can change value at run time using debug mode of Eclipse. I want to do this by using a standalone prgram from where I can change the value of a variable at runtime.
    Suppose I have a class, say employee like -
    class employee {
    public String name;
    employee(String name){
    this.name = name;
    public int showSalary(){
    int salary = 10000;
    return salary;
    public String showName()
    return name;
    i want to change the value of instance variable "name" and local variable "salary" from a stand alone program?
    My standalone program will not use employee class; i mean not creating any instance or extending it. This is being used by any other calss in project.
    Can someone tell me how to change these value?
    Please help
    Regards,
    Sujeet Sharma

    This is the tutorial You should interest in. According to 'name' field of the class, it's value can be change with reflection. I'm not sure if local variable ('salary') can be changed - rather not.

Maybe you are looking for