You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2005/02/09 16:13:31 UTC

svn commit: r153075 - incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/kdc/AuthenticationService.java

Author: erodriguez
Date: Wed Feb  9 07:13:30 2005
New Revision: 153075

URL: http://svn.apache.org/viewcvs?view=rev&rev=153075
Log:
Changed SAM error to regular pre-auth error for Linux krb5 libs compatibility.

Modified:
    incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/kdc/AuthenticationService.java

Modified: incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/kdc/AuthenticationService.java
URL: http://svn.apache.org/viewcvs/incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/kdc/AuthenticationService.java?view=diff&r1=153074&r2=153075
==============================================================================
--- incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/kdc/AuthenticationService.java (original)
+++ incubator/directory/protocols/kerberos/trunk/core/src/java/org/apache/kerberos/kdc/AuthenticationService.java Wed Feb  9 07:13:30 2005
@@ -180,7 +180,7 @@
 		    }
 		    catch (SamException se)
 		    {
-		        throw new KerberosException( 77, se.getMessage() );
+		        throw new KdcErrorPreauthRequired( preparePreAuthenticationError() );
 		    }
 	    }