802.1x Credential Provider

I have a custom Credential Providers for Windows 7 and I'm trying to implement support for a wired 802.1x enabled network.
Since my Credentail Provider is used in a Windows domain network, I have to perform a network authentication (using the users credential) before the user can logon to the domain.
Is there a way to perform (Win32 API or equivalent) a network authentication using the native Windows 802.1x supplicant, or is the only option to build my own supplicant using the EAPHost framework.
Any help is much appreciated!
Regards
Magnus

No, no special network code. I just want to establish a network connection for Windows to auth the user.
In the GetSerialization function, I serialize the user credentials and returns the resulting blob to Windows. Windows then authenticates the user and, if successful, the user is logged on. With an 802.1x enabled network, Windows cannot connect to the AD,
and as a consequence the user is not logged in. If I disable 802.1x on the switch, everything works as expected.
If the user is already logged in, I can force a re-auth by using netsh lan reconnect. In this scenario, our Provider is loaded, the user can select the smart card and enter the PIN. Our CSP is then used to access the smart card and eventually, the user is
auth by the switch. To be able to perform such an authentication, I only started the “Wired AutoConfig” service and made some configuration.
I’m a bit puzzled by the fact that I have to take in to account that the computer is connected to an 802.1x network at all. Windows should be able to resolve this issue by using the credentials I’m supplying via the GetSerialization function. I really hope
that I have misunderstood how this works in Windows, I rather use Windows built-in supplicant then writing my own.
If you have any pointers to any Win32 API and/or configuration etc. that resolves the situation described above, it would be much appreciated.
Is it possible to configure Windows to first use the machine account and then at a later stage (when the user is logged on) force a re-auth using the users credential?
Regards
Magnus

Similar Messages

  • Credential Provider for Win10

    Will Win10 support Credential Provider V1 or will have only V2 of Credential Provider. 

    Hi,
    Based on my reasearch, V1 can still works in Windows 10 Technical Preview, while currently, we don't have offical article for public, here's an article for Windows 8, I'd like to share it with  you for reference
    Credential Provider Framework Changes - Microsoft
    To find the exact information about this question, I recommend you post this in the msdn development forum, members there are more familiar with the design of Windows.
    https://social.msdn.microsoft.com/Forums/en-US/home
    More reference links
    https://msdn.microsoft.com/en-us/library/windows/desktop/bb648647%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/magazine/cc163489.aspx
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • 802.1X cannot change expired password at login

    Hi all,
    I'm trying to roll out 802.1X authentication for wifi access at my company, however there's one major problem I can't for the life of me figure out. I'm not able to get the Macs to prompt for a password change when the password has expired at login.
    On Windows when you log in it will prompt you to change your password when it's expired. However on OSX when you're on the workstation login screen, you can see the wireless icon briefly connect, then it will think for a bit and the user cannot log in at all.
    OSX can definitely can change expired passwords via 802.1X, as if I log into a local account and connect to the wifi with the user whose password has expired, it will prompt to change it, and changes it successfully.
    I'm using NPS for RADIUS authentication against AD, and using Profile Manager in OSX Server to create the 802.1X profile.
    Does anyone have any experience with OSX and using WPA Enterprise/802.1X Profiles?
    Thanks!

    Hi,
    Can you post a screenshot for this situation?
    Sometimes, the third party credential provider would lead to some issue like this, I suggest you check the
     current credential provider via the following path:
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData\x\LastLoggedOnProvider
    You should compare the result with the values in the following path:
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\credential providers
    If the current value is third party credential provider, try to disable it:
    To disable the provider add a REG_DWORD value "Disabled"=1 to that provider’s CLSID subkey.
    The provider will be disabled on the next session creation (sessions are created when you log off, switch users, or reboot.
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • Credential Mapping Mapping not working

    "Please tell where I am wrong in configuring and calling credential mapper???
    I wanted to achieve single sign on using in-built Credential mapping feature of weblogic server.
    I thought of getting connected to pointbase which can act as Enterprise Information System(EIS).
    I did following steps.
    Configuration Phase
    1 I made Examples as user and Examples as password in pointbase which will act as my EIS.
    2 I wrote and deploy one connector class for connecting to pointbase.
    3 I configured Admin as user and Admin as password in my configured security realm which will act as Weblogic User.
    4 I did credential mapping in the connector class for mapping my Weblogic (Admin) user to EIS(Examples) user.
    Calling Phase
    1 I deployed one application to call pointbase server using the connector class.
    2 I try to get connection to pointbase server using following code
    getConnection("Admin","Admin");
    Where Admin user is my weblogic user mapped to Examples user of point base server whose mapping is done in the connector.
    I hope it to work for getting the connection.But it didn't work.
    whearas when i try to get connection using
    getConnection("Examples","Examples");
    which is my pointbase user.It works.
    So,I can assume it is not working for mapped user for credential provider.
    I don't know where I am

    Mario
    There is a bug with this, but in SP10 and SP11 - I found out the hardware and impleneted some didgy fixes from SAP that broke more than they fixed...
    What's the error you were getting?  Were both paths evaluated?
    These are the two OSS Notes I know of:
    Note 1061202 - Function "if" evaluates both branches
    https://service.sap.com/sap/support/notes/1061202
    Note 1053706 - Function "if" produces wrong result in Message-Mapping
    https://service.sap.com/sap/support/notes/1053706

  • 802.1x Blocking port (many deviсes to one port)

    Hello!
    On ports of the Cisco 3750 there is authentication on 802.1x (Mab). I connect the "stupid" switch (that doesn't work with 802.1x) to port and logs of Radius-server and Cisco show that it was authenticated. Then I connect the device (laptop or PC) to the "stupid" switch, then the port is blocked. However PC passes authentication at direct connection to the Cisco.
    I know that in 802.1x is provided blocking of port at connection of many MAC-addresses to one port. 
    "Stupid" switch must be in vlan, and the devices (that are connected to switch) must be in the same vlan. Maybe they must be authenticated on Radius-server or maybe I have to create ACL with their MAC-addresses...
    How it can be solved? Help me, please.
    P.S. Multi-auth is enabled.

    Hi,
    Along with all the other bits and pieces to invoke 802.1x on the switch
    May be try adding this to the interface to "stupid"
    interface gigabitethernet2/0/1
    description *** LINK TO STUPID ***
    dot1x port-control auto
    dot1x host-mode multi-host
    end
    from the 12.2.55 config guide
    http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/configuration/guide/scg3750/sw8021x.html#wp1271507
    Regards
    Alex

  • Forcing logonui to reenumerate credential providers

    I am trying to determine if there is an accepted method to get logonui to reenumerate the available credential providers.  The scenario I am trying to address is if a new credential provider is installed on a system when logonui is active.  In
    this scenario I would like the new credential provider to become available without rebooting the system.
    A potential solution I have is to kill the logonui process if it is active, then either wait for winlogon to restart the logonui process,  attempt to get winlogon to restart logonui by sending a Ctrl-Alt-Del sequence, or have the installer respawn logonui.
    For the later option I have not yet determined if there are security implications by just starting logonui, and if the process needs to be related to winlogon as its parent process.  Some general testing has shown that I can manually kill the logonui
    process and then start it remotely and still be able to logon.
    I have not been able to locate any documentation that talks about the possibility of restarting logonui or about its parent/child relationship with winlogon.
    Are there security issues with any of the above mentioned solutions?
    Is there an accepted (but perhaps not recommended) method to get logonui to reenumerate credential providers?

  • How to disable additional credential providers

    Scenario:
    Credential providers are in-process COM objects that are used to collect credentials and run in local system context. They are used to process and validate user credentials during logon or when authentications is required. For more
    information, please refer to this article Windows Interactive Logon Architecture.
    When users logon, there might be duplicate
    input boxes that need to input the credentials more than once on the logon screen, or there might be no place to sign in with the password, only displaying the smart card logon.
    The cause of these symptoms is likely to be the
    multiple credential providerswhich are usually caused by some third-party software. This article describes how to resolve this kind of
    issues.
    Solution:
    In order to solve the above issue, we should disable the additional credential providers.
    Step One: Check if the cause is multiple credential providers.
    Check the credential provider and find its CLSID used by last logged on. Open Registry Editor, and then navigate to the key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI.
    On the right side, navigate to the String Value LastLoggedOnProvider whose data is the CLSID of credential provider, as shown in the figure below.
    Check Microsoft built-in credential providers. Boot into safe mode which would only load the built-in credential provider, and redo step 1.
    Check if the two CLSIDs in step 1 and 2 are the same. If not, we could disable the additional credential provider to solve this issue.
    Step Two: Disable the additional credential provider.
    Method 1: Using Group Policy.
    Open local Group Policy editor, navigate to Computer Configuration -> Administrative Templates -> System -> Logon,
    and then find the policy Exclude credential providers
    on the right side.
    Right Click Exclude credential providers, click
    Edit, click Enabled and enters the
    comma-separated CLSID which to exclude multiple credential providers during authentication.
    Click OK to save the changes.
    Method 2: Using Registry.
    Open Registry Editor , then Navigate to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers
    Right click on the CLSID of the provider, select New ->
    DWORD (32-bit) Value, then enter the value name to
    Disabled, after that modify the value data to 1.
    The provider will be disabled on the next session which is created during log off, switch user, or reboot.
    Note: Credential providers are all defined in the following registry key with related CLSID:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I found the solution:
    https://addons.mozilla.org/en-US/firefox/addon/click-to-play-per-element/
    Still so stupid of Firefox/Mozilla to go this direction in the first place.... starting to actually hate Firefox more and more with each release. Less and less reminiscent of the actual ideas behind Phoenix/Firebird when it first started.

  • 802.11 RTS/CTS and hidden node problem

    Guys,
    A little confused here.
    The hidden node problem is if two nodes within a cell can hear the AP but not each other. OK.
    But, when we talk about 802.11b and 802.11g backwards compatibility causing reduced throughtput in terms of bandwidth, it seems that this is always blamed on 802.11g stations having to use RTS/CTS.
    But,
    Even in an 802.11g only cell, dont stations still have to use RTS/CTS mechanisms for the hidden node problem?
    I'm confused.com!
    Thx
    Ken

    When 802.11b clients are associated to an 802.11g access point, the access point will turn on a protection mechanism called Request to Send/Clear to Send (RTS/CTS). Originally a mechanism for addressing the "hidden node problem" , RTS/CTS adds a degree of determinism to the otherwise multiple access network. When RTS/CTS is invoked, clients must first request access to the medium from the access point with an RTS message. Until the access point replies to the client with a CTS message, the client will refrain from accessing the medium and transmitting its data packets. When received by clients other than the one that sent the original RTS, the CTS command is interpreted as a "do not send" command, causing them to refrain from accessing the medium. One can see that this mechanism will preclude 802.11b clients from transmitting simultaneously with an 802.11g client, thereby avoiding collisions that decrease throughput due to retries. One can see that this additional RTS/CTS process adds a significant amount of protocol overhead that also results in a decrease in network throughput.
    In addition to RTS/CTS, the 802.11g standard adds one other significant requirement to allow for 802.11b compatibility. In the event that a collision occurs due to simultaneous transmissions (the likelihood of which is greatly reduced due to RTS/CTS), client devices "back off" the network for a random period of time before attempting to access the medium again. The client arrives at this random period of time by selecting from a number of slots, each of which has a fixed duration. For 802.11b, there are 31 slots, each of which are 20 microseconds long. For 802.11a, there are 15 slots, each of which are nine microseconds long. 802.11a generally provides shorter backoff times than does 802.11b, which provides for better performance than 802.11a, particularly as the number of clients in a cell increases. When operating in mixed mode (operating with 802.11b clients associated) the 802.11g network will adopt 802.11b backoff times. When operating without 802.11b clients associated, the 802.11g network will adopt the higher-performance 802.11a backoff times.

  • 802.11 AC, questions

    Hi! I am really curious as to how all these new bands work? im not versed in any of this
    Can i buy a modem/router that supports 802.11 AC and just have this new type of wifi running in  my home or do i need a certain type of internet connection?

    Can i buy a modem/router that supports 802.11 AC and just have this new type of wifi running in  my home
    Yes
    do i need a certain type of internet connection?
    No
    However, assuming that you do have an 802.11ac router providing the wireless signal, you will also need an 802.11ac capable computer or mobile to take advantage of faster 802.11ac speeds.
    If you have computers or mobile devices that are not 802.11ac capable, they will connect to a lower speed wireless signal provided by the router.
    The bottom line.....802.11ac is a double edged sword. Both the router broadcasting the wireless signal and the other devices receiving the signal need to be 802.11ac capable in order to realize any performance benefit offered by 802.11ac technology.

  • SSO between Portal and Nakia.....problem with SSO... library not found..

    Hi Sdn's  and Nakisa tehnical experts,
    We have a Portal environment 7.02 , a Nakisa environment 3.0  (CE) and and HR backend environment 701 (604).
    We are busy setting up SSO between Portal and Nakisa via the, URL iview for the Org chart (http://<host>:<port>OrgChart/default.jsp).
    We have done as indicated in wiki:
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/SAPSSOAuthenticationwithverify.pseusingSAPSSOEXT
    We are however stil having issues with the SSO and in the cds.log the following is being displayed:
    ++01 Aug 2011 13:11:42 ERROR com.nakisa.Logger  - com.mysap.sso.SSO2Ticket : Could not load library: sapsecu.dll - java.lang.Exception: MySapInitialize failed: rc= 14null++
    ++01 Aug 2011 13:11:42 ERROR com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0++
    ++01 Aug 2011 13:11:42 ERROR com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : Internal error (9) - No SSF error (0)++
    Can someone indicate what I am doing wrong?
    Regards Dries

    Hi Luke,
    thanks a lot for your help so far.
    I have created a root/XML folder under the diretory, and the path is now as follows:
    K:\usr\sap\NKP\J14\j2ee\cluster\apps\Nakisa\OrgChart\servlet_jsp\OrgChart\root\.system\Admin_Config\__000__Sasol_DEV_LIVE\.delta\root\XML
    It seems like it finds the verify.pse, but not the library, sapsecu.dll.
    My credentials.xml file is as follows:
    <credentials>
    <assembly name="SapSso"/>
      <info>
        <item name="PseFilePath">XML\verify.pse</item>
        <item name="SsfLibFilePath">XML\sapsecu.dll</item>
        <item name="PsePassword"></item>
        <item name="WindowsPlatform">64</item>
        <item name="TicketFile"></item>
        <item name="Base64decode">true</item>
       </info>
    </credentials>
    I however stilll get the following in the cds.log
    15 Aug 2011 13:59:53 INFO  com.nakisa.Logger  - Tenant ID: 000
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - LoginSettingsObject Load: 1719
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Credential provider SapSso
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : Using cert: K:\usr\sap\NKP\J14\j2ee\cluster\apps\Nakisa\OrgChart\servlet_jsp\OrgChart\root\XML\verify.pse
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : Ticket is: AjExMDAgAA9wb3J0YWw6eXNzZWxhZ2OIABNiYXNpY2F1dGhlbnRpY2F0aW9uAQAIWVNTRUxBR0MCAAMwMDADAANEUDkEAAwyMDExMDgxNTExNDcFAAQAAAAICgAIWVNTRUxBR0P%2FAQQwggEABgkqhkiG9w0BBwKggfIwge8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBzzCBzAIBATAiMB0xDDAKBgNVBAMTA0RQOTENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTEwODE1MTE0NzIwWjAjBgkqhkiG9w0BCQQxFgQUK13ubzFiQrY4H%2FLRk2ysyvPSvccwCQYHKoZIzjgEAwQuMCwCFF1W9d!tAjLvP8dnb1bs4XghaHSBAhQ9kd9N!bJubUWITtkzU!za96lxNg%3D%3D
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : Version of SAPSSOEXT: SAPSSOEXT 4
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : SCUE LIB base path is:
    15 Aug 2011 13:59:55 ERROR com.nakisa.Logger  - com.mysap.sso.SSO2Ticket : Could not load library: sapsecu.dll - java.lang.Exception: MySapInitialize failed: rc= 14null
    15 Aug 2011 13:59:55 ERROR com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0
    15 Aug 2011 13:59:55 ERROR com.nakisa.Logger  - com.nakisa.framework.login.Credentials_SapSso : Internal error (9) - No SSF error (0)
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : User to authenticate null
    15 Aug 2011 13:59:55 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Authentication provider SapSso
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : User authenticated null
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Authentication row is {SapSsoTicket=AjExMDAgAA9wb3J0YWw6eXNzZWxhZ2OIABNiYXNpY2F1dGhlbnRpY2F0aW9uAQAIWVNTRUxBR0MCAAMwMDADAANEUDkEAAwyMDExMDgxNTExNDcFAAQAAAAICgAIWVNTRUxBR0P%2FAQQwggEABgkqhkiG9w0BBwKggfIwge8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBzzCBzAIBATAiMB0xDDAKBgNVBAMTA0RQOTENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTEwODE1MTE0NzIwWjAjBgkqhkiG9w0BCQQxFgQUK13ubzFiQrY4H%2FLRk2ysyvPSvccwCQYHKoZIzjgEAwQuMCwCFF1W9d!tAjLvP8dnb1bs4XghaHSBAhQ9kd9N!bJubUWITtkzU!za96lxNg%3D%3D}
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : User population provider is Database
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - FunctionRunner : ensurePool : Current pool size:0
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - FunctionRunner : ensurePool : Current pool size:0
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - FunctionRunner.executeFunctionDirect: /NAKISA/RFC_REPORT took: 266ms
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - BAPI_SAP_OTFProcessor_Report :  WhereClause : ( (Userid is null) or (Userid='') ); Table : (SAP_UserPopulation); Dataelement : (UserPopulationInfo)
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : User populated
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Role mapping provider is: SAP
    15 Aug 2011 14:00:00 ERROR com.nakisa.Logger  - SAPRoleMapping_SAP.MapRoles() : while trying to invoke the method java.lang.String.toUpperCase() of an object loaded from local variable 'value'
    15 Aug 2011 14:00:00 INFO  com.nakisa.Logger  - com.nakisa.framework.login.Main : LogIn : Login process finished with errors
    Any ideas? Should I maybe hardcode the location in the credentials.xml?
    Kind regards
    Dries Yssel

  • Unable to get 'InitialContext' using Java Client in Oracle App 10.0.2.0

    Scenario & Problem Description: Unable to get 'Initial Context' using Simple Java Client in Oracle Application Server 10.0.2.0
    I'm having an issue while I try to initialize the Initial Context for an EJB lookup from a simple Java Client [local lookup], but the same code snippet works fine when I try from Servlet. I have enclosed the Exception Stack Trace and the Code Snippet for your reference.
    1. .NET Client ---> Servlet --> LookupUtility --> EJB --> DB - Issue
    2. .NET Client ---> Servlet --> EJB --> DB - Works
    Exception: java.lang.InstantiationException: Error communicating with server: Lookup error: javax.naming.AuthenticationException: Invalid username/password for Config (guest); nested exception is: nested exception is: Exception in InitialContext: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Invalid username/password for Config (guest) at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at com.seagate.edcs.config.util.LookupUtility.getInitialContext(LookupUtility.java:123)
    at com.seagate.edcs.config.util.LookupUtility.getConfiguration (LookupUtility.java:69)
    at com.seagate.edcs.config.util.LookupUtility.main(LookupUtility.java:135)
    Code Snippet:
    * This method returns the Configuration for the properties set.
    public ArrayList getConfiguration ( ) throws Exception {
    ArrayList arrayList = null;
    try {
    Context context = getInitialContext();
    System.out.println("Context : " + context);
    Object home = context.lookup("java:comp/env/ejb/com.seagate.edcs.config.ejb.ConfigSessionEJBHome");
    System.out.println("Object home : " + home);
    ConfigSessionEJBHome configSessionEJBHome = (ConfigSessionEJBHome)PortableRemoteObject.narrow(home, ConfigSessionEJBHome.class);
    System.out.println("ConfigSessionEJBHome configSessionEJBHome : " + configSessionEJBHome);
    ConfigSessionEJB configSessionEJB =(ConfigSessionEJB)PortableRemoteObject.narrow(configSessionEJBHome.create(), ConfigSessionEJB.class);
    System.out.println("ConfigSessionEJB configSessionEJB : " + configSessionEJB);
    arrayList = configSessionEJB.getAllConfig();
    System.out.println("Context : " + context);
    } catch (Exception ex) {
    System.out.println("Exception Occured");
    throw ex;
    return arrayList;
    * Get an initial context from the JNDI tree.
    private Context getInitialContext() throws NamingException {
    try {
    Hashtable hashtable = new Hashtable();
    hashtable.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    hashtable.put("java.naming.provider.url", "ormi://seagate.mil-shivas-270.am.ad.seagate.com/home"); // if we won't specify the port, it considers the default port
    hashtable.put("java.naming.security.principal","ias_admin");
    hashtable.put("java.naming.security.credentials","ias123");
    return new InitialContext(hashtable);
    } catch (NamingException ne) {
    System.out.println("Exception in InitialContext.");
    throw ne;
    Note:
    1. The user "ias_admin" & password "ias123" are the credential provided for the 'Admin' while installing the Oracle App Server and using these credentials I'm able to bring the Admin Console. Also, added new user 'guest/guest' - assigned this user to the 'admin' group ...
    2. Since its a local lookup, there is no need to specify the credentials, but at runtime a dialog box pops up prompting to enter the 'userid/password' and when I enter the crendtials, I get the exception as stated. [In case of Servlet - EJB lookup, I'm not specifying any credentials]
    Are there are any configuration parameters which I need to provide in any of the .xml? Could you please let me know the fix for the same.
    Regards,
    Kafeel/-

    Please use the OS {forum:id=210}

  • How to configure Remote desktop connection double sign-on?

    All dear,
    I need help. I install a terminal server 2012, but when I try to remote login, only once sign on. How can I to configure the server to double sign-on.
    Thanks

    If I understand you right you have custom credential provider on the server. In this case Microsoft says that it is impossible to overcome double sign-on, just search for the "RDC and Custom Credential Providers" on the Internet.

  • OWSM 11g: Invoking a secured web service through a java proxy service

    Hi All,
    I am trying to call a secured bpel service which is expecting a username token password. I have created a java proxy service for the same. I now need to add the username token to the same. Can anyone please guide me in this regard.
    Thanks in advance.

    Just to add some pointers,
    I added the following code to the proxy still the soap headers is not getting propagated.
    OrderBookingAndShipment orderBookingAndShipment = orderbookingandshipment_client_ep.getOrderBookingAndShipment_pt();
    String username = "OWSM_11g";
    String password = "password";
    List credProviders = new ArrayList();
    //client side UsernameToken credential provider
    CredentialProvider cp = new ClientUNTCredentialProvider(username.getBytes(),password.getBytes());
    credProviders.add(cp);
    Map<String,Object> context = ((BindingProvider) orderBookingAndShipment).getRequestContext();
    context.put(WSSecurityContext.CREDENTIAL_PROVIDER_LIST,credProviders);

  • Adding button on the windows (vista/7) login page

    Hi
    It is possible to create button on login page in windows (7/8) using c#. Please give some ideas.

    No you can't. The only available avenue is via a Credential Provider, which must be written in a C/C++.
    Developer Security MVP | www.syfuhs.net

  • How do I connect my airport Express to the internet connection of my Macbook Pro without an ethernet cable?

    I would like to use my Airport Express (802.11n) to provide audio in another room for a pair of powered speakers, however the iTunes remote software for Android requires (for some dumb reason) an internet connection so I can't control iTunes
    So my computer is connected to a cabelmodem via ethernet and the Express has established a network connection with the computer
    How do i give the Airport internet access without an ethernet cable?

    To share your Internet connection from your laptop, select 'Sharing' in 'System Preferences' and enable 'Internet Sharing'.
    http://support.apple.com/kb/PH13855
    You will need to set a WEP key. You may need to root the system do some things at the command line. I recommend against that.
    Laptops don't work well as routers but it is possible.
    Hook up the AirPort express to the laptop using an Ethernet cable and configure with the AirPort utility as if you are setting up a print server or base station. The Android should see the AirPort Express after that.
    http://support.apple.com/kb/ht4587
    https://discussions.apple.com/thread/2312443
    This might work better if you used the AirPort Express as a base station instead of trying to use the laptop as a base station. Then your Android would have Internet access.

Maybe you are looking for

  • Mac mini - dvi to hdmi and 1380x768 resolution

    Hi, I've connected my mac mini to a samsung television with a dvi - hdmi cable. Running 1280x720 I get a very nice picture, but also a black belt around the picture. In order to use the full screen (but not overscan) I suspect a 1380x768 resolution i

  • Printing problems on Windows server 2003

    Hi All, I was printing perfectly on my shared printer (HP Laserjet 1000) on my Windows server 2003 with a domain. Since this week I can't print anymore. I keeps failing with failed authentification. Nothing changed on my server or iMac except the lat

  • XML from FCP X 10.1.4 won't open in Logic Pro X 10.1.1?

    Hi, I've exported an XML of an edited project in FCP X (10.1.4) and am trying to import this to Logic Pro X 10.1.1. I have looked at various tutorials online and also searched through documentation and other support forums, and cannot find a mention

  • Crosscorrelation time delay question

    Hi! I have a project, where i work with 2 microphones, and i want to calculate the time delay between the two signals. I had made a simple method for it, but it's a bit bad... So now i  try it with crosscorrelation, but i can't get a correct time-for

  • A tutorial needed for...

    I searched the net and found plenty of as2 tutorials for making a car racing game but none for as3?? anyone know of any good tutorials of such?? thank you