You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2013/06/19 14:08:07 UTC
svn commit: r1494574 - in
/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication:
AuthenticationManager.java IAuthenticationManager.java
Author: degenaro
Date: Wed Jun 19 12:08:07 2013
New Revision: 1494574
URL: http://svn.apache.org/r1494574
Log:
UIMA-2984 DUCC webserver (WS) improvement for the case of "default" authenticator, which does not check password
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/AuthenticationManager.java
uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/IAuthenticationManager.java
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/AuthenticationManager.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/AuthenticationManager.java?rev=1494574&r1=1494573&r2=1494574&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/AuthenticationManager.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/AuthenticationManager.java Wed Jun 19 12:08:07 2013
@@ -39,7 +39,12 @@ public class AuthenticationManager imple
return version;
}
-
+
+ public boolean isPasswordChecked() {
+ return false;
+ }
+
+
public IAuthenticationResult isAuthenticate(String userid, String domain, String password) {
IAuthenticationResult authenticationResult = default_authenticationResult;
String ducc_pw = DuccPropertiesResolver.getInstance().getFileProperty(DuccPropertiesResolver.ducc_ws_authentication_pw);
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/IAuthenticationManager.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/IAuthenticationManager.java?rev=1494574&r1=1494573&r2=1494574&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/IAuthenticationManager.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/main/java/org/apache/uima/ducc/common/authentication/IAuthenticationManager.java Wed Jun 19 12:08:07 2013
@@ -20,6 +20,7 @@ package org.apache.uima.ducc.common.auth
public interface IAuthenticationManager {
public String getVersion();
+ public boolean isPasswordChecked();
public IAuthenticationResult isAuthenticate(String userid, String domain, String password);
public IAuthenticationResult isGroupMember(String userid, String domain, Role role);