LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 17-Jun-2009, 04:55 AM
Junior Member
 
Join Date: Sep 2008
Posts: 1
stevengevers 0 reputation points
Default Using X509 subject with identity injection

Dear,

We have an authentication module which performs X509 authentication. The authentication method does not perform any LDAP lookup. Unregistered users can access the application. Using the standard identity injection methods it is possible to put the entire certificate subject in the headers.

We now want to inject other headers with values that are parsed from the subject. E.g. if the certificate subject is "o=company,u=steven", we want a company-header with the company and a name-header with value "steven".


To do this, we are implementing a Java identity injection module that should parse the certificate subject and put some parts of it in some headers.
Starting from the examples in the SDK, I see that identity injection module can only access the username and password using the ExternalDataFillerContext object. This object has two methods: getUserDn and getUserPassword. However, in our setup, both return an empty string.

Based on the documentation, I do not find where I can get the certificate subject. Is there a way to make the certificate subject available for identity injection modules?

kind regards,
Steven Gevers
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:15 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2