OIF Simple authentication (Form) against OID

Hello,
Have installed OIF, and OID without problems, the OID is set as a user repository for OIF, I would like to create a simple form based authentication to create a session on OIF for a given user, but I dont now how to do it, I tried with the sample provided with oif (at .../shareid/login.jsp, http://mydo:8778/shareid/login.jsp) but I am getting errors!!!!
Could any one help me?

What are the error messages you see?
You are not supposed to invoke the login page directly. Did you configure the IdP and SP for Federated SSO? The simplest way to do this is Loopback Testing, where the same OIF is the IdP and SP. The URL for Loopback Testing is:
http://mydo:8778/shareid/saml/ObSAMLTransferService?DOMAIN=MyDomain&METHOD=artifact&TARGET=http://mydo:8778/shareid/saml/ObSAMLTestTarget
When you fire this URL, you will hit a form login page. Upon login, a user session will be created. For more information, read this link:
http://download.oracle.com/docs/cd/E10773_01/doc/oim.1014/b25355/configuring.htm#BCGHGCAB
-shetty2k

Similar Messages

  • Authentication failing for APEX against OID when uppercase used in password

    We are using Application Express 3.1. I am authenticating against OID 10.1.2.2 and noticed some users were having problems
    logging into APEX. They are getting "Invalid Login Credentials". I eventually workout it was when they were authenticating using a password
    having a uppercase character ... "Blackhawk" is one example. We authenticate discoverer using OID and do not have the same problem.
    Has anyone else encounter this problem please ?
    Cheers Rod
    The Function I use is shown below:
    DECLARE
    V_TEST BOOLEAN;
    V_EXIST NUMBER ;
    BEGIN
    SELECT COUNT(*) INTO V_EXIST FROM BE_MANAGERS
    WHERE MANAGER_CSO_CODE = :APP_USER
    AND FINANCIAL_YEAR_ID = BE_BUDGETS_APEX_PKG.CURRENT_FINANCIAL_YEAR ;
    IF V_EXIST = 0 THEN
    HTMLDB_APPLICATION.G_UNRECOVERABLE_ERROR := TRUE;
    OWA_UTIL.REDIRECT_URL('f?p=' || v('APP_ID') || ':101:' || v('APP_SESSION') );
    END IF ;
    V_TEST := HTMLDB_LDAP.IS_MEMBER
    ( p_username => :APP_USER, p_pass => NULL
    , p_auth_base => 'cn=Users,dc=planforlife'
    , p_host => 'oraapp01'
    , p_port => '389'
    , p_group => 'OID-PilotUsers'
    , p_group_base => 'cn=vaultgroups,cn=Groups,dc=planforlife');
    IF V_TEST = FALSE THEN
    HTMLDB_APPLICATION.G_UNRECOVERABLE_ERROR := TRUE;
    OWA_UTIL.REDIRECT_URL('f?p=' || v('APP_ID') || ':101:' || v('APP_SESSION') );
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    HTMLDB_APPLICATION.G_UNRECOVERABLE_ERROR := TRUE;
    OWA_UTIL.REDIRECT_URL('f?p=' || v('APP_ID') || ':101:' || v('APP_SESSION') );
    END;

    Rod:
    Are you sure it is not the 'username' which is causing the issue ? If it is the username then to preserve the case in which the username is entered you will need to set the ' p_preserve_case' parameter to true in the call to APEX_CUSTOM_AUTH.LOGIN . This API is invoked in the application's login page as an after-submit page process.
    Varad

  • Problem activating simple adobe form from SFP

    Hi
    I created a simple adobe form from transaction SFP....2 steps ...created interface then form.
    the problem is when try to activate the form there are no syntax errors but iam getting a message
    1,275 bytes transmitted, code page 0000
    Message no. FES032
    and the form is still inactive...
    any idea why iam getting this error? is configuration from basis not configured properly?
    Please advise
    Govi

    1. Create RFC (ABAP system side) destination through SM59 called as ADS which should of type G
    u2022     RFC Destination          : ADS
    u2022     Connection Type          :G(HTTP Connection to External services)
    u2022     Destination 1               : ADS connection to SID (Java system)
    Target System settings:
    u2022     Target HOST          : JAVA system Host 
    u2022     Port               : java system port
    u2022     Path prefix          : this defaults(/AdobeDocumentServices/Config?style=rpc)
    2. Login to Visual Administration
    Navigate to Server  Services  Destinations and select HTTP drop down.
    Create the RFC destination as FP_ICF_DATA_<SID>.
    Destination Name: FP_ICF_DATA_<SID>
    Destination Type: HTTP
    Connection settings:
    u2022     URL          :http://<hostname>:<ABAP-portno>
    u2022     system Id     :--NIL
    u2022     client            : ABAP system client no(200 or 300)
    u2022     Language     :--NIL
    Logon Data:
    u2022     Authentication: BASIC
    BASIS Authentication:
    u2022     Username:ADS_AGENT
    u2022     Password:xxxxx
    3. Please activate SOAP service:
    Login your ABAP System
    u2022     Use transaction: SICF  execute  and Select default hostselect sap---select bcu2014select-SOAP Select and activate

  • Simple authentication scheme

    I am looking for a very simple authentication scheme. Security is not important, it just has to stop a not very determined accidental visit. And I do not want to set up a real user for this. Think for instance an invitation page for a party that needs to be discussed with a few people before going live for the rest of the invitees.
    Is there a way to do this? Something simple in Apache would probably do as well.

    Although you might not want to create a real user account for this, it'll actually make it a LOT easier t do so.
    You see, Server Admin includes the ability to define protected realms in your web environment, but it only works against users and groups in the directory.
    Apache, of course, can use a variety of ways to define users, but then you have to get under the hood and mess around in the Terminal.
    So my suggestion would be to create a new user account - at least temporarily (you can delete it when the party invite is live).
    Then use Server Admin -> (server) -> Web -> Sites -> (your site) -> Realms to create a new realm for your pages. The realm simply matches the URI, so if your content is at http://www.yourserver.net/invite/ then you create a realm that covers /invite/
    Then expand the users and groups pane (on the side of the window) and drag the newly-created user into the access list.
    That's all there is to it. When the server sees a request for anything in /invite/ it will ensure the user is authenticated using a username/password that has been granted access.
    Once the site goes live, remove the realm, then you can delete the account.

  • Error in Simple Adobe Form

    Hi ,
      I have gone through this below PDF
      https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-   ffd41e8e8d59
    It is Simple Adobe Form with two fields(Firstname and Last name ) not table. I am getting UI Interactive form but not getting PDF. I am using NWDS 7.0.15 and Adobe Live Cycle Designer 7.1.
    Please help me out.
    Thanks
    Risha

    Hi Risha,
    In NWDS Web Dynpro perspective, when you create a project, you will be able to create an InteractiveForm UI Element in any view. You need to set the 'datasource' property to some context node with attributes. You open the Adobe Designer for this InteractiveForm UI Element by choosing the context menu option 'Edit'. You can create some form elemnts for it by dragging the attributes of the binded datasource node from 'Data View' to the form preview area. When you build, deploy & run your application after this, you get this form in the browser. You can now save this form as pdf.
    You can refer to https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf (Using Table in Adobe Form)
    Hope this helps you.
    Kind Regards,
    Nitin

  • I, and my clients, want a VERY simple contact form hosting option...

    There's no need for us to have data collected and analyzed. No need for yet another hosting service to store data we'll NEVER use.
    I've already got a hosting service for my site. My clients already have hosting for their sites. None of us are willing to spend another
    dime to have a second hosting system for anything. Don't care. Don't want it. LOVE the Muse forms and the ease with which I can
    modify them to look the way I want them to, but that all adds up to jack squat if they don't work.
    All we're looking for is a simple contact form that allows users to fill in a couple of form fields, add a little message and hit send.
    My clients want to have at the most, about 5 different email addresses set up so they can keep the information organized a bit on their end.
    They may get at most about 300-500 emails a month at a peak time of the year.
    That's not too much to ask is it?
    I mean, if I use the "Upload to FTP host" feature in Muse, what's so hard about adding a bit of code that uses that server space to pass along
    a few messages to a mailbox?
    Can't we just set up a BASIC contact form that is just creating an email and sending it to an email address with a preformatted message based
    upon the form fields we add to the widget? Something like this:
    Name: John Smith
    Email: [email protected]
    Phone: 555-555-5555
    Message: You guys are a great little company, thanks for being so swell.
    Dat be all we want yo! Hook us up mang!
    For $15 dollars a month that I'm paying to use Muse, there oughta be something like that in the form widget panel! Dang!
    Really have a bad taste in my mouth with this whole attempt to channel people into Business Catalyst... That might be great
    for some of your customers, but odds are, not really... The majority of Muse users are likely to be designers that want to have
    a bit more control over their clients image/brand, and want to have less painful ways of keeping up with the advancements in
    webdesign/development without having to learn new code crap every few months!
    So let's not be too greedy and accidentally paint some of your customers into a corner and try to get them to pay you more
    money for services they don't need, and probably don't want.
    I've recommended Muse to a few designer friends of mine, and their comments are all the same: Love Muse for the ease of
    use in designing websites, hate the idea of Business Catalyst. "Feels like a ball and chain, but worse because I have to pay for it."
    Yeah, time to rethink your plan a bit folks?
    Simple Muse Form Widget. Get on it! It would be VERY nice of you to do so!

    I do agree and have posted a few times on this. It would be nice not to be tied down with another hosting subscription. It would be better if instead of having to pay for BC hosting with different plan pricing they could have different pricing for Muse with different feature options. I would pay more for Muse to use the form feature freely on any server I choose because like you said the form widget is great for making really custom forms, but that ease of use should come at a cost because it is so sought after.
    I am getting sick of people wanting everything for free just because it is there and they want it so badly but think they shouldn't have to pay for it because it is not in their budget.
    Muse should have different tiers with different feature options and not force BC on users. BC is a great solution for people without hosting or users that are not familiar with setting up their own servers but for the ones that do have their own servers and are comfortable with using them feel tied down.

  • Simple adobe form config

    Hi All,
    I want to desing the adobe forms, instead of smartforms. But the purpose of the adobe forms is just the display as of smartforms. For this what all configuration is needed. I dont think J2EE engine config is needed for this. Correct me if i am wrong.
    I have created ADSUER and in SM59 am creating ADS for HTTP Connection to External Serv and in  Target host i am giving the my own sap server name, and path perfix as /AdobeDocumentServices/Config?style=rpc and i am not sure how to find the service number. In case of java it will be port number and the target host will be some J2EE engine user id... when i am trying to do the test connection i am getting the error ICM_HTTP_CONNECTION_FAILED,
    Pls let me know whether this setting will work for simple PDF forms. Pls let me know how to find out the Service no to enter here.
    Thanks,
    Raju

    >
    raj008 wrote:
    > Hi All,
    > I want to desing the adobe forms, instead of smartforms. But the purpose of the adobe forms is just the display as of smartforms. For this what all configuration is needed. I dont think J2EE engine config is needed for this. Correct me if i am wrong.
    > I have created ADSUER and in SM59 am creating ADS for HTTP Connection to External Serv and in  Target host i am giving the my own sap server name, and path perfix as /AdobeDocumentServices/Config?style=rpc and i am not sure how to find the service number. In case of java it will be port number and the target host will be some J2EE engine user id... when i am trying to do the test connection i am getting the error ICM_HTTP_CONNECTION_FAILED,
    > Pls let me know whether this setting will work for simple PDF forms. Pls let me know how to find out the Service no to enter here.
    > Thanks,
    > Raju
    First of all, you have open threads and i dont think you will ever come back and see the answers. If you see, please close them.
    Come to your point..... You have to have configured ADS in the system and for this, you have to have java stack somewhere in your box. Search forums for how to configure or go to service.sap.com and search for notes. there are trouble shoot programs. go through them.
    To configure as smartforms, you have to do that in output configuration through transaction NACE.
    To display only, you can make them non interactive and leave blank in editable in form interface.

  • Error in Simple Input Form Example for CE 7.1?

    Hi @,
    I am trying to execute Simple Input form example in sdn for CE 7.1. But its not working as per the functionality.
    Can anyone suggest what is the issue ?
    Regards,

    hi,
    This particular example is given in the sdn and is for ce 7.1 but its not working .
    Regards

  • How to create simple Adobe Forms in ABAP

    hi,
    i want to know how to create simple Adobe forms in ABAP

    Hi,
    Look at this eLearning Documents. This a good way to start.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
    Regards.
    Marcelo Ramos

  • Simple authentication and authorization with a servlet and a filter

    Could somebody point me to code example that do simple authentication/authorization using one servlet and one filter? (without Spring, Struts, JSF or any framework)
    I&rsquo;m having a lot of problems with that, apparently, easy task.
    These are the rules:
    - A simple login page
    - Two roles (admin, registered).
    - If the user loged is an admin, redirect to his entry page (private/admin/index.jsp).
    - If the user loged is of role registered, redirect him to his entry page (private/registered/index.jsp).
    - If it&rsquo;s not a valid user, redirect again to login page.
    - Admin&rsquo;s users cannot go to private/registered/ area.
    - Registered users cannot go to private/admin/ area.
    - Non authenticated user cannot go to private/ area
    Thanks a lot in advance!
    Edited by: JLuis on 25-ago-2010 15:27

    AccessControl.java:
    package com.tlsformacion.security;
    import java.io.IOException;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import com.tlsformacion.utils.Log;
    public final class AccessControl extends HttpServlet {
         private static final long serialVersionUID = 5741058615983779764L;
         private static final String USERNAME_ATTR = "username";
         private static final String PWD_ATTR = "password";
         private static final String LOGIN_PAGE_ATTR = "login_page";
         private static final String ROL_ATTR = "role";     
         private boolean isAuthentic = false;
         private String role = null;
         private String loginPage = null;
         public AccessControl() {
            super();
         public void init(ServletConfig config) throws ServletException {
              loginPage = config.getInitParameter(LOGIN_PAGE_ATTR);
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              debug("Inside doGet");
              doAccessControl(request, response);
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              debug("Inside doPost");
              doAccessControl(request, response);
         private void doAccessControl (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              debug("Inside doAccessControl");
              doAuthentication(request, response);     
              if (isAuthentic) { //Authentic user
                   doAuthorization(request, response);                         
              } else { //User NOT authentic
                   doRejection(request, response);
         private void doAuthentication(HttpServletRequest request, HttpServletResponse response) {     
              debug("Inside doAuthentication");                         
            String requestedURI = request.getRequestURI();
            if (requestedURI.contains("/AccessControl")) { //Comes from login page           
                 debug("Comes from login page");
                  String username = request.getParameter(USERNAME_ATTR);
                String pwd = request.getParameter(PWD_ATTR);   
                 role = getRole(username, pwd);
                 if (role != null) {
                      isAuthentic = true;
                      request.getSession().setAttribute(ROL_ATTR, role);
            } else { //Doesn't comes from login page
                 debug("Doesn't comes from login page");
                 if (isInSession(request)) {
                      debug("Rol is in session");               
                      isAuthentic = true;
                 } else {
                      debug("Rol is NOT in session");
         private void doAuthorization(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {          
              debug("Inside doAuthorization");
              String requestedURI = request.getRequestURI();
              debug("requestedURI: " + requestedURI);
              if (requestedURI.contains("/AccessControl")) { //Comes from login page                                                                 
                   goHomePage(request, response);
              } else if (requestedURI.contains("/private/" + role)) { //Trying to access his private area
                   goRequestedPage(request, response);
              } else { //Trying to access other roles private area
                   goLoginPage(request, response);
        private void doRejection(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {          
             debug("Inside goRejection");
             role = null;
              goLoginPage(request, response);         
         private void goHomePage(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              debug("Inside goHomePage");     
              String homePage = "private/" + role + "/index.jsp";
              goPage(request, response, homePage);
         private void goLoginPage(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              debug("Inside goLoginPage");
              goPage(request, response, loginPage);
         private void goRequestedPage(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              debug("Inside goRequestedPage");
              String contextPath = request.getContextPath();          
              debug("contextPath: " + contextPath);
              String requestedPage = request.getRequestURI().replace(contextPath + "/", "");
              goPage(request, response, requestedPage);
         private void goPage(HttpServletRequest request, HttpServletResponse response, String page) throws IOException, ServletException {
              debug("Inside goPage ...trying to go to: " + page);
              //Option A
              response.sendRedirect(page);
              //Option B
              //RequestDispatcher requestDispatcher = request.getRequestDispatcher(page);
              //requestDispatcher.forward(request, response);                  
         private boolean isInSession(HttpServletRequest httpRequest) {
             boolean inSession = false;
              role = (String)httpRequest.getSession().getAttribute(ROL_ATTR);
              if (role != null && !role.equals("")) {
                   inSession = true;
             return inSession;
        //PENDIENTE: mock method!
        private String getRole(String username, String pwd) {         
             String role = null;
             if (username.equals("admin") && pwd.equals("admin")) {
                  role = "administrator";
             } else if (username.equals("regis") && pwd.equals("regis")) {
                  role = "registered";
             return role;
        private void debug(String msg) {
             Log.debug(msg);
    }Proyect Folder Structure:
    WebContent
         login.html
         private
              administrator
                   index.jsp
              registered
                   index.jspBasically, the problem is that if you try to log as admin/admin (for example) the servlet AccessControl executes infinitely
    Edited by: JLuis on 26-ago-2010 8:04

  • Using a Simple Parameter Form Portlet with a Report Portlet to Search DB

    My organization registers clients for workshops in iLearning.We use iPortal for our web site. I would like to use a Simple Parameter Form Portlet for clients to conduct a search on the data that is in iLearning and have it displayed in a Report Portlet on a separate page. I have been able to bring the iLearning data into the Report Portlet but I have not been successful in setting up the Simple Parameter Form Portlet to do a search on the data and then have it displayed. Any suggestions.

    hi,
    i just tested this in portal 10.1.4 and it works fine. you can fire an event and pass a parameter from a simple parameter form portlet and consume this page parameter in a portlet builder reports component. there is some documented behavior in bug 3321558 that has to do with personaliziation (customization in older releases). if you enter some personalization the page parameter gets ignored. for more information on this please contact oracle support services.
    regards,
    christian

  • Is there a way to remove fields from a "Simple Contact" form?

    What I am looking to do is create a "subscribe to newsletter" form where the user only has to enter their email address. I don't want them to have to enter their name or write a message. Does anyone know if it is possible to alter the simple contact form?
    Please see photo for what I am looking to create.
    Thank you for your time.

    Hi Kurt,
    What I ended up doing was creating the form in Muse then bringing the html page into Dreamweaver and removing the name field. It works but can be kind of a pain if you want to make changes to the design part in Muse because you have to go back into dreamweaver and remove the name field again every time you export. I'm glad to hear the next major release will no longer require a name field.
    It would be nice if we could play with the code behind muse within muse. It would make life easier especially when inserting google analytic tracking for pdfs. ;-)

  • Simple Input Form Example

    Hi all,
    I am trying out this example.
    [Simple Input Form|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14]
    In the method onActionSave(),
    //@@begin onActionSave(ServerEvent)
    this.checkMandatory(IPrivateForm.IContextElement.NAME);
    A Simple Input Form 25
    SAP Online Help
    this.checkDateInPast(IPrivateForm.IContextElement.BIRTHDAY);
    this.checkDesired(IPrivateForm.IContextElement.E_MAIL_ADDRESS);
    wdComponentAPI.getMessageManager().raisePendingException();
    wdComponentAPI.getMessageManager().reportSuccess(
    "The sample form data was successfully saved!");
    It states that if there is any error, raisePendingException() would stop the flow of the codes.
    However when i am running the application, the application still calls the reportSuccess method.
    What could be wrong here?

    Hi,
    The raisePendingException() method checks if any exceptions were reported to the exception manager and are still stored in the exceptions manager. If there is at least one exception still stored, this method does not return, but raises a framework internal exception instead to return to the framework error handler.
    So probably there are no exceptions reported to messagemanager in your functions checkmandatory() etc.
    Try writing foll code
    wdComponentAPI.getMessageManager().reportException("Some Message");
    just before the raisePendingException() statement and see if it works.
    Best Regards,
    Mayuresh

  • Adobe Muse simple conctat form

    I am creating a new site, where I inserted a simple conctat form, but doing the Muse PHP Diagnostic test something does not work and I can not find the problem.
    The site is on an FTP server that supports PHP and SQL and not in Adobe Muse Catalyst.
    Below the image of the Muse PHP Diagnostic
    Can anyone kindly help me?
    Thank you very much

    Hi David,
    I'm having the same issue. Have you figured this out yet?

  • Tutorial for simple login form

    Can anyone post a link to a tutorial for a simple login form in Oracle form devloper 10g?
    Thanks,
    Va
    Message was edited by:
    user450092

    > 1. When I enter the correct username and password, it
    just drops me back
    > into the login page.
    This - header("Location=
    http://thenewpage.com");
    should be this - header("Location= thenewpage.php");
    > 2. When I enter the incorrect username and password, it
    drops me back into
    > the login page without the error message.
    Post the rest of the form, please.
    (Now I'm really off for the Philles game!)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Virginia Carter" <[email protected]> wrote in
    message
    news:g0pibi$lu2$[email protected]..
    > I'm trying to create a simple login using a form and php
    and am having
    > difficulty in troubleshooting - if someone could give me
    a little help, I
    > would greatly appreciate it.
    >
    > Here is the code:
    >
    > <?php
    >
    > $error = FALSE;
    >
    > if (isset($_POST['client_password']) &&
    isset($_POST['client_username']))
    > {
    > if (($_POST['client_password'] == 'blah') &&
    > ($_POST['client_username'] == 'blahblah')) {
    > header("Location=
    http://thenewpage.com");
    > exit();
    > }
    > else {
    > $error = "<h2>You have entered an incorrect
    password/username.
    > Please try again.</h2>";
    > }
    > }
    >
    > ?>
    >
    > (and in the document body)
    >
    > <?php echo $error?$error:''; ?>
    > <form method="POST" action="<?php echo
    $_SERVER['PHP_SELF']; ?>"
    > name="form1
    > " id="form1">
    > <rest of form follows here>
    >
    > In testing this page in the browser:
    >
    > 1. When I enter the correct username and password, it
    just drops me back
    > into the login page.
    >
    > 2. When I enter the incorrect username and password, it
    drops me back into
    > the login page without the error message.
    >
    > Thanks in advance.

Maybe you are looking for