Instant Portal login.jsp

Hi
We are looking at Oracle's Instant Portal product which seems to do what we need except as this system is to be used solely internally the project manager has decreed that no login is required (Instant Portal requires an authenticated user and does not support public pages). So unless someone has a better method I have been working on modifying Oracle's default login.jsp script and hard coding a read only users username and password. These works but the user still has to press the submit key. Is there a way to auto submit this page? Is there a better way to achieve this? Note I have never used jsp so a simple example script would help.
I have check out some of Oracle's SSO doco but there is a lot to learn and the project manager is not going to give me the time I suspect he will just choose another product. So I am hoping for a quick and simple solution from the forum.

Can you elaborate on this “3rd Party Integration Module” you are suggesting. You are correct that in addition to the read only user access some other means is required to access the system using a more privileged account. I had intended to create two separate logins, the first being the default one with the read-only username imbedded and the second would required a username and password.

Similar Messages

  • How to bring Login.jsp under a html frame ?

    hi all.
    I have customized the Login.jsp and actually have lot of static content to be displayed in our proposed entry page.
    I decided to use Html frames - something like the one below.
    When i point on the frame to the Login.jsp ( i referred it as 'amserver/UI/Login') --> it loads all frames then redirects the page to the /amserevr/UI/Login -> the Login.jsp now occupies the entire screen and i c none of the html frames..
    any idea how to bring in the portal Login.jsp under a html frame ?
    Thanks
    Vee
    <html>
    <frameset noresize="noresize" frameborder=0 rows="25%,70%,5%">
    <frame frameborder=0 noresize="noresize" src="/amserver/UI/Login" name="banner_frame" scrolling=no>
    <frameset frameborder=0 noresize="noresize" cols="30%,70%">
    <frame frameborder=0 src="./images/menus.gif" name="menu_frame" scrolling=no>
    <frame frameborder=0 src="./images/content.gif" name="content_frame" scrolling=no>
    </frameset>
    <frame frameborder=0 src="./images/copyright.gif" name="copyright" scrolling=no>
    </frameset>
    </html>

    is it possible to write jsp code or javascript code inside this Login.jsp ?
    I got a bunch of content - menu driven to displayed additional to the identity server login module.
    veera

  • How can i find the requested portal page in custom login.jsp

    We are using a customized login, logout and change password page built in JSP.
    The wwsso_ls_configuration_info$ has been updated to point to the customized
    JSP pages. Everything works fine so far but we would like to show different
    content inside the customized login page depending on which portal page that
    was requested.
    eg suppose the user requested a page that belong to page group X we want to
    show login page with html content relevant to page group X. If page group Y is
    requested, then it show relevant information for Y.
    The ssousername, password field and other parameter needed for login page will
    be left to the standard names defined by oracle login requirements.
    For this purpose, we need to find which portal page was requested by user in
    the customized login.jsp( as users tend to bookmark the portal page eg.
    http://domain/portal/page?_pageid=33,30983,33_30985&_dad=portal&_schema=PORTAL)
    Once i know the requested portal page, i can parse the _pageid to get the page group.

    Were you ever able to get this issue resolved? I would be interested in the solution if one was ever found. Thanks.

  • Can not access login.jsp or test.jsp after Portal-To-Go install

    After installing HTTP Server edition of Oracle Portal on Windows 2000, we were able to access and work with the Portal itself.
    However, we still can't figure out what problem we have with Portal-To-Go. We ran and configured postinstall of Portal-To-Go with no errors according to the instructions. But after trying to access http://host_name.domain/papz/test.jsp or http://host_name.domain/papz/login.jsp we get "You don't have permission to access /papz/parm.jsp on this server." (we use dev6.unitas.com as our host_name.domain.
    Any ideas? Please Help!
    null

    I like to confirm my understanding. You installed 9iAS HTTP Server option which includes Oracle Portal and Oracle Wireless (portal-to-go). These are two separate features in 9iAS. After installation, did you include wireless parameters in your apache/jserv configuration files per 9iAS Wireless installation guide? For example you need to alias in httpd.conf, ApJservMount in jserv.conf and wrapper.classpath in jserv.properties.

  • How can i change login.jsp in oracle portal

    Hi every body,
    I want to change login.jsp page or replace another page instead of it.How can i do this?
    can i build a page and add login portlet to it and replace it instead of login.jsp

    I have tried this. (But I just modify the jsp code directly)
    But page doesn't change at all.
    Also there is another question.
    Where should i put image file???

  • Alternative to login.jsp

    Hi
    Is there an alternative method for accessing Portal/Instant Portal other than by using the default login.jsp. Could for example one of the API packages that are available with OracleAS Portal Developer Kit (PDK) be used as an alternative. If so any details about how one would proceed to achieve would be great as I am new to this area.
    Thanks

    You may certainly define a custom login Page, but if you are trying to by-pass the web based login ( programatically), then no this is not possible. SSO is a function of the SSO server not the Portal. Portal itself is a partner application of the SSO server.
    For setting up a custom login page please refer to the SSO Developer's guide or the Identity Management Developer's Guide depending on which version of the product you are using.

  • ADF Application and Oracle Portal Login Page

    We have developed ADF application and deployed it in Oracle AS 10.1.2 along with the custom JAAS module, which is working fine with the application custom login page. As a next page, I want to use Oracle Portal login page for the authentication and authorization.
    How can I accomplished it? Any idea?
    Thanks,
    AP

    Shay,
    1. I created blank ADF project
    2. I copied myreport.jsp file (this one was generated by Oracle Report Builder) under ..ViewController/public_html directory
    3. Created directory 'lib' under ViewController/public_html/WEB-INF/lib
    4. Copied reports_tld.jar file under the directory created in 3.
    5. Created simple jspx page with the af:link (btw af:goLink does not exists in JDev 12c), set 'destination' to myreport.jsp
    After the steps above I could not even compile the application, many problems too many to list here, Basically JDev is trying to build the project with .jsp file generated in Report Builder and is unable to.
    So to be sure we are on the same page: I am trying to embed JSP report files generated by Report Builder into ADF project, then create EAR file and deploy on standalone WLS. Finally execute JSP web only report.

  • How to authorize my Login.jsp file to create LoginContext, deployed in war

    I am currently doing a login process and I need to know how to give my Login.jsp file the permission to create a LoginContext. I packaged everything in a war file and deployed it to the server.
    Specifically this is the error that I am getting:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: access denied (javax.security.auth.AuthPermission createLoginContext.studentportal)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    java.security.AccessControlException: access denied (javax.security.auth.AuthPermission createLoginContext.studentportal)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         java.security.AccessController.checkPermission(AccessController.java:427)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         javax.security.auth.login.LoginContext.init(LoginContext.java:224)
         javax.security.auth.login.LoginContext.(LoginContext.java:403)
         org.apache.jsp.Login_jsp._jspService(Login_jsp.java:55)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    In my code in Login.jsp this is what I have at the top of the page:
    <%@ page language="Java" import="portal.*,javax.security.auth.login.*" %>
    <%
    String s = request.getParameter("loginButton");
    if (s != null) {
    out.println("The user attempted to login");
    String user = request.getParameter("username");
    String psw = request.getParameter("psw");
    AscCallbackHandler cbh = new AscCallbackHandler(user,psw);
    LoginContext ctx;
    try {
    ctx = new LoginContext("studentportal",cbh);
    } catch (LoginException  le) {
    out.println("Sorry, could NOT create context");
    }The admin page tells me that portal is deployed at location:
    ${com.sun.aas.instanceRoot}/applications/j2ee-modules/portal
    My entry in the server.policy file looks like so:
    grant codeBase "file:/home/jay/sun/Creator2_1/SunAppServer8/domains/creator/applications/j2ee-modules/portal/WEB-INF/-" {
    permission javax.security.auth.AuthPermission "createLoginContext.studentportal";
    permission javax.security.auth.AuthPermission "modifyPrincipals";
    permission javax.security.auth.AuthPermission "getLoginConfiguration";
    Which gives the error shown above
    Please help
    Message was edited by:
    jay_dawg
    Placing code tags

    java.lang.NoClassDefFoundError: org/jdom/JDOMException
         java.lang.Class.getDeclaredConstructors0(Native Method)
         java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
         java.lang.Class.getConstructor0(Class.java:2671)
         java.lang.Class.getConstructor(Class.java:1629)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1164)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3305)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)and following by this

  • SOLVED!!!!!!!!!Placing an Image in original login.jsp

    Hi all,
    I solved the problem of placing an image in original login.jsp
    Hope this will be usefull for all who will be trying to edit the original longi.jsp:
    ====>Place your image in the following folder:
    C:\installations\Oracle_Infra(Your oracle_home)\portal\images
    you place your image some-where else it will not be displayed .....
    Hope this will be usefull!!!!
    Thanks & Regards,
    Mallikarjun

    Well, you are quite right to put images in this place.
    However, two points can be noted here:
    1. This works with the assumption that your portal repository is in the infra-database. in cases of customer databases, you may have other folders which would be able to run the images from a similar folder in their respective homes.
    2. Additionally, you can place your images anywhere on your servers and still have them working if you use an alias for the image folder location!
    hope that helps.
    syed

  • XMII Portal Login Page

    Hi ,
    I am unable to view the login screen for the xMII portal.
    I tried to access the login page from the system where the xmII server is installed.
    When i type in the url -- http://<server>/Lighthammer/Login.jsp it directs me to the menu page without asking my username and password.
    Are there any settings to enable the authentication page??
    Please help.
    Message was edited by:
            vaishali dhayalan

    Hi Shyam,
    The configuration below is the trusted server configuration for the system being used
    Name  --               localhost
    Description --        localhost
    IP  --                    127.0.0.1 (IP address of the system used)
    I am unable to delete this configuration since my delete button is disabled even after selecting the server config.How else could i delete it?
    Will there be a problem if we delete this server config??
    Please help.
    Message was edited by:
            vaishali dhayalan
    Message was edited by:
            vaishali dhayalan

  • NLS Support in Instant Portal

    I have installed Instant Portal. The default site has been created in English. I can translate the sites text to Danish (I live in Denmark). But how do I get the Instant Portal generated text items such as (Home, Logout, Change Profile, Search etc.) translated to Danish? When I logon I get the login Screen in Danish (as my Browser runs danish and accept danish as the primary language) so it seems that part of the product supports Danish.
    Another problem I had was that I created a XML file (taxonomy) with Danish characters in it describing a setup of a portal. After creating the Instant Portal using the Portal Builder the NLS characters (æøå) are shown as squares. Is this a known problem or do I do something wrong?
    Are Instant Portal an option at all if I want to have a Danish interface for a portal?

    Thanks for posting an update. The steps you describe are correct. You could have also generated a new instant portal in Danish in your first installation. Let's say you installed the Danish language post installation. You would first set your browser language to Danish, log in to portal, navigate to the Build page, and create a new instant portal. Your new instant portal will be generated in the current language, Danish. These steps are documented in the "Working with Languages" topic of the Oracle Instant Portal on-line help.
    As you pointed out, the release notes does contain important information for working with XML files to define your taxonomy in a global environment.

  • Form Authenticating the portal or jsp page

    Before accessing a jsp page, I want the user to authenticate using login.jsp using the user role I created in console.
    But when I hit the page, its not going to login.jsp. Instead its going directly to it. Please find the web.xml and weblogic.xml that I changed below,
    --web.xml
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>webtest</web-resource-name>
    <url-pattern>/portlets/tools/wnxinterface/wnxInterface.jsp</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>wnuser</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <!--turn on identity assertion-->
    <login-config>
    <auth-method>CLIENT-CERT,FORM</auth-method>
              <realm-name>myrealm</realm-name>
    <form-login-config>
    <form-login-page>login.jsp</form-login-page>
    <form-error-page>error.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
              <role-name>AuthenticatedUserRole</role-name>
    </security-role>
    <security-role>
              <role-name>wnuser</role-name>
    </security-role>
    --weblogic.xml
    <wls:security-role-assignment>
    <wls:role-name>AuthenticatedUserRole</wls:role-name>
    <wls:principal-name>AuthenticatedUsers</wls:principal-name>
    </wls:security-role-assignment>
    <wls:security-role-assignment>
         <wls:role-name>wnuser</wls:role-name>
         <wls:principal-name>wngroup</wls:principal-name>
    </wls:security-role-assignment>
    I created the wnuser in myrealm in my console. So I am trying to password protect the wnxInterface.jsp page.
    Actually I have this wnxInterface.jsp as a portlet inside my portal. Is it similarly possible to authenticate the portal itself?
    Thanks in advance

    1. yes: URL u = new URL(this.getCodeBase(),"../relativeFolder/file.whatever");
    http://javaalmanac.com/cgi-bin/search/find.pl?words=URL
    2. yes: using JSObject you can call javaScript methods that can do it for you or retreive the
    componenet directly.
    http://forum.java.sun.com/thread.jspa?threadID=598123&messageID=3180053

  • Typical login.jsp, middle_page.jsp and logout.jsp

    Hi all,
    I have been tring to build a login system in JSP.
    The problem is every time the session expires I am
    not able to login again immediately and on few
    ocassions lots of sessions are opened automatically
    which prevents re-loging.
    I dont even want to discuss what I did in fear of
    confusing you.
    So somebody please send me excerpts from a typical
    1.)login.jsp
    2.) someMiddlePage.jsp
    3.) logout.jsp
    That really works
    I think I am sure about the login and middlepages i.e
    -->creating a login.java bean that creates a session and
    -->adding userdata into session.
    --> and declaring <jsp:usebean id=login class=login scope =session/>
    in the middle page and check if the session has valid userid
    before serving...
    --> I am not sure about the rest..
    I think answering this question with a "working code"
    can prevent hundreds of other questions that can follow..
    Thanks a lot in advance..

    See: http://www.open-group.biz/xmlportal/Portal?xpc=1$@5$@1$@3
    The example is embedded in a portal but the source code is visible on-line.
    Good luck!

  • User access Instant Portal

    Hello,
    I've just created a new Instant Portal, and I am following the instructions on creating a user that only has access to it. I create a user using the instant portal user tool, then I go to Administer and set that page as the users default page. When I try to log in with the newly created user, it sends me straight back to the portal builder page, not instant portal. I have tried this a few different times by making different users, but it doesn't seem to make a difference. Everytime a new user is created they are sent to the portal builder page upon login. Please help!
    Thanks,
    Jordan

    That is the process that I am going through, that's why its so confusing for me. I set the default page in the user profile and it doesn't seem to make any difference. No matter what they are sent to the Portal homepage. I have tried creating new pages and pointing users to it but the same thing happens.

  • Instant Portal Review.

    As I am looking at it I will start posting an evaluation of the Instant Portal App as I see it. Note these are only first glances of what I encountered in the “Get a fully functional portal running in an Hour”
    First, thing I notice is the lack of a public face. I see two posts in this forum on the same subject. This just makes no sense. There really should be a way to include public content. Along the same lines, the aging and workflow of Portal was not used.
    Second, the banner should be more customizable. There are probably only 1/2 a dozen ways to create a top banner. You should be able to select from a couple of style.
    Examples:
    Left Image Left or Center Title.
    Search and login in banner.
    Breadcrumb trail optional
    The Banner should be able to have an image background.
    The template should let you set or select the Title Font
    You should be able to select between 1 and 2 levels of tabs on top, perhaps more, but at least 2 levels. Why Two? A person may want to have Departments be the top level Tab Then each department can have their own Page with Top level tabs. I suppose their answer is have a separate Content Area (Separate Instant Portal) for every department. But then departments could not see new content across departments in one place.
    A link to the Tab Home should be on top of the Left Nav Bar. Right now if you click the Finance Tab, then Budgeting to get back to the Finance information you have to click the Finance tab again. This is inconsistent as the visual cue is that you ARE on the Finance Page already.
    Should be able to Hide ITEM information like Title date author summary from being displayed on the page. You can set it to an empty string but then you may loose valuable info just because you do not want that displayed. EG I would like to see who posted an RTF in the New Content window but I do not want to see that Joe Posted the Corporate Home Item for the next two years?
    File Item Image is not very useful and kind of hidden. You should be able to select an Image so you could show pdf, word etc. Probably need to add a file type specification.
    RTF Item and HTML Parser incomplete (or to limiting). I pasted in a web page with an image and the image had a MAP. Everything looked great except the MAP did not work. So I pasted the map info into HTML Edit but every time I clicked over to RTF edit it would remove the map. Just as a check I went to builder and made the update directly to the Text Item in the Page. This worked perfect and the MAP works… Of course that is until you edit in Instant Portal and it strip the MAP out again. I assume there is a larger undocumented set of Valid HTML code that can’t be used in the RTF editor?
    EG:
    <image src="o.jpg" width="558" height="397" border="0" usemap="#Map2">
    <map name="Map2">. . .</map>
    RTF Editor changed to:
    <image src="o.jpg" width="558" height="397" border="0" >It seems kind of dumb to arbitrarily limit or take a subset of valid HTML code in the RTF items as the RTF item is probably the only way to really customize and make useful content.
    A feature for end users to export/ print RTF content to Word or PDF would be a nice to have…
    So far it is OK but not really useful. It may take as it says a day to build a portal but it is not fully functional and by the end of the week it may be so limited that you are going to have to scrap it.
    Other people’s comments and insight?
    A

    Instant Portal and normal Portal page groups cannot be mixed and matched, you can only use one at a time in the browser. You cannot export and import into the same instance and expect any new behaviour.

Maybe you are looking for

  • Using a WRT54G as a second wireless and wired router on a LAN

    I have setup a WRT54G as a second wired and wireless router on my local LAN. The WAN wired side of the WRT54G is setup completely DHCP. It gets IP 192.168.1.104 most of the time. (I have used a PC with DHCP on theis ethernet wire and it gets to the i

  • Images not displaying when selecting it from real table

    Case is, I have some HTML in a table, help texts for that matter. It has some images in it defined like that: ... <img src="&COMPANY_IMAGES.picture.gif"> ... But the &COMPANY_IMAGES. substitution does not take place. When testing, I found out that se

  • Leica D-LUX 4 (LX3) RAW Processing

    Hi all, Just wanted to report some interesting behavior regarding the long-awaited RAW processing ability for the D-LUX 4 and Panasonic LX3. I did not see this happen on the first library I coverted, because I let Aperture do the image processing, so

  • Transitioning WSRP producer registrations from development to production

    Hi there, we're currently struggling a bit with the notion of producer registrations vs. the need for separating our development environment from production. Here's what we do: 1. We create a producer connection in JDeveloper, but using the developme

  • Sequencing Quiz Output Issue on Captivate 4

    Hi, I've imported a powerpoint presentation as my content and added multiple choice, matching and sequencing activities. There are several sequencing activities in the same learning object and I've had 2 related issues for learners. Sometimes items f