directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r637321 - in /directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos: KeyDerivationInterceptor.java PasswordPolicyInterceptor.java
Date Sat, 15 Mar 2008 01:00:43 GMT
Author: elecharny
Date: Fri Mar 14 18:00:40 2008
New Revision: 637321

URL: http://svn.apache.org/viewvc?rev=637321&view=rev
Log:
Change the call to method isA to use the renamed method instanceOf

Modified:
    directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/KeyDerivationInterceptor.java
    directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/PasswordPolicyInterceptor.java

Modified: directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/KeyDerivationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/KeyDerivationInterceptor.java?rev=637321&r1=637320&r2=637321&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/KeyDerivationInterceptor.java
(original)
+++ directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/KeyDerivationInterceptor.java
Fri Mar 14 18:00:40 2008
@@ -240,7 +240,7 @@
 
             ServerAttribute attr = (ServerAttribute)mod.getAttribute();
 
-            if ( attr.isA( SchemaConstants.USER_PASSWORD_AT ) )
+            if ( attr.instanceOf( SchemaConstants.USER_PASSWORD_AT ) )
             {
                 Object firstValue = attr.get();
                 String password = null;
@@ -268,7 +268,7 @@
                 log.debug( "Got userPassword '{}'.", subContext.getUserPassword() );
             }
 
-            if ( attr.isA( KerberosAttribute.KRB5_PRINCIPAL_NAME_AT ) )
+            if ( attr.instanceOf( KerberosAttribute.KRB5_PRINCIPAL_NAME_AT ) )
             {
                 subContext.setPrincipalName( attr.getString() );
                 log.debug( "Got principal '{}'.", subContext.getPrincipalName() );

Modified: directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/PasswordPolicyInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/PasswordPolicyInterceptor.java?rev=637321&r1=637320&r2=637321&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/PasswordPolicyInterceptor.java
(original)
+++ directory/apacheds/branches/bigbang/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/PasswordPolicyInterceptor.java
Fri Mar 14 18:00:40 2008
@@ -140,7 +140,7 @@
 
             ServerAttribute attr = (ServerAttribute)mod.getAttribute();
 
-            if ( attr.isA( SchemaConstants.USER_PASSWORD_AT ) )
+            if ( attr.instanceOf( SchemaConstants.USER_PASSWORD_AT ) )
             {
                 Value<?> userPassword = attr.get();
                 String pwd = "";



Mime
View raw message