Getting logged in username

I can get the currently logged in user's first name from the profile object
as p.getAttributeString("iwtUserInfoProvider-firstName") and I can get the
role (assuming I set it as user-readable) as
p.getAttributeString("iwtUser-role").
I can't seem to figure out where to get the username they used to log into
the portal. Where do I find this?
Also, is there any chance of getting back the cleartext of the password they
used to authenticate on the login form later on in the session? Is this
value kept?
Thanks

getClientID() in com.iplanet.portalserver.session has the username
Look for this paragraph in the Javadocs:
'The Session class represents a session. It contains session related
information such as client ID (user ID or application ID)'
Marshall Levin wrote:
>
I can get the currently logged in user's first name from the profile object
as p.getAttributeString("iwtUserInfoProvider-firstName") and I can get the
role (assuming I set it as user-readable) as
p.getAttributeString("iwtUser-role").
I can't seem to figure out where to get the username they used to log into
the portal. Where do I find this?
Also, is there any chance of getting back the cleartext of the password they
used to authenticate on the login form later on in the session? Is this
value kept?
Thanks

Similar Messages

  • Get Log on Username in system session ..

    Hi,
    I'm developing a windows service and i need to get log on username but the problem is service is running under system account so it always return
    system as username, is there any way to get log on username thru service which is running under system account ?? I'm using windows 7
    Thanks and regards.

    Since windows services run in Session 0, I don't think it'll show what Wall.E wants.
    On the other hand, I forgot that the current console user can be found on Win32_ComputerSystem as well. I've tested the following code can get console user name on service.
    private string GetConsoleUser()
    string username = String.Empty;
    ManagementScope scope = new ManagementScope("\\\\.\\root\\cimv2");
    ManagementObjectCollection compQuery = new ManagementObjectSearcher(scope, new SelectQuery("select * from Win32_ComputerSystem")).Get();
    foreach (ManagementObject item in compQuery)
    username = Convert.ToString(item["username"]);
    return username;

  • Problem getting logged in username during runtime

    Hey guys.
    I am trying to get the username of the logged in user during runtime and set that value to a bind variable in an MSSQL statement.
    Im using the following method to get the userID but it crashes when trying to get the principle user:
    public String getLoginUserId()
    String userId = ((ApplicationModuleImpl)getApplicationModule()).getUserPrincipalName();
    // strip off the realm name from the username
    int realmEndPos = userId.lastIndexOf("/");
    if (realmEndPos>0)
    userId= userId.substring(realmEndPos+1);
    logger.debug("UserId "+userId);
    return userId;
    I'm using JDev 10.1.3.2 and MSSQL 2005. The code throws out the following error when trying to getUserPrincipleName():
    JBO-30003: The application pool (.112576FB6CB) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:223)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    java.lang.NullPointerException
         at com.claimvantage.model.ltc.views.myclaims.MyClaims_Extend_ClaimViewImpl.<init>(MyClaims_Extend_ClaimViewImpl.java:19)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:211)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ----- LEVEL 1: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:223)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    java.lang.NullPointerException
         at com.claimvantage.model.ltc.views.myclaims.MyClaims_Extend_ClaimViewImpl.<init>(MyClaims_Extend_ClaimViewImpl.java:19)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:211)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ----- LEVEL 2: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:223)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    java.lang.NullPointerException
         at com.claimvantage.model.ltc.views.myclaims.MyClaims_Extend_ClaimViewImpl.<init>(MyClaims_Extend_ClaimViewImpl.java:19)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:211)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ----- LEVEL 3: DETAIL 0 -----
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:223)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ## Detail 0 ##
    java.lang.NullPointerException
         at com.claimvantage.model.ltc.views.myclaims.MyClaims_Extend_ClaimViewImpl.<init>(MyClaims_Extend_ClaimViewImpl.java:19)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:211)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    ----- LEVEL 4: DETAIL 0 -----
    java.lang.NullPointerException
         at com.claimvantage.model.ltc.views.myclaims.MyClaims_Extend_ClaimViewImpl.<init>(MyClaims_Extend_ClaimViewImpl.java:19)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.jbo.server.ComponentObjectImpl.createRef(ComponentObjectImpl.java:211)
         at oracle.jbo.server.ApplicationModuleImpl.doCreateViewObject(ApplicationModuleImpl.java:3428)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:412)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1546)
         at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1519)
         at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
         at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
    Any help, comments or links to where to do this would be much apperciated

    Hi,
    ensure you set jbo.security.enforce to Must in the ADF Business Components Applicaton Module Configuration
    Frank

  • Form based authentication getting logged in username and role

    Hi
    I have implemented a simple Form based authentication in my web site.
    I have maintained tomcat-users.xml file for user names, passwords and roles.
    Once my user is authenticated, I need to access his name and role in website.
    How can this be done.
    Please guide.
    Thanks

    The request object should contain the information, e.g. use request.getRemoteUser().

  • How to get the current logged in username from windows and put it into an AS var

    Hello,
    I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
    Thanks in advance
    Michael

    Just for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
    In the html page that publishes with the .swf file under the <head> section:-
    <script language="JavaScript" type="text/javascript">
    function findUserName() {
         var wshell=new ActiveXObject ("wscript.shell");
         var username=wshell.ExpandEnvironmentStrings("%username%");
         return username;
    </script>
    The ActionScript:-
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call ("findUserName");
    trace (username); // a quick test to see it in output

  • How to get the logged in username or how to set the acquiredby?

    We are using BPEL 10.1.2.0.2.
    We have implemented CAS/OID to work with the TaskList. Our issue is with obtaining the logged in username while in the BPEL Workflow. Acquired by variable is not populated even after the task is acquired. Explicitly setting Acquired By doesn't work either (still comes as null).
    This might be something quite simple, but I am not able to figure it out. Is there a way to get the logged in username or the user who acquired the task while in the BPEL workflow?
    Thank you!

    I have no longer access to the custom worklist application of 10.1.2 but in 10.1.3 you can access it through:
    SessionStore sessStore = SessionStore.getInstance(request.getSession(false));
    String userName = ((IWorkflowContext) sessStore.get(WorklistappConstants.SESS_ATTR_WORKFLOW_CONTEXT)).getUser();Kind Regards,
    Andre

  • Get Currently Logged in UserName From Specified IP Addr

    Hai,
    How to obtain the currently logged in username from a given IP address. Some one have ever tried this... if so reply me.
    Thanx

    Windows NT Login (UserName & Password)

  • How to get logged in user name from windows service c#

    i use the below code to get logged in user name.
    private string GetLoggedInUser()
    string userName = "";
    if (System.Security.Principal.WindowsIdentity.GetCurrent() != null)
    userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
    return userName;
    just do not understand why it is not giving a logged in user name rather it is return data in this format
    NT AUTHORITY\SYSTEM but i want to get user name.
    i try to run my service as Local Service and local system account but in every case i am getting this string
    NT AUTHORITY\SYSTEM instead of logged in user name.
    so please guide me what to change in code. thanks

    System is the account the service is running under.
    There can be none or many interactive users be logged in. What if none or multiple are logged in? Which one are you referring to then?
    Armin

  • How to find the logged-in username

    Hello everyone,
    My application needs to find the logged-in username from the
    operating system, which in this case will always be Windows. This
    would be the same as the USERNAME environment variable that can be
    obtained from typing "set" from the command prompt. Anyone know how
    this can be done? Many thanks, --Bob

    Hi,
    There's no direct API for this, but you can try:
    var username:String = File.userDirectory.name;
    (Refer
    http://www.johncblandii.com/2008/09/air-tip-getting-logged-in-user.html))

  • How to get the Portal Username to SAP Transaction IView ( ABAP cust repor )

    Hi Experts,
    We have an ABAP program that will be exposed in portal as SAP transaction IVIEW.  However the username that is being displayed in the report is the username that is defined in SICF > SAP > BC > GUI > ITS > WEBGUI.  I tried to remove the username and password defined, changed the procedure to Alternative Logon Procedure and deleted some logon procedure list retained Basic and SSO Authentication but we are getting DDIC username.  We have successfully implemented SSO, and it works in Personal Information of Standard ESS.  The following are configure in our portal:
    1.  We have set SSO ticket
    2.  We are using User Mapping for portal and ABAP System
    3.  Retain Basic and SSO authentication
    what could be the cause why the program (iview) is still getting the user instead of Portal Username? How can we get the portal username for our abap customized report exposed in iview

    Hi,
    Make sure that the System you are using to connect to R3 has Log On Method and Authentication Ticket Type properties has SAP LOGON TKT as the value selected.
    Path: System Administration --> System Configuration ---> Systems....
    Regards,
    SrinivaS

  • Getting the NT username of the viewer of the JSP page..

    Hi.
              I was wondering if it is possible to get hold of the client's NT username
              from within a JSP or servlet. All I want is the current logged in username
              of the viewer of the page. Is there any way to do this in Java at all?
              It is possible in ASP + IIS and I guess I could forward the username for an
              ASP-page, but I don't think that is a very clean way of doing it.
              If I use '<%=java.lang.System.getProperty("user.name")%>' in a JSP-page I
              will only get the user of the server where the JSP is running:
              Any suggestions?
              - Oystein Saebo -
              

    I was wondering if it is possible to get hold of the client's NT          username
              > from within a JSP or servlet. All I want is the current logged in
              username
              > of the viewer of the page. Is there any way to do this in Java at all?
              If you use IIS as http proxy to WLS you can call the getRemoteUser()
              method. On WLS6.0SP1 you get the NT domain\user back.
              Regards,
              Merg
              

  • How do I get my new username to come up in iTunes

    How do I get my new username to come up in iTunes

    Did you sign out of itunes and log back in with your new appleid?
    If you did change it you can verify at appleid.apple.com also just to make sure your info is all correct. Itunes will say your name and not username when you log into itunes.

  • C# - How do I read the logged-in username?

    Hi,
    I am looking for a way, to retrieve the logged-in username.
    Just like:
    User.Identity.Name;
    The Windows username and Novell username are not always the same, so I can't use this method.
    Regards,
    Kim Bang

    You want to "read the Novell username", but the problem is that one PC can
    be logged in with multiple identities to multiple trees/servers
    I suggest to take a look at the linked articles to understand the
    architecture, and deicide on your approach;
    then if you have eDirectory specific questions post in this forum
    http://forums.novell.com/novell-prod.../edir-windows/
    if you decide to go for ActiveX you'll find the Novell ActiveX controls are
    deprecated (the forum may be closed, but still can be searched for info),
    but may still be helpful:
    http://www.novell.com/developer/ndk/...supported.html.
    The NWSess control would get you what you need.
    Wolfgang
    "kimbang" wrote in message news:[email protected]..
    Thank you for your reply.
    The idea is, that my webapp (ASP.NET) can read the Novell username on
    the client pc (Windows XP).
    Just like you can read the Windows username. The webserver (IIS) is
    running locally on the network, that is also why the Windows username
    works, because that wouldn't be the case with a remote webserver.
    Wether or not I'm in the right forum I do not know. I was requested to
    find out, how to do the above, and I am not really that much in to
    Novell unfortunatly.
    But if i am in a wrong category, I would very much like to know which
    is the rigth one for this questing.
    kimbang
    kimbang's Profile: http://forums.novell.com/member.php?userid=102779
    View this thread: http://forums.novell.com/showthread.php?t=430307

  • Can't get logged on.

    I can't get logged on. I installed Oracle 10.1.2.0.2 on a Windows machine (obtained from a Course Technology book).
    Issues while installing:
    1) The instructions for the software said I would need to get register and receive a number to use when installing the software. I have the number but never found a place to enter the number. Is this number stopping me from loggin on? If so can I uninstall and start over or enter the number in a file somewhere? I don't see Oracle in my program list in the add/remove programs in the control panel or any uninstall files.
    2) When ask to configure the network, I entered blanks thinking I could configure the network with the "Net Configuration Assistant".
    When I try to configure "Local Net Service Name Connection", I receive this error message:
    Connecting...ORA-12170: TNS:Connect timeout occurred
    The test did not succeed.
    Some of the information you provided may be incorrect.
    Click Back to review the information provided for net service name, or Change Login to change username.
    3) So I tryed to use the default -
    User Name: scott
    Password: tiger
    Host String: <my ip address>
    and
    User Name: scott
    Password: tiger
    Host String: <my service_name>
    (service name and IP obtained from my tnsnames.ora file:
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.x.xxx)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    I've tried using EXTPROC_CONNECTION_DATA and I tried PLSExtProc as the service name,
    and received this error message in my log file:
    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.1.0.4.0 - Production
    Time: 21-JAN-2008 21:36:31
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 60
    nt OS err code: 0
    Client address: <unknown>
    4) The user name and password I am using is the one I set up when I registered the book.
    I've also tried using the registration number as the password.
    I've never used Oracle before. I've tried reading the program help links and Oracle document sites and can't figure this out. Please tell me what I need to do to get this to work.
    Thanks,
    Cindy

    For someone who is new to Oracle, the amount of documentation available can be rather intimidating. I would second Daniel in this respect -- download and install 10g release 2 instead of the version you have. That way you know you are getting an unadulterated copy of Oracle. If you are fairly comfortable installing software, check out the Quick Installation guide for Windows and the Oracle Database 2 Day DBA in the Oracle documentation. They will get you up and running with a usable instance as quickly as possible. Then break out the Concepts Guide. As Tom Kyte has said, the Concepts Guide is probably the least read of all of the Oracle documentation. It's not easy reading but it is definitely worth it. Anyone who has been around Oracle very long has either read it, is reading it, or wishes they had time to read it.
    As far as uninstalling it is concerned, the Oracle installation guide will help you there also. It gives you the proper procedure for uninstalling Oracle which is to use the Oracle installer to deinstall Oracle, not the Add/Remove Programs application in Control Panel. There are also some minor editing steps to make in the Windows registry but nothing too complex. I've done it many times and as long as you follow the steps in the guide, you can't go wrong.
    Tom

  • How to get the windows username in jsx

    Hello,
    I have a JSX script in "My Documents\Adobe Scripts" to make it trusted script. I have another text file I need to read from JSX. Since the location depends on logged in user, I need to find the windows username. If anyone know how to get the windows username from jsx please reply.
    Thank you very much.
    Regards
    Nima.

    Hey,
    You can get username like this:
    var myUsername = $.getenv('username');
    You could also get My Documents folder like this:
    var myDocFolder = Folder.myDocuments;
    Hope that helps.
    Marijan (tomaxxi)
    http://tomaxxi.com/

Maybe you are looking for

  • Deleting contact from icloud does it delete from my device as well

    hi all i wonder if you can help me i have log into my icoud account on my pc and gone into my contact and want to delete some contacts on my contact list. Will these contact will be deleted from my phone 4s as well. The contacst are on my phone. I th

  • SO Multiple Line Items but one line item in billing

    Hi Experts, I have a requirement from a client whereby they want to consolidate the items in the sales order and create billing as one line item. Example: in sales order there are 5 line items (user need to have separate line items due to PR need to

  • Migrate from TAXINJ to TAXINN

    HI Friends Please guide me , migration of TAXINJ TO TAXINN ( From 4.6C to ECC 6.0) Please help me how do we do? do we have any tools?and give me lighting of Rollout project.What are the methdolgy we use to follow for Roll out projects.If any body sen

  • Internal table Records

    Hi all, Can anyone tell, after deletion the records from one internal table itab1 using specific condition  , that  how will insert the single record from another itab2 into itab1 on the  same index. Regards Alok

  • AUTOMATIC ACCT. ASSIGNMENT PROBLEM

    Dear cons    Now the raw material is availble in the store. we want to sell this raw matwerial to outside. What type of acconts will hit . pl. tell me.