You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2005/02/05 00:29:29 UTC

svn commit: r151447 - incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java

Author: akarasulu
Date: Fri Feb  4 15:29:27 2005
New Revision: 151447

URL: http://svn.apache.org/viewcvs?view=rev&rev=151447
Log:
oops start using env instead of system properites

Modified:
    incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java

Modified: incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java
URL: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java?view=diff&r1=151446&r2=151447
==============================================================================
--- incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java (original)
+++ incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java Fri Feb  4 15:29:27 2005
@@ -91,14 +91,14 @@
 
         String key = PROPKEY_BASE + entry.getSamType().getOrdinal();
 
-        if ( System.getProperties().containsKey( key ) )
+        if ( env.containsKey( key ) )
         {
             String msg = "Could not find property '" + key + "'";
 
             throw new SamException( entry.getSamType(), msg );
         }
 
-        String fqcn = System.getProperty( key );
+        String fqcn = ( String ) env.get( key );
 
         try
         {