BO login bypass in BOXIR3.1

Hi ,
       we have installed the XI R 3.1 on solaris, we have our own portal, from there we want to redirect the users to the BO info view "Document list" when they click on some link.
we need to bypass the login form in the BO, 
can someone help me in doing this.

Sample Java Code:
<%@ page import="com.crystaldecisions.sdk.exception.SDKException,com.crystaldecisions.sdk.framework.*,com.crystaldecisions.sdk.occa.infostore.*"
%><%
IEnterpriseSession enterpriseSession;
String serializedSession;
/* Set Enterprise Logon credentials. */
final String BO_CMS_NAME  = "MyCMSName";
final String BO_AUTH_TYPE = "secEnterprise";
final String BO_USERNAME  = "MyuserName";
final String BO_PASSWORD  = "MyPassword";
/*Set Java InfoView start page URL */
final String INFOVIEW_URL = "http://<hostname>:<port>/InfoViewApp/logon/start.do";
/* Log onto Enterprise and serialize the Enterprise Session. */
enterpriseSession = CrystalEnterprise.getSessionMgr().logon(BO_USERNAME, BO_PASSWORD, BO_CMS_NAME, BO_AUTH_TYPE);
serializedSession = enterpriseSession.getSerializedSession();
/* Redirect to InfoView, passing the serialized Enterprise Session. */
response.sendRedirect(INFOVIEW_URL + "?ivsLogonSession=" + java.net.URLEncoder.encode(serializedSession));
%>

Similar Messages

  • Invalid login with rest functionality user

    Hi all.
    Following the "Web Services and Integration Framework Guide" for ATG 10.0.1 part III, I create an internal user "intRestUser" with BCC giving him the same roles of "admin".
    After, io defined under my localconfig atg publishing server /atg/rest/security/restSecurityConfiguration.xml
    <rest-security>
    <default-acl value="Profile$login$intRestUser:read,write,execute"/>
    </rest-security>After, I started JBoss server, switched the /atg/rest/processor/RestSecurityProcessor allowAccessForUnsecuredRepository to true and tried the following things
    1) a snippet of JavaCode
    public class TestRestCalls {
         public static void main(String[] args) {
              RestSession session = RestSession.createSession(myIpaddress, myPort, "intRestUser", "pwdRestUser");
              if (login(session)){
                   try {
                        RestResult result = RestRepositoryHelper.getItem("/atg/commerce/catalog/ProductCatalog", "product","6137329", null, session);
                   } catch (RestClientException e) {
                        e.printStackTrace();
         private static boolean login(RestSession session){
              boolean result = false;
              session.setUseHttpsForLogin(false);
              session.setUseInternalProfileForLogin(true);
              try {
                   String loginStatus = session.login();
                   if(loginStatus == null || "null".equals(loginStatus)) {
                        session = null;
                        System.err.println("Login Failed");
                   }else {
                        result = true;
                        System.out.println("Login Successful");
              catch (Throwable t) {
                   System.err.println("Exception: "+t.getMessage());
              return result;
    }It goes into exception at session.login() with this message:
    java.io.IOException: Forbidden Server returned HTTP response code: 403 for URL: http://myIpaddress:myPort/rest/bean/atg/userprofiling/InternalProfileFormHandler/login
    2) Invoking url by browser
    http://myIpaddress:myport/rest/bean/atg/userprofiling/InternalProfileFormHandler/login?value.login=intRestUser&value.password=pwdRestUser&atg-rest-return-form-handler-exceptions=true
    In this case I've in Jboss console
    ERROR [nucleusNamespace.atg.userprofiling.PreviewProfileRequestProcessor] (http-0.0.0.0-8280-5) An attempt was made to preview a project without logging in as
    a user with access to publishing assets. The Preview feature does not support remote preview on servers running the BCC. If you received this error and did not try
    to perform a remote preview, then you may need to disable preview in the current webapp by setting the atg.preview context parameter to false in the webapp's
    web.xml file.3) I login with my intRestUser into BCC Home and after re-try step 2)
    In this case in console I've an exception
    ERROR [nucleusNamespace.atg.dynamo.servlet.dafpipeline.RestSecurityServlet] (http-0.0.0.0-8280-5) Error code: 401
    Access to the requested resource is not allowed: /atg/userprofiling/InternalProfileFormHandler
    atg.rest.RestException: Access to the requested resource is not allowed: /atg/userprofiling/InternalProfileFormHandler
            at atg.rest.processor.RestSecurityProcessor.checkAccess(RestSecurityProcessor.java:524)
            at atg.rest.processor.RestSecurityProcessor.handleGetRequest(RestSecurityProcessor.java:287)
            at atg.rest.processor.RestSecurityProcessor.doRESTGet(RestSecurityProcessor.java:175)
            at atg.rest.servlet.RestPipelineServlet.serviceRESTRequest(RestPipelineServlet.java:395)
            at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:238)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:298)
            at atg.rest.servlet.RestPipelineServlet.service(RestPipelineServlet.java:242)
            at atg.rest.servlet.HeadRestServlet.service(HeadRestServlet.java:107)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:245)
            at atg.rest.servlet.RestProxyServlet.service(RestProxyServlet.java:118)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:29
    ...4) Finally I login with my intRestUser into BCC Home and after I call a rest service url directly as for example
    http://myIpAddress:myport/rest/repository/atg/commerce/catalog/ProductCatalog/product/6137329
    In this case it works.
    So, the BCC login bypass the direct authentication by InternalProfileFormHandler but only using the same browser session.
    So, the question is: why the java code or url code authentication don't work?
    Thanks in advance
    Marco
    Edited by: user10853406 on 27-ott-2011 12.42
    Edited by: user10853406 on 28-ott-2011 5.49
    simplified restSecurityConfiguration.xml

    I'm also experiencing the same issue. Seems like the problem is related with the Preview functionality. If I remove preview, the error goes away.
    Anyone knows a way to have this working with preview enabled?

  • Training To End User on AA ,  AP.

    Hi,
    i need to give the Traing to End Users on AA & AP next week,
    can any one help me how do i start, from which topic,
    or send me any meterail for Training to End Users. what type of questions
    will we get from them, how do i answer & manage them.
    please help me, very urgent.
    i will assign points.

    Prabodh wrote:
    You should always state the Apex version. And this case, because this is related to authentication, the Authentication scheme you are using.
    Assuming that you are using the Apex Built-in Auth scheme, you can achieve this by using User Groups feature and the APEX_UTIL.CURRENT_USER_IN_GROUP API.
    Here are the high level steps:
    a. Apex Builder > Administration > Manage Users and Groups
    b. Create 2 users UAT1 and UAT2
    c. Create 2 Groups UAT1Group and UAT2 Group
    d. Assign UAT1 user to UAT1Group and UAT2 to UAT2Group
    e. On the Home page of both the applications create a "Before Page Header" Branch that goes back to the Login Page. Make this branch conditional.This does not work, because in APEX you can go into any page after login bypassing the home page (like this http://apex.oracle.com/pls/apex/f?p=46417:9 where 9 is not home page)
    So this branch will not run.
    f. In "A" application you want only UAT1 to access , so use PL/SQL Expression type of condition in the above created branch that has the following code
    return NOT APEX_UTIL.CURRENT_USER_IN_GROUP('UAT1Group')So the user UAT1 will return False and the branch will not execute, but for others it will return True and send the user to Login page, which is access denied.
    Similarly, make the branch in B application condition for UAT2Group.
    Regards,

  • I can not open rpd file in online mode by oracle bi administrator tool

    Dear All,
    I faced an error below:
    - Yesterday, i opened rpd file online normally. after that, i restarted (stop bi services + start bi services) bi server. we did work by openning rpd file onlie normally.
    - today, i could not open rpd file online, it noted _"logon failed"_. i could open rpd file offline
    - i check log in OEM --> Business Intelligence --> coreapplication --> Selected Item: Diagnostics, some error below (i don't know exactly cause by what error)
    + Failed to restore ctx from reference
    + server is local, but local login bypassed.
    + Demo trusted CA certificate is being used in production mode
    + !!! Oracle FOI server destroyed. !!!
    + !!! Oracle MapTileServer destroyed. !!!
    please help me as soon as possible,
    Many thanks,

    Hi,
    Can check the nqsserver latest error log message
    path will be like below,
    D:\Oracle\Middleware\instances\instance1\diagnostics\logs\OracleBIServerComponent\coreapplication_obis1\nqsserver.log
    what changes u done? is it configured with SSL?
    Thanks
    Deva
    Edited by: Devarasu on Nov 23, 2012 5:09 PM

  • Summing up the networking grief

    I'm apparently having similar issues as many others with internet/network performance following update of my MacBook to 10.5/10.5.1. Possible solutions are spread out over many threads here, so I'd like to try to pull them together and note that they don't fix the problems. I have read something to the effect that "Apple is working on a fix;" this message is basically an alternative to sitting on my hands until that happens.
    The problems:
    - Very slow download speeds; streaming AV can't keep buffers full (was no problem on same connection with Tiger)
    - Large downloads (>15MB) routinely stall, with connection dropping (Activity Monitor incoming data line drops to zero)
    - AIM unusable, whether through iChat or Adium: constant bogus "signed on from 2 locations" messages and server request timeout errors.
    The environment:
    - 2Ghz Intel Core Duo MacBook
    - PPPoA DSL via Actiontec GT701 modem/router, both wired and wireless, 1280/640 Kbps
    - 1997 iMac running 10.4.9 on same network has no apparent trouble; outperforms MacBook in network speed and stability
    The attempted solutions:
    - Upgrading router firmware (Actiontec GT701)
    - Using Airport Express instead of DSL modem/router's native wireless
    - Going from open wireless to WEP to WPA, public to closed SSID
    - Disabling router firewall
    - Changing AIM port to 443
    - Using OpenDNS instead of ISP DNS
    - Deleting NetworkInterfaces.plist, preferences.plist, com.apple.airport.preferences.plist, com.apple.network.identification.plist
    - Trying Adium instead of iChat
    - Trying Firefox instead of Safari
    - Changing QuickTime streaming connection speeds to max
    - Enabling 802.1X login
    - Bypassing airport/wireless altogether and plugging straight into the DSL modem/router.
    - sudo ifconfig en1 mtu 1400
    Going to OpenDNS and setting the mtu to 1400 both seem to have a small positive impact on the problems, but are far from completely resolving them.
    I'm pretty sure the DSL or this particular modem/router is a key part of the problem, because connecting to other networks, wired or wireless, is nowhere near as bad.

    MTU 1400 is not going to kill your speeds at any bandwidth home users have. Please do the math before making a statement like that.
    The MTU values are not a craps shoot and can be calculated. I believe I made the recommendation to go to 1400 during a troubleshooting session because if it does not work, then the issue is not with packet size since that value would account for PPPoE/A overhead, any sort of IP/GRE tunnel overhead, and any additional TCP options that may be set by the user. If it does work, then the real MTU can be calculated.
    If you ONLY have PPPoE in the loop (probably most people), 1492 would be fine since it's an 8 byte header. Taking it any lower than that should be uncommon.
    In reality, you should never have to touch the MTU. You should transmit at the size your local media will support. Other protocols, such as PMTU-D, kick in to auto-adjust things down. It can't adjust up. If you have to touch this, it's due to one of those protocols not being able to function currently either due to a router or firewall (possibly your systems built-in firewall). MSS should normally be adjusted before the MTU is. However, that setting doesn't seem to take in Leopard.
    Taking your window size down to 65535 would cause a heck of a lot more impact than a 1400 byte MTU. There's a good reason why it is increased.
    At 65535 byte window and 100ms of latency, which is quite possible over the Internet, you're going to be limited to about 5 Mbps. It's set high for a reason. To get 30 Mbps, which many of us do have to our homes, you'll need a 375,000 byte buffer. Once you have a buffer that large, the other speed improvements provided by Leopard such as SACK need to be enabled or if you drop a packet you'll be in a world of hurt.
    Message was edited by: mreckhof

  • Konboot vs. Arch [Solved]

    Does anyone know if Kon-boot officially works against Arch? I am having issues using Kon-boot to get into my own box. I'm trying to verify I did the extra instructions to make it boot off USB and against Linux the right way., but am having problems. My understanding is it doesn't work against some distros.
    Last edited by logd (2010-07-07 03:00:49)

    hunterthomson wrote:
    Well, really there is no need for Konboot on a Linux box. Just edit the GRUB kernel line and add single to the end. Then it will boot up and you will have Root. You can even change the Root password at that point and boot up normal.
    I also never really could see the practical point in Konboot for windows ether. I mean just boot off of a BackTrack USB which has the ntfs-3g driver installed by default. Other then that I find it more useful to "change" the admin password on a windows box as appose to bypassing it.
    But do I still have a Konboot CD around ?, Sure
    Like lets say I show up at a small office and they have an IT guy that is gone. I get to the desktop and the user doesn't know the root password but I need to install some software on it. Instead of changing the admin password which could cause problems latter on. I just use Konboot. However, running AV and stuff I just boot from a live CD anyway.
    Yeah the GRUB line tricks work well usually, although not always it seems. I either add 1 or add on /bin/bash and chroot change the root pass. Originally I was looking to see if Kon-Boot could be a one all unlock disk. I do some computer repair and odds and ends on the side in a rough neighborhood and I get a lot of people with locked boxes. I don't ask questions. This d00d has bills to pay Yes, im aware Kon-boot doesn't give the pass. Yes, I know how to dump it once in. But perhaps your right, it's be easier to just change things anyways.
    All in all, I think i'll just stick with what you said about backtrack and grub editing. It seems to be the best and/or most reliable combo to date. As every box is different, one must have a variety of trickery readily available. I still think it would be cool if someone made an attempt at making a all systems login bypasser/pass dumper/whatever. Perhaps this is a project for me...hrm....
    And actually adding a shell command to GRUB for an older Arch box I had seemed to be the only thing that worked on that one. Even then it didn't want to go to the shell on the 1st boot. But did on the 2nd try. As a prevention thought, pass protect your BIOS to try and prevent this.
    Last edited by logd (2010-07-08 01:56:39)

  • Major problem - can't boot MacPro 10.5.3

    Yesterday I tried to run the Software Update for 10.5.4. It crashed shortly after agreeing to all software agreements. It hung with nothing happening. I gave it an hour to make sure it was hung, then shut it off. I started back up, and everything seemed to be OK. Disk Utilities repaired some permissions, but no other problems were encountered until tonight. I have "auto-login" selected for my user account since I'm the only one. I attempted to test a situation concerning Apple's Help by creating another user (in this case called "test") and logging out so I could log back in under the "test" account. I encountered a cycling blue screen when I did this. The computer displayed a medium blue screen with a progress wheel, then shifts to a light blue screen, then back to the medium with the wheel, etc. After 5minutes of this, I shut it down. Then started again. The auto-login bypassed the new user, so I turned off auto-login for my user and restarted. Then the "real" trouble started.
    The Mac starts, displays the gray Apple logo screen, then switches to a medium blue screen with a progress wheel, then shifts to a light blue screen, then back to the medium with the wheel, etc.- shifting until infinity, I guess. It won't get past that point. I've tried booting in safe mode - same result; booting from my external FireWire clone - same result; booting from the Install CD - same result.
    If I can't get it to boot from the Install CD I've got an expensive doorstop! I've never had so much trouble with an Apple product in my 15 years of using them. Luckily I have this "old" PPC G4(DA) as my "backup". I'm starting to feel like I made a really big mistake getting this MacPro.

    I have managed to get the MacPro to start from the Install Disk (3rd attempt!) and then choose the external FW clone as the boot drive. Obviously, I can operate in this mode for a while, but this is a clone of the drive that will not display the login screen - and I have no idea of how to fix the drive that's installed other than to totally wipe, re-intall, etc.
    Is that my only option?

  • BI Webtemplate access to End user.

    Dear All,
    My BI team asked me the answer for this scenario. They have to give the webtemplate (created/executed by BI) URL to end user access. Please advise me what are all the access need for end user. What kind of the access we have to give to the end user and tell me about configuration part of the BASIS consultant.
    Thanks for your help.
    Regards,
    Senthil Kumar.C

    Prabodh wrote:
    You should always state the Apex version. And this case, because this is related to authentication, the Authentication scheme you are using.
    Assuming that you are using the Apex Built-in Auth scheme, you can achieve this by using User Groups feature and the APEX_UTIL.CURRENT_USER_IN_GROUP API.
    Here are the high level steps:
    a. Apex Builder > Administration > Manage Users and Groups
    b. Create 2 users UAT1 and UAT2
    c. Create 2 Groups UAT1Group and UAT2 Group
    d. Assign UAT1 user to UAT1Group and UAT2 to UAT2Group
    e. On the Home page of both the applications create a "Before Page Header" Branch that goes back to the Login Page. Make this branch conditional.This does not work, because in APEX you can go into any page after login bypassing the home page (like this http://apex.oracle.com/pls/apex/f?p=46417:9 where 9 is not home page)
    So this branch will not run.
    f. In "A" application you want only UAT1 to access , so use PL/SQL Expression type of condition in the above created branch that has the following code
    return NOT APEX_UTIL.CURRENT_USER_IN_GROUP('UAT1Group')So the user UAT1 will return False and the branch will not execute, but for others it will return True and send the user to Login page, which is access denied.
    Similarly, make the branch in B application condition for UAT2Group.
    Regards,

  • My computer keyboard has a bad "M" key so I cannot login into my computer from boot     is there a way to bypass the login to reset my macbook pro

    my computer keyboard has a bad "M" key so I cannot login into my computer from boot     is there a way to bypass the login to reset my macbook pro

    Late reply, but if anyone is experiencing the same problem, I've found a solution. For whatever reason, some macbooks don't recognize usb flash drives during the boot-up phase, even though the usb ports themselves are powered (I tested this with a multimeter). The solution then, was to use an external USB hard drive that has its own power supply to install Snow Leopard. I don't know why, but it's the only way I got my macbook (Macbook 2,1/A1181) to recognize the install drive. Every was smooth sailing from there!

  • How to Build Custom JSP Page to bypass Oracle Apps Login

    Hi All,
    Can some one guide me how to develop a custom jsp page to bypass Oracle Apps R12 Login.
    Actually Our requirement is some external user will enter the login details in some third party login page with the third party generated username and passwrod, that user's credentials are mapped to oracle system,so as soon as they enter credentials having validated it has to redirect that external user to Oracle Apps R12 Home Page, where responsibilities are shown. Currently that third Party login page is set to redirect to RF.jsp but that is not working and throws this error:
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session.Please select Home to Proceed"
    So I am planning to build a custom jsp page to resolve the error.
    As soon as user enter credentials in the third party login page, it will be redirected to my custom login page which in turn redirect external user to Oracle Apps R12 Home Page, where responsibilities are shown. Is it possible? If yes what JSP Page/Servlet I have to invoke from custom JSP Page and what all URL parameters or session parameters and cookies parameter I have to pass or set.
    Can anybody please help me...
    Its very urgent. We are running short of time. Its a sev 1 issue.
    Please reply soon.
    Thanks,
    Raja Dutta

    Hi,
    Thanks for the update.
    Sir its not about calling the JSP Page from OAF page.
    My requirement is what I have explained above.
    Please suggest its urgent.
    Thanks,
    Raja Dutta

  • How to Bypass Windows 7 Login Screen When Forgot Admin Password

    When forgot Windows 7 administrator login password and be stuck at the login screen what can you do? Believe that many people have encountered such a situation where they are locked out of their own computer for forgotten Windows administrator password. So today I would like to talk about several tricks on how to bypass Windows 7 login screen when forgot administrator login password. Trick 1: Reset Windows 7 admin password with password reset diskIf you have ever created a Windows password reset disk for that administrator account before you forgot its password it is easy to use it to reset or remove its password. Just insert the disk into your locked Windows 7 computer and click ¡°Reset Password¡± link on the login screen. Then follow the password reset wizard to perform password reset. This is the easiest way to bypass a Windows login screen when forgot administrator password. Trick 2: Change Windows 7 admin password in Safe ModeIf you have no password reset disk you have to look for other tricks to bypass your Windows 7 administrator password. So if you have enabled the built-in administrator account you can enter Safe Mode by pressing F8 when your computer is booting. And access that built-in administrator account to change other user password. Trick 3: Bypass Windows 7 Login screen with Windows Password RescuerIf the forward 2 tricks don't work, it is necessary for you to use an effective Windows Password Recovery tool like Daossoft Windows Password Rescuer. Steps are as below.Step 1: Download and install Daossoft Windows Password Rescuer into another accessible computer.Step 2: Launch this tool and follow its instruction to burn it to a USB/CD/DVD flash drive.Step 3: Boot your locked Windows 7 computer from the flash drive.Step 4: Follow its instruction to reset/remove your Windows administrator password. Detailed video tutorial :How to Remove or Bypass Windows 7 Administrator Password - Forgot Windows 7 Administrator Password

    The methods above don't work at all. Eventually I used a paid tool - PCUnlocker Live CD, and it successfully bypassed my lost admin password. 

  • How to Get the Login Window and/or Bypass Login Items?

    Greetings, folks!
    This is a silly question, but the old standby of “hold down the shift key” doesn’t work in 10.6.1:
    What key(s) need to be pressed to get the LogIn window and then after LogIn, to bypass LogIn Items?
    Thanks!!
    Richard Fairbanks

    Not here, on a fresh (erased) install.
    Pressed either before or after the initial gray Mac appears, the shift key does not access the LogIn screen. It is possible to bypass the account’s LogIn items by holding down the shift key after the LogIn screen has been called and successfully commenced, but how does one call the Login screen when the Mac is normally set up for automatic login?
    It used to be the shift key . . . 
    Thanks!

  • Is there a way to bypass user login as its not being recognised

    I have disabled automatic login and now I can't login as it does not like the username an or password, is there a way to bypass the user login, please help ASAP

    http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/

  • Bypass login screen in Lion OS X?

    Is there any way to bypass the login screen in Lion OS X? I find it a cumbersome extra step becuase if I log in with my password, the Wi Fi does not connect so I have to restart. Alternatively if I just press the restart button on the login page, the system restarts without the need of a password (which seems totally contradictory....why ask for a password when on the same login screen you can get into the system without it) and the Wi Fi connection is good.
    In any case, it's a waste of time to have to restart every time I boot up my iMac.

    Its there for me...
    Try resetting your PRAM and SMC to see if the IR receiver shows up after doing this.
    Do you see the "IR Receiver" in the "USB" section of the "System Information" utility (previously "System Profiler")?

  • Bypass JAAS Login Module

    Hello together,
    we need to build a new call from oracle Forms to new JSP PAGE ( made in ADF).
    That means, we create a new HTTP Request from Forms and read the Request Parameters, such username and password in the called JSP Page.
    We are using JAAS Authorization which works fine, but her comes the Problem:
    We would like to use the request parameters to authorize in JAAS automatically without any Login Screen (Login Module)
    Is there any Solution.
    Regards
    Arni

    Hi Frank,
    so there is no Chance to bypass the login Screen ?

Maybe you are looking for

  • Vendor Line Item Upolad Without TDS Portion  -- very urgent

    Hi Peers I want to upload the vendor Line Items. If my Vendor is a TDS Vendor then , the system is calculating TDS even for Initial Upload. Is there anyway by which i can bypass this. Plz help. Its very urgent. Regards Rajaram

  • Why cant I sign in and send. My subscription is current

    Why cant I sign in and send. My subscription is current

  • Buying a new phone.

    My upgrade is about to be available and I would like to get the white iphone 4 with sprint. How much is it going to cost? Is there an upgrade fee or activation fee?

  • IPhoto 08 problem:  photos in book are deleted when moved to photo toolbar

    When I move a photo from one of the pages in the photo book back to the photo tool bar (or whatever it is called) at the top of the page the photo disappears rather than staying there. If I go to edit to undo the action it returns to the page vs retu

  • Grepping a file for a specific pattern

              I'm trying to use a servlet to mimic a tail/grep operation on a log file. Whilst           I can use a FileReader           to get the contents of a file and put them to a string and display on a browser,           I am only interested in a