{#advanced_dlg.about_title}

Programming, Technology »

Friday, December 20, 2013 | 0 Comments

AutoMapper is my tool of choice for mapping between types, mostly view models, DTO’s and domain models. In order to combine the powers of AutoMapper and StructureMap we have to do some plumbing. We need to register certain types in the IoC container and let AutoMapper know how to construct services. The combined power gives us the possibility to inject AutoMapper types wherever we want and we don’t have to work with the static Mapper class which I consider bad. Another benefit is that we can inject dependencies into custom type converters and value resolvers. In this post I will try to explain my AutoMapper setup in conjunction with StructureMap in the context of ASP.NET MVC web applications. It shouldn't be that hard to port thi... [More]

{#advanced_dlg.about_title}

Technology, Windows »

Thursday, November 28, 2013 | 0 Comments

When you change your password in Active Directory (AD) your cached credentials for accessing network shares are no longer valid. To access the network share with your new password requires you to remove or update the cached credentials. This can be done with the following steps.   WIN Key + R     control nusrmgr.cpl     Click on Manage your credentials     Choose your credentials and Edit or Remove from vault. [More]

{#advanced_dlg.about_title}

Programming, Technology »

Friday, November 15, 2013 | 0 Comments

For testing purposes I am using OpenAM with the default configuration which includes a embedded OpenDJ (LDAP) instance. This embedded LDAP directory should not be used in production but can perfectly be used in your development setup. I am using OpenAM for setting up an identity provider which communicates SAML 2.0 with my service providers. My service providers need role assertions about the user accessing the service provider. This post will go quickly through all the steps needed to return the roles/groups of an user in case of a default OpenAM configuration. Before you can do that you already need your identity and service provider, realm and circle of trust configured. The LDAP directory is filled with a default user demo which we are... [More]

{#advanced_dlg.about_title}

Programming, Technology »

Tuesday, November 12, 2013 | 0 Comments

In my current job we where in the need for a load-test script which performs Service Provider (SP) initiated Web Browser Single Sign-On’s (SSO’s) based on SAML 2.0 (Security Assertion Markup Language). A mouthful, but it sounds harder than it actually is. We need this to determine how much load our Identity Provider (IdP) can handle, but we are also planning to use it as an instrument to test if our identity provider can meet our performance requirements. Now off course you could also load-test the login process without the use of SAML. In this scenario you go directly to the login URL of the identity provider which doesn’t involve exchanging SAML messages between the service provider and the identity provider. While this i... [More]