Sample Custom SSO does not not for external userid mapped in userprofile in 11.1.1.8

Hello

I m following the tutorial to set customizable SSO on my site but I m facing a lot of problems to set up external users to Sites of Toilets as mentioned above:

76.3.3.

http://docs.Oracle.com/CD/E29542_01/doc.1111/e29634/wemcustomizingsso.htm#WBCSD335

Exactly the same like, my card on SampleAuthenticator class always returns null! (I can see on table SystemUserAttr existing users)

...

Card < String, String > csTokens = callCsResolverPage (authid, "samplesso");

Error:

HTTP status 500 - processing of the request has failed; nested exception is org.springframework.webflow.engine.ActionExecutionException: Exception thrown in execution [AnnotatedAction@171ba9e targetAction = com.fatwire.wem.sso.cas.web.CustomLoginViewAction@192ea2c, attributes = card: [[empty]]] in the State "viewLoginForm" to flow "connection-webflow" - action execution attributes were 'card [[vacuum]] "; nested exception is java.lang.SecurityException: java.lang.NullPointerException

org.springframework.web.util.NestedServletException: processing of the query failed. nested exception is org.springframework.webflow.engine.ActionExecutionException: Exception thrown in execution [AnnotatedAction@171ba9e targetAction = com.fatwire.wem.sso.cas.web.CustomLoginViewAction@192ea2c, attributes = card: [[empty]]] in the State "viewLoginForm" to flow "connection-webflow" - action execution attributes were 'card [[vacuum]] "; nested exception is java.lang.SecurityException: java.lang.NullPointerException

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)

org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)

javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)

org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

com.fatwire.cas.web.CASXSSFilter.doFilter (CASXSSFilter.java:139

Yes, I already did.

First of all, you need to set the user with the permission to ask the ACL for your csso users. In file Suur CustomResolverCredential together:

Then what I do is rewrite the method callCsResolverPage in SampleConfiguration. Do it like this:

public static HashMap {callCsResolverPage (string ID, String resolverName)

HashMap results = null;

If (ID! = null) {}

HashMap requestTokens = new HashMap();

requestTokens.put ("referees", resolverName);

SecurityCredential resolverCredential = CustomConfiguration.resolverCredential;

IdentityResolver identityResolver = new RemoteUsernameResolver();

((RemoteUsernameResolver) identityResolver) .setCsServerUrl (CustomConfiguration.resolverUrl);

log.info ("user:" + resolverCredential.getUsername ());

Card responseMap = identityResolver.getUserMappedAttributes (ID, resolverCredential.getUsername (), resolverCredential.getPassword (), resolverName);

If (responseMap! = null) {}

results = new HashMap();

{for (Map.Entry entry: {responseMap.entrySet ())}

log.info ("--->" + entry.getValue () m:System.NET.SocketAddress.ToString ());

Results.put (entry. GetKey(), entry.getValue (m:System.NET.SocketAddress.ToString (()));

}

}

}

return results;

}

Hope this can help out you.

Tags: Fusion Middleware

Similar Questions

  • Drawing a custom profile does not work for me. It works for you?

    Drawing a custom profile does not work for me. It works for you?

    I can only apply on an existing line, but cannot make a new one with the selected profile. In fact if I change the profile other than the default uniform I also can't draw a new stroke with any other width than the default 1 point. This does not seem normal.

    Use the SC5 on a PC.

    You have "Art has basic appearance nine" checked in the appearance Panel Menu? If Yes... Clear the check box, and then try again.

  • My custom workspace does not randomly.  Restart the application sometimes fix it.

    Y at - it a fix for the problem of my custom workspace does not not every time?  I was hoping that it was just a problem with CC2014.  I'm under CC2015 now.

    Quit Illustrator

    Run disk utility and set your permissions.

    Finder (hold down the Option key) > select Library > obtained in this folder

    / Library/Application Support/Adobe/Adobe Illustrator 19.

    Adobe Illustrator 19 and rename old Adobe Illustrator 19

    Start Illustrator

    I would upgrade to El Capitan.

  • Win 7 64 bit, SSO does not work on view 5 but it works on view 5.1

    We have the production environment with view 5.0 installed and win 7 32-bit deployed as linked clones and it works fine.

    But for some of our users, we must deploy win7 64 bit and here, we encountered a problem. When user loggs in win7 64 bit desktop single sign does not work, and users must enter the password and username ther once more before seeing their office.

    We have also installed with view 5.1 test environment and in this environment SSO on win7 64 bit works as expected.

    Any ideas why SSO does not work with 64 bit win7 and discover 5? Is this known bug or it's just me with this problem?  How to find the cause for it and where to look?

    PS Both environments are identical except for the version of view practicly.

    Hello

    We encountered the same problem within our environment.

    In our case, it was because the following has been set to active on the virtual machines via Group Policy;

    Computer config-> policies-> Windows settings-> security settings-> local policies-> Security Options

    Interactive logon: require no CTRL + ALT + DELETE

    Stop in group policy has solved the problem.

    Good luck.

  • my art custom brush does not appear in the brush palette

    Hello

    I created a custom art brush, but it does not appear in the brush palette. (I draw a shape, I drag it to the brush palette, I choose Art Brush, I see the Art brush Options window, I do all the settings, I click ok but my art custom brush does not appear in the brush palette.) It only happens for Art Brush. Please help if anyone knows why?

    Thank you

    Check the menu popup palette of brushes, this would happen if the art brushes is not checked.

  • the custom words does not appear in my iPhone

    Hello

    I joined my iPhone IOS 10 6 more and I noticed that the custom words does not appear in my iPhone, even if I have them in my iTunes library. I signed up with the same Apple ID on all devices. Very few of them, I can access the lyrics in my phone, but not all of them (as he used to be in iOS 9)

    any help is appreciated.

    Thank you

    Ahmed

    I downloaded a program on my Mac (no app store unfortunately) called "get lyrical". automatically add lyrics to iTunes. Then in iTunes file > library > Update music library to iCloud. doing this during the last 20 minutes and so far it seems to work.

  • Error #3606: Sampler 0 format does not match the format of texture.

    Hello

    I try to use a cube texture but I got this error:

    Error #3606: Sampler 0 format does not match the format of texture.

    with this fragment of AGAL:

    ft0.w MOV, FC0 .x

    FT1.xyzw Tex, v0 .xzy, fs0
    Mul ft0.xyz, fc1.xyz, ft1.xyz
    MOV OC.xyzw, ft0.xyzw

    Apparently glsltoagal does not write the < parameters > fs0 is a problem or it has default values?

    Can I create textures to Cube in a specific way?

    I did a mistake using a faulty method, it was

    createCubeTexture

  • O2 iPhone 5 s phone line does not work with my map of Cyprus turkcell

    O2 iPhone 5 s phone line does not work with my map of Cyprus turkcell

    Yalcin davrandi wrote:

    O2 iPhone 5 s phone line does not work with my map of Cyprus turkcell

    OK, if the phone has been implemented using the o2 network and you want to use it with another carrier, you need to get o2 to unlock your phone.

  • Search does not work on the mapped network drive

    Separated from this thread.

    Same problem: search does not work on the mapped network drive, but works if the shared folder is accessible via the network as a UNC path:
    Mapping as UNC path after a server reported results navigation:

    The impression that it is something in the drive mapping in Win 8 (running 8.1). Problem does not appear in Win 7

    Hi Simon,.

    Please contact Microsoft Community. I understand that you have a problem with research on mapped network drives.

    Advanced networking issues are supported in the TechNet Forums. I suggest you send the request in TechNet Forums to get help.
    http://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w8itpronetworking

    Hope this information helps.

  • Custom control does not?

    I tried to implement a custom for my application control, but it does not phase is...

    Help, please...

    /*
     * ImageSlider.cpp
     *
     *  Created on: Jun 10, 2013
     *      Author: lalthomas
     */
    
    #include "ImageSlider.h"
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    ImageSlider::ImageSlider (Container *parent)
    : CustomControl(parent)
    {
        m_Container = new Container();
        m_Container->setLayout(new AbsoluteLayout());
    
        Sample->setText("Hello");
        m_Container->add(Sample);
    
        for(int i=0;i<12;i++){
            m_Trackers[i] = ImageView::create().image(QUrl("asset:///images/bullet-24-24.png"));
            m_Container->add(m_Trackers[i]);
        }
        setRoot(m_Container);
        setPreferredSize(600,600);
    }
    
    /*
     * ImageSlider.h
     *
     *  Created on: Jun 10, 2013
     *      Author: lalthomas
     */
    
    #ifndef IMAGESLIDER_H_
    #define IMAGESLIDER_H_
    
    #include 
    #include 
    #include 
    #include 
    
    namespace bb {
    namespace cascades {
    class Container;
    class ImageView;
    class TouchEvent;
    }
    }
    
    class ImageSlider: public bb::cascades::CustomControl {
        Q_OBJECT
    public:
        ImageSlider(bb::cascades::Container *parent = 0);
        virtual ~ImageSlider();
    private:
        float m_width;
        float m_height;
        bb::cascades::ImageView *m_Trackers[12];
        bb::cascades::ImageView *m_SlideImages[12];
        bb::cascades::Image m_Tracker;
        bb::cascades::Image m_TrackerCurrent;
        bb::cascades::Container *m_Container;
        bb::cascades::Label *Sample;
    };
    
    #endif /* IMAGESLIDER_H_ */
    
    // Default empty project template
    import bb.cascades 1.0
    
    // creates one page with a label
    Page {
        Container {
            layout: DockLayout {}
            Label {
                text: qsTr("Hello World")
                textStyle.base: SystemDefaults.TextStyles.BigText
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
            }
            ImageSlider {
                id: slider
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
            }
        }
    }
    
    // Default empty project template
    #include "applicationui.hpp"
    #include "ImageSlider.h"
    
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    #include 
    #include 
    
    ApplicationUI::ApplicationUI(bb::cascades::Application *app)
    : QObject(app)
    {
    
        // Register our custom control
        qmlRegisterType("custom.lib", 1, 0, "ImageSlider");
        // create scene document from main.qml asset
        // set parent to created document to ensure it exists for the whole application lifetime
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        // If the QML document is valid, we process it.
           if (!qml->hasErrors()) {
    
               // Create the application Page from QMLDocument.
               Page *appPage = qml->createRootObject();
    
               if (appPage) {
                   // Set the main scene for the application to the Page.
                   Application::instance()->setScene(appPage);
               }
           }
    }
    

    In short, I'd add this in your QML file...

    import custom.lib 1.0
    
  • SSO does not when you log in Win7 VM - second connection required

    Created new desktop Windows 7 in a pool of related clones. Customer use of view to access the new virtual machine, I am invited again with Windows 7 login. It is not passing through the SSO for Windows login credentials.

    With the help of this document (KB 1029391) I checked the following:

    To solve problems when using SSO in a VMware View environment:

    1. Confirm that the installation of the Agent/Client or configuration is correct. During the installation, select log on as current user.
      1. This is defined in the Client, tried to use HTML and Client Access, same result. You are prompted with Windows login after a successful login to VMware.
    2. Check that disclaimers or banners of login are not used when using PCoIP display protocol. For more information, see Black View Client enter screen when using PCoIP (1016961).
      1. No banner or notice are used or see, there is also no symptoms "black display.
    3. Confirm that the userinit is properly configured to pass credentials. For more information, see confirming that the userinit string is configured properly (1028975).
      1. Checked and double-checked. Copy? pasted from this document without a change in the symptoms.
    4. Confirm that GINA is correctly chaining. For more information, see confirmation that GINA is chaining correctly in VMware View Manager 3.x/4.0.x/4.5.x (1029075).
      1. The article says that this does not apply to Windows 7 workstations.
    5. Make sure that no group policy conflicts. For more information, see make sure there are no conflicts between Group Policy objects and view virtual desktops (1027446).
      1. Have spent hours looking into policies using the resulting strategy game. MSC, impossible to find something that would seem to be linked to the process of connection.
    6. Ensure that the Interactive logon: require no policy GPO of CTRL + ALT + DEL is disabled. For more information, see Single Sign-on does not work in the VMware View desktops (1026797).
      1. It is also checked and properly adjusted.


    I also checked the setting mentioned in KB 1019466:

    On Windows Vista, if you install the PCoIP server component, the Group Policy window disable or enable software Secure Attention sequence is enabled and set to the Services and ease of access applications. If you change this setting, single sign - on does not work properly.  Ensure that the Group Policy window disable or enable software Secure Attention sequence is enabled and set to the Services and ease of access applications. It is also defined as stipulated here.

    Anyone have any ideas? I have spent an embarrassing amount of time on this and have no close to get the SINGLE sign-on to work. I must be missing something - but what?

    Thanks for the suggestions folks. After a repair, I started to remove components from the equation and found the problem to be Imprivata, we use for our SSO here. Apparently the version I was trying to use was having problems with Windows 7, because we installed a newer version (after update our device) and voila! the OSP has worked perfectly. I don't know why I thought that earlier, I hope that this thread will save someone some time.

  • does not detect external hard disk

    Hey guys

    Recently I update my macbook pro (2014) in the sierra of mac os. Since then, my mac does not detect any external hard drive I plug in it even if these drives are detected by the PC and all the files inside. I tried to open utility disk where the hard drive is displayed but the 'volume' located below is gray. When I try to hit mount said volume that nothing happens. All I could do to fix this?

    Thank you in advance.

    Hi sgerolio,

    I understand that you are unable to detect any external drive that you plug into your MacBook Pro, since you upgraded to macOS Sierra.  How many external hard drives work?  How they are formatted?   If formatted for PC, they would not necessarily be able to be read by a Mac.

    You have a small empty external drive or USB key that you can test?  Formatted in Mac OS extended (journaled).  Using the Finder, you are able to see the external drive and drag a file to it?

    The title of the article includes the Aperture application but apply these tips to format an external hard drive to any software application.

    Drives external format Mac OS extended before using with opening

    Take care.

  • Mac Mini does not recognize external hard drive

    Hello!

    I have a weird question on my Mac Mini. I have two Seagate to 8 external drives connected via USB to my Mac Mini (mid-2011 with Maverics). The discs worked well, but suddenly one of them will not be recognized by the Mac Mini.

    I connected the hard drive of my MacBook Pro and an old PC and it works fine and all files are available, but for some reason, my Mac Mini will have nothing to do with her anymore.

    It does not appear in the finder or disk utility. I unplugged the hard drive for hours and then tried to plug it back without a bit of luck. I restarted the Mac Mini on several occasions. I also tried to connect it to all the USB ports on the Mac Mini. When I connect it to the USB ports, there is no whisper sound indicating that it has started working. However, no sign of it on the Mac Mini.

    It's like the Mac Mini has decided to ignore the external hard drive, no matter what I do. Seeing this works on other devices, I'm fairly certain that the problem lies in the Mac Mini.

    I'm no expert, so any help will be very valuable for me. And if you are kind to help, please explain it to me like I'm 8 or 93 years old.

    Thank you.

    Are these drives powered independently or they depend on USB power?

  • Portege 7200 does not recognize external memory

    I downloaded Windows XP on my 7200 Portege (with 256 MB external memory) and it worked fine. All of a sudden it started overheating and has been extremely slow. I reformatted the drive, downloaded XP again and it seems to work well, although slowly;

    However, he refuses to acknowledge the external memory and seems to work with internal memory of 64 MB only.
    Is this a problem of port external memory (hardware) or I can do something to fix this?

    Hello

    You suggested also that the laptop started to overheat.
    As far as I know it is possible that the cooling modules cannot cool the CPU and then the CPU does not work with maximum efficiency.
    You should check you cooling grids for dust and debris.
    You can try to use the vacuum cleaner to clean the fans. But be careful.

    The second possibility is a dysfunction of memory modules.
    Try to test with another.

  • Satellite A100: webcam works does not for windows live messenger on Vista

    I recently lost my picture when working for video calls in windows live messenger, the sound of two ways and I can see them, but no one can see me.
    I also bought an external webcam, and it does not work either.

    When I go to Device Manager it says that the two cams don't work properly.
    I tried to update the drivers but they are up-to-date.
    I wonder if it's a problem of Windows live or Toshiba.
    I use Windows Vista Home Premium and the new version of messenger.

    > I also bought an external webcam and it doesn t work either.
    > When I go to Device Manager it says that the two cams don't work properly

    For me, it looks like a windows system problem.
    Usually two webcams operate independently from each other and so I don t think that it is a webcam driver problem I think that it s windows or windows live messenger problem
    Maybe something confused keys registry or files may be some updates to update or similar

    In your case, I recommend you to uninstall the software of webcam software, internal external webcam and the windows live messenger.
    Then, you must clean the BONES and the registry tool like CCLeaner cleaning, for example. It the free tool.

    After this, reinstall the Chicony webcam software and test functionality without installation of windows live messenger.
    If the webcam will be functions then you could install the windows live messenger again.

Maybe you are looking for