Single Sign on using SAML between JWS application and Web Application

Hi,
We have two applications one is swing based Java Web Start application and other is a normal web application. We are trying to enable single sign on between both the applications. Can SAML be used to enable single sign on? If yes, can some one let us know how to do this?
Thanks,
Rama

Thanks. But it is based on two WEB applications deployed on two different weblogic domains. What I am looking for is one application which is launched using Java Web Start(JNLP) and other a web application. The Java Web Start application uses its proprietary authentication implementation and the web application used DefaultAuthenticator of weblogic. Hope this detail will help you to answer my question better. I should have given this information earlier.
Thanks.
Rama

Similar Messages

  • Single Sign-On using SAML in WebLogic Server 10.3

    I followed Vikrant Sawant's tutorial on how to configure single sign-on (SSO) with SAML in WebLogic (http://www.oracle.com/technology/pub/articles/dev2arch/2006/12/sso-with-saml.html) but am being forced to re-authenticate when going from Domain B back to Domain A. I'd appreciate any help or suggestions.
    I posted a question in the General forum here:
    Single Sign-On using SAML in WebLogic Server 10.3

    I too am facing the same problem SSO with SAML - Session on Source Site killed after landing on Destination
    Thanks
    Togotutor
    <b><a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free)</b>
    Edited by: user7507600 on Sep 17, 2010 10:01 AM

  • Configuring Single Sign-On using SAML in WebLogic Server 9.2

    Hi,
    I am trying to configure SSO using SAML as it is mentioned in the following URL -
    http://dev2dev.bea.com/pub/a/2006/12/sso-with-saml.html?page=1
    It works well for appA and appB which are provided by bea as sample applications. However, when i tried to do the same with one of my portal application developed in weblogic portal 9.2 and the other application as appB (sample app provided by bea), it doesn't work.
    When i do request.getRemoteUser() it returns NULL.
    Changes done by me to make it work are as follows -
    1. Changed the weblogic.xml to remove the following -
    <security-role-assignment>
    <role-name>admin</role-name>
    <principal-name>ssouser</principal-name>
    </security-role-assignment>
    Reason: This will need configuring all the users here which should not be the case as we are using REDHAT LDAP for authentication.
    2. Modified the web.xml file. Removed the following -
    <security-role>
    <description>These are the roles who have access.</description>
    <role-name>admin</role-name>
    </security-role>
    3. Configured domains for both the application to use redhatldapauth which is the central repository of all the users for our application.
    4. We have created a new role "testrole". All uisers having this role should be able to access appB.
    Change in web.xml
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>SecurePages</web-resource-name>
    <description>These pages are only accessible by authorized users.</description>
    <url-pattern>/admin/*</url-pattern>
    <http-method>GET</http-method>
    </web-resource-collection>
    <auth-constraint>
    <description>These are the roles who have access.</description>
    <role-name>testrole</role-name>
    </auth-constraint>
    <user-data-constraint>
    <description>This is how the user data must be transmitted.</description>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    Can anyone let me know where am I going wrong or what changes are required to make it work ?
    Note: The sample apps create users explictly in local weblogic LDAP. However we are using Redhat LDAP. Hence, we are not explcitly creating users as mentioned in the above link.
    Thanks in advance,
    Saurabh

    You may still need to define the role in the weblogic.xml file in order for deployment descriptor-based role definition to work (alternatively you could use the WebLogic Server console to define the role and policy).
    You can specify your role "testrole" as "externally-defined" as opposed to mapping it to specific principals.
    See http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1040908
    Jeff

  • Sharing static members between Swing application and Web application

    Hi,
    if someone has done this please help:
    I have created 3 classes:
    Mainclass using JFrame which is used as host class for DBConnectionManager class,
    and ConfigBean class used for storing static configuration parameters:
         static public String strUser = "";
    static public String strPassword = "";
    static public String strDB = "";
    static public int nMaxConn = 0;
    static public String strPoolName = "";
    static public boolean bConnected = false;
    static public int nCurrentUsers = 0;
    static public DBConnectionManager manager = null;
         public DBConnectionManager getDBManager()
    return this.manager;
    public void setDBManager(DBConnectionManager manager)
    this.manager = manager;
    DBConnectionManager class uses static instance to see if this is only class created by client users.
    Only static member in this class is getInstance member function for startig manager:
         static synchronized public DBConnectionManager getInstance()
    if (instance == null)
    instance = new DBConnectionManager();
    return instance;
    In Mainclass I also created non static DBConnectionManager class for manipluation with host administrator.
    Then I created web application layout in Tomcat 4 and used index.jsp:
    <%@ page import="java.sql.*,java.io.*" %>
    <jsp:useBean id="cfgbean" class="webvobapli.ConfigBean" scope="application" />
    <%!
    webvobapli.DBConnectionManager db = null;
    String strMessage = "";
    Statement stmt1;
    ResultSet rset1;
    String strQuery = "select count(*) from cards";
    %>
    <html>
    <%
         try
              db = cfgbean.getDBManager();
              if(db==null)
                   strMessage = "Error";
              else
                   Connection con = db.getConnection("central2");
                   if(con != null)
                        stmt1 = con.createStatement();
                        rset1 = stmt1.executeQuery(strQuery);
                        rset1.next();
                        strMessage = rset1.getString(1);
                   else
                        strMessage = "NULL";
         catch(Exception e)
              strMessage = e.toString();
    %>
    <p>Message = <%=strMessage%></p>
    </html>
    Question: why db = cfgbean.getDBManager(); returns null if I created instance of DBConnectionManager
    class in Mainclass and assigned it to ConfigBean as static instance before running web application.
    Shouldn't all java programs share static memory area?
    Beast Regards
    Branislav Cavlin

    Question: why db = cfgbean.getDBManager(); returns null if I created >>instance of DBConnectionManager
    class in Mainclass and assigned it to ConfigBean as static instance >>before running web application.
    Shouldn't all java programs share static memory area?You say you create the db objects BEFORE you run the web application - now I could be misunderstanding what you are saying, but does this not involve two JVM's (one to create initial db objects, which then exits, then second JVM fires you app server/servlet container) - which would explain why a null object is being returned.

  • Outlook exchange e mail application and web application not connected

    Hello Everybody,
    We have issue with 3 of our clients machine that face the same problems.
    When they tried to launch outlook, the status of outlook application always showing that, "Trying to connect"
    and when we tried them to log on to outlook web application, there is nothing to log on..i had tried to log on with 3 difference browsers, but still not work.. other website as yahoo or gmail are working fine..
    We are using Microsoft Exchange.
    Could you let me know what is the real issues with that?
    THanks you
    VeasnaYim

    Dear Edited,
    Thanks so much for your concerning our problems!
    When I tried them to access their e mail through out OWA, no error and i didn't see any display on the webpage and it was just blank!
    Last thing, I deleted their user profiles and configure their exchange e mail to desktop outlook and everything working fine, error gone!
    If you have any ideas, please let me know and i will bring that to fix future issues regarding this!
    Best regards, 
    VeasnaYim

  • Help please! Java application and web application...

    Hi,
    I have a problem with inserting a java application (Main.java) in a web application(index.jsp).
    I found a source demo of a drag and drop application on the Internet, but now I want to
    have the drag and drop application work in a Jpanel/JFrame in a webapplication.
    The drag and drop application code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class Main {
        public static void main(final String[] args) {
            final ButtonGroup grp = new ButtonGroup();
            final JPanel palette = new JPanel(new FlowLayout(FlowLayout.LEFT));
            palette.setBorder(BorderFactory.createTitledBorder("Palette"));
            final MainPanel mainPanel = new MainPanel();
            mainPanel.setPalette(palette);
            for(int j=0; j<4; j++){
                final JToggleButton btn = new JToggleButton("Panel "+(j+1));
                palette.add(btn);
                grp.add(btn);
                btn.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        mainPanel.setAdding(btn.getText());
            final JFrame f = new JFrame("Drag and drop panels");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(palette, BorderLayout.WEST);
            f.getContentPane().add(mainPanel, BorderLayout.CENTER);
            f.setSize(800, 600);
            f.setVisible(true);
    class MainPanel extends JPanel implements MouseListener, MouseMotionListener {
        private JPanel palette;
        private String adding="";
        private SubPanel hitPanel;
        private int deltaX, deltaY, oldX, oldY;
        private final int TOL = 4;  //tolerance
        public MainPanel() {
            setLayout(null);
            addMouseListener(this);
            addMouseMotionListener(this);
        public void mousePressed(final MouseEvent e) {
            if( adding != "" ){
                setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
                SubPanel sub = new SubPanel(adding);
                add(sub);
                sub.setSize(sub.getPreferredSize());
                sub.setLocation((int)e.getX(),(int)e.getY());
                revalidate();
                adding = "";
                return;
            Component c = getComponentAt(e.getPoint());
            if (c instanceof SubPanel) {
                hitPanel = (SubPanel) c;
                oldX = hitPanel.getX();
                oldY = hitPanel.getY();
                deltaX = e.getX() - oldX;
                deltaY = e.getY() - oldY;
                if( oldX < e.getX()-TOL ) oldX += hitPanel.getWidth();
                if( oldY < e.getY()-TOL ) oldY += hitPanel.getHeight();
        public void mouseDragged(final MouseEvent e) {
            if (hitPanel != null) {
                int xH = hitPanel.getX();
                int yH = hitPanel.getY();
                int xDiff = e.getX()-oldX;
                int yDiff = e.getY()-oldY;
                int cursorType = hitPanel.getCursor().getType();
                if( cursorType == Cursor.W_RESIZE_CURSOR){           //West resizing
                    hitPanel.setBounds( e.getX(), yH, hitPanel.getWidth() - xDiff, hitPanel.getHeight() );
                }else if( cursorType == Cursor.N_RESIZE_CURSOR){     //North resizing
                    hitPanel.setBounds( xH, e.getY(), hitPanel.getWidth(), hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.S_RESIZE_CURSOR){     //South resizing
                    hitPanel.setSize( hitPanel.getWidth(), hitPanel.getHeight() + yDiff );
                }else if( cursorType == Cursor.E_RESIZE_CURSOR){     //East resizing
                    hitPanel.setSize( hitPanel.getWidth() + xDiff, hitPanel.getHeight() );
                }else if( cursorType == Cursor.NW_RESIZE_CURSOR){     //NorthWest resizing
                    hitPanel.setBounds( e.getX(), e.getY(), hitPanel.getWidth() - xDiff, hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.NE_RESIZE_CURSOR){     //NorthEast resizing
                    hitPanel.setBounds( xH, e.getY(), hitPanel.getWidth() + xDiff, hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.SW_RESIZE_CURSOR){     //SouthWest resizing
                    hitPanel.setBounds( e.getX(), yH, hitPanel.getWidth() - xDiff, hitPanel.getHeight() + yDiff );
                }else if( cursorType == Cursor.SE_RESIZE_CURSOR){     //SouthEast resizing
                    hitPanel.setBounds( xH, yH, hitPanel.getWidth() + xDiff, hitPanel.getHeight() + yDiff );
                }else{      //moving subpanel
                    hitPanel.setLocation( e.getX()-deltaX, e.getY()-deltaY );
                oldX = e.getX();
                oldY = e.getY();
        public void mouseMoved(final MouseEvent e) {
            Component c = getComponentAt(e.getPoint());
            if (c instanceof SubPanel) {
                int x  = e.getX();
                int y  = e.getY();
                int xC = c.getX();
                int yC = c.getY();
                int w  = c.getWidth();
                int h  = c.getHeight();
                if(       y >= yC-TOL   && y <= yC+TOL && x >= xC-TOL   && x <= xC+TOL  ){
                    c.setCursor(new Cursor(Cursor.NW_RESIZE_CURSOR));
                }else if( y >= yC-TOL   && y <= yC+TOL && x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.NE_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h && x >= xC-TOL   && x <= xC+TOL ){
                    c.setCursor(new Cursor(Cursor.SW_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h && x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.SE_RESIZE_CURSOR));
                }else if( x >= xC-TOL   && x <= xC+TOL ){
                    c.setCursor(new Cursor(Cursor.W_RESIZE_CURSOR));
                }else if( y >= yC-TOL   && y <= yC+TOL ){
                    c.setCursor(new Cursor(Cursor.N_RESIZE_CURSOR));
                }else if( x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.E_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h ){
                    c.setCursor(new Cursor(Cursor.S_RESIZE_CURSOR));
                }else{
                    c.setCursor(new Cursor(Cursor.MOVE_CURSOR));
        public void mouseReleased(final MouseEvent e) { hitPanel = null; }
        public void mouseClicked(final MouseEvent e) {}
        public void mouseEntered(final MouseEvent e) {}
        public void mouseExited(final MouseEvent e) {}
        public void setAdding(final String string) {
            adding = string;
            setCursor(new Cursor(Cursor.HAND_CURSOR));
        public void setPalette(final JPanel panel) { palette = panel; }
    class SubPanel extends JPanel {
        public SubPanel(final String name) {
            setPreferredSize(new Dimension(100, 100));
            setBorder(new TitledBorder(new LineBorder(Color.BLACK), name));
    }This application works with JFrame, but I want to display the JFrame in a webapplication (JSP Page).
    I'm using Netbeans 6.0 (GlassFish) to create webapplication using Visual Web JavaServer Faces.
    So in summary:
    How can i display the drag and drop application into a JFrame (better in a JPanel) in a webapplication (index.jsp)??
    Hope you can help...
    Thanks in advance...
    Greetings,
    Rajsh

    So have an applet that opens a JFrame... JSP or not has nothing to do with it, since it's nothing but HTML the client gets.
    You can't have a JFrame embedded in an HTML page. And if you could have an applet but don't know how to get that copied code to fit inside (I mean, content pane is content pane), you might want to consider learning how to do that.

  • Local Application and Web Application

    Hello,
    I want to develope two applications, one local local and another web application.
    Following are the basic requirement.
    1. I want to use Applets for makeing GUIs
    2. MS-Access as database.
    3. As well want share same source code in the both application.
    Can anybody guide me best way of doing such applications.
    Thank you.
    Prashant

    That's like calling a restaurant asking:
    -Does your servants carry cameras with them?
    -What?
    -Cameras. Do they take pictures of the cook each time they go into the kitchen?
    -No, Sir. I'm dreadfully sorry, but they don't.
    -Do you have a camera on you at this moment?
    -No.
    -Can I take a picture of you?
    -Do you want to order a table, Sir?

  • Single sign-on using Oracle Identity Management

    Hi All,
    I am new to Oracle Identity Management. We are planning to implement Oracle Identity Management in our environment, which consists of :
    * Microsoft Active Directory.
    * Microsoft Exchange
    * Oracle eBusiness Suite Release 12 running on RedHat Enterprise Linux 5.5
    Is it possible to implement single sign-on using Oracle Identity Management. Once you integrate Microsoft Active Directory, Microsoft Exchange & Oracle eBS, a user should not be prompted to enter password to access Oralce Applications once he logins to his computer/Windows.
    Thank you for your time.
    Thanks

    Hi,
    You need to use different product eSSO for single sign on. to manage user credentials for applications from OIM then you need to implement Provisioning Gateway connector.
    Once you have eSSO Logon manager running on users workstation, user will be prompted for credentials for first time then going forward it will not ask.
    Regards,
    Raghav.

  • Single sign-on using Kerberos and Ldap

    I am currently setting up single sign-on using Kerberos for authentication and Ldap for authorization and information store.
    The setup includes several Solaris 8 & 9 workstations, a couple of SGI's, as well as a M$ terminal server farm, several WinXP desktops and their associated Active Directory.
    I am required to authenticate etc against the AD. (which has M$ SFU3.5 installed)
    I have the Kerberos authentication and part of the Ldap service working via pam & nss.
    ie. I can logon to the solaris worksatations using the AD username and password, mount the home directory from a M$ NFS server.
    BUT...
    id gives:- userID, groupID (primary group only)
    groups :- primary group only. (no secondary groups are listed)
    Question: what additional configuration information do I need in the pam, nss &/or ldap config files, so that I can list the secondary groups.
    Thanks in advance for any help.

    After evaluating (giving up on, and finally throwing out) the Sun Directory server it looks like we are going to endup with a similar solution..
    Sadly enough, the MS AD seems much more stable and easier to handle than Suns DS, kerberos and associated services.
    Anyway, currently we are evaluating a product called vintela ( www.vintela.com ), and it seems very promising; its easy, robust, stable and does what we require it to do, as well as more :) It comes with an additional nss module called 'vas', so you easily can retrieve data like hosts/groups from your AD.
    //M.

  • Single sign on using IDM??????...plz help

    hey friends,,i need to make single sign on using IDm without system access mananger,,but using identity manager,,,i have netbean in which i have deployed idm war,,,now i have company site in which various subb-sites r thr,,,i need to make single sign on for all these,,,i dont know how to proceed so plz help...

    You need to have J2EE Policy Agent on the Appserver mechine where you will have your IDM server running. There are set of configuration steps involved in-order to acheive SSO/Pass thorugh Authentication.
    Thanks
    --ANJI                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • When to use WEb Dynpro application and Portal application in NW dev studio

    I would like to know what is the difference between
    webdynpro application  and EP Application using PDK.
    Are they comaparable  ...Which one has an edge over the other specific to any applications.
    I want develop an application related to e-commerce using the SAP R3 as backend for an industiry(where in a registered user can place an order and query on the staus of order. All the data will be stored in R3 ).
    I am planning to dev this using NW dev studio , but have an appehension about which application is useful for this kind of application either webdynpro or EP application .
    can anybody explain which one has edge over the other ( Webdynpro or EP applcations in context with NW Dev studio) and why.
    thanks
    PK

    Hi,
    <b>Webdynpro</b> is used when requirements ask for a prototype using minimal time n effort.
    Highly skilled programmers are not necessary to write a webdynpro application
    It uses dynamic controls without reloading the page.
    <b>Portal components</b> esp Abstract portal component provides a lean method to write HTML command to web client
    Large interactive components requires more programming.
    <b>WebDynpro</b> is a highly declarative, tool-based programming model. It minimizes platform-dependent "plumbing" code for building UIs and maximizes declarative metadata describing huge portions of a typical application in a platform-independent way.
    Web Dynpro follows a "top-down" approach in order to consistently support multiple runtime platforms.
    In Web Dynpro you just have to drag & drop the UI components.
    <b>Portal components</b> has followed a "bottom-up", programming-driven approach to Web development.
    Regards,
    Pooja.

  • Difference between Classic Planning and EPMA Application

    Hi All,
    We are currently working Hyperion Planning version 9.3.1 and we do use Classic Planning Administration. We are in the phase of upgrading to version 11.1.2 and thinking of using Enterprise Performance Management Architecture to work with applications . Kindly let me the difference between Classic Planning and EPMA Application and its cosequences on upgradation.
    Thanks in advance

    Instead of explaining it all again here are some posts around the same subject
    Re: what is the Differenc between Classic Planning and EPMA
    Hyperion Planning - Classic Administration vs EPMA ....
    Re: The advantage of using EPMA?
    EPMA compare to Classic
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • After upgrading to YOSEMITE, I tried to use Airdrop between my iMac and iPhone 6 Plus but they don't recognize each other. It also didn't recognize my iPad. I need help

    After upgrading to YOSEMITE, I tried to use Airdrop between my iMac and iPhone 6 Plus but they don't recognize each other. It also didn't recognize my iPad.
    Please help!

    After upgrading to YOSEMITE, I tried to use Airdrop between my iMac and iPhone 6 Plus but they don't recognize each other. It also didn't recognize my iPad.
    Please help!

  • How do i set up apple account on iphone to use icloud between my iphone and ipad

    how can i set up apple account on my iphone 4 so i can use icloud between my iphone and ipad

    To set up iCloud on the iPhone and iPad, ensure your software for these devices is up to date.  Once it is, see the following article - http://www.apple.com/icloud/setup/

  • My Apple ID is being used by another person. I can no longer sign in using my Apple ID password, and worst of all I've been receiving in my email inbox email verifications in someone else's name!!! HELP

    My Apple ID is being used by another person. I can no longer sign in using my Apple ID password, and worst of all is that I've been receiving in my email inbox email verifications in someone else's name!!! I have tryed to reset my Apple Id password but I don't even receive the verification email in my meail box, and when I try to answer the Apple ID verification questions not even my birth date is correct!!!!! Can someone help me please!

    In the following link click on "Other Apple iD topics" and then on "Apple ID Account Security"   https://getsupport.apple.com/Issues.action

Maybe you are looking for

  • Transfer Pictures from Imported Album to Camera Roll

    How much ever i search the net i havent found an answer for this problem. I seem to fall in to a vicious cycle of coming back to square one. Please help me with the following question please. 1). I am using ipad with camera connection kit for transfe

  • I have finished my iBook but want to change the size before ordering. Is it possible

    Finished book.  Can the size be changed before placing order?

  • FCP 10.1 Title render hanging

    I installed 10.1 on Mavricks and when I try to create a title the render engine hangs. All past videos with titles show up as unrendered as well. Anyone else having this problem? Anyone know how to fix this?

  • Image will not load into item master

    Is anyone aware of any specific issues that would prevent an image from loading into the Item Master. NOTE 952632 just suggests that the file is corrupt but it opens in several image editors so I am relatively convinced that it is not corrupt. It is

  • Can't get 9.99 single app price

    Although I own Photoshop CS6 Extended, I cannot get the single app price of 9.99 for After Effects.  When I enter my serial number it tells me I'm not eligable.  I tried it with Photoshop as the single app as well, and the same thing happened.  Why d