You have to configure your application to support Single Sign-on (SSO). Here is the link to the Forms 11g document: Using Forms Services with Oracle Single Sign-On. If you are not using Forms 11g, then do a Google/Oracle search on how to use SSO with your Forms version.
Thanks CraigB for your reply. I use 10g version and try from this link: Problem in importing JavaClass in oracle forms
But it get error at get new imported class ABC with 105101: non-Oracle exception:
v_wb := ABC.new; ************ get error
please help me! many thanks!
When do you get the error? During design (in the Forms Builder) or during Runtime?
If the error occurs during design, then you need to update the FORMS_BUILDER_CLASSPATH in the Windows Registry to include the full path to your Java Class. If the error occurs during runtime, make sure you have updated the CLASSPATH in the default.env file on the application server. If you have done this and you are still getting a runtime error, please check the Java Console and post any Java Exceptions listed there. Since you are importing your Java Class into your form, I'm not positive that you have to digitally sign your java class, but you may want to try this if you haven't already signed your java class.
Also, if you haven't already looked at the Oracle Application Server 10G (9.0.4) - Forms Single Sign-On white paper, you may want too.
What connection? What are you trying to do with your java importer? Do you want to authenticate against LDAP via a imported Java Class? There is no need to reinvent the wheel; dbms_ldap can already do this:
Also please state what exactly you want to do; do you want to authenticate against LDAP (like an Active Directory Domain) or do you want to use Single Sign on? You can authenticate against LDAP without SSO, but you can't use SSO without LDAP.
In addition to the documents Craig gave you have a look at the documentation (assuming "10g" means 10.1.2)
Alex Supertramp wrote:
Thanks CraigB for your reply!
1/ When I use connection in JavaBean, it doesn't work. Do I need join Oracle Application Server to Domain?
2/ Do you have some guide documents to config Single Sign-On on Oracle Application Server 10g and how to use it on Oracle Forms?
Question 1: What does "it doesn't work." mean. Can you describe what happens; what error messages you are getting, etc... To find the Java error message you will need to open the Java Console.
Question 2: I did a simple Google search on, "oracle application server single sign on administrator's guide 10g" got numerous links to Oracle documentation. The following are just a few...
Hope these help.