<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>3171</bug_id>
          
          <creation_ts>2005-04-14 13:32</creation_ts>
          <short_desc>add RFC 2253 principal name to JAAS subject?</short_desc>
          <delta_ts>2006-10-11 15:37:20</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Java WS Security</product>
          <component>Authentication</component>
          <version>4.0.3</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          
          
          
          
          
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Freeman">tfreeman@mcs.anl.gov</reporter>
          <assigned_to name="Rachana Ananthakrishnan">ranantha@mcs.anl.gov</assigned_to>
          <cc>gawor@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Tim Freeman">tfreeman@mcs.anl.gov</who>
            <bug_when>2005-04-14 13:32:45</bug_when>
            <thetext>With the X500Principal class, it is possible to obtain a RFC 2253 compliant DN.  

Perhaps it would be useful to introduce a convenience method to service/authz
programmers (S.Meder suggests to add it to the JAAS subject) and maybe even to
eventually introduce this as an available way to represent DNs in gridmap files etc.


import javax.security.auth.x500.X500Principal

X509Certificate userx509 = null;

// get userx509 

X500Principal userx500 = userx509.getIssuerX500Principal();
subjectName = userx500.getName();</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Tim Freeman">tfreeman@mcs.anl.gov</who>
            <bug_when>2005-04-14 15:50:45</bug_when>
            <thetext>The Shibboleth integration will use this form:

getName(X500Principal.CANONICAL)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Jarek Gawor">gawor@mcs.anl.gov</who>
            <bug_when>2005-04-14 17:51:13</bug_when>
            <thetext>Would string representation of the DN in RFC 2253 format be ok?</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>