directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [10/26] directory-kerby git commit: Minor grammatical fix
Date Mon, 07 Dec 2015 03:33:40 GMT
Minor grammatical fix


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/949104fd
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/949104fd
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/949104fd

Branch: refs/heads/pkinit-support
Commit: 949104fd2f301c4af1389050a06831a7cb7e4111
Parents: 0138b2a
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Dec 1 11:21:48 2015 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Dec 1 11:21:48 2015 +0000

----------------------------------------------------------------------
 .../kerby/kerberos/kerb/server/preauth/token/TokenPreauth.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/949104fd/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/token/TokenPreauth.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/token/TokenPreauth.java
b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/token/TokenPreauth.java
index a516873..7b03704 100644
--- a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/token/TokenPreauth.java
+++ b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/token/TokenPreauth.java
@@ -103,7 +103,7 @@ public class TokenPreauth extends AbstractPreauthPlugin {
             serverPrincipal.setRealm(kdcRequest.getKdcReq().getReqBody().getRealm());
             kdcRequest.setServerPrincipal(serverPrincipal);
             if (!audiences.contains(serverPrincipal.getName())) {
-                throw new KrbException("Token audience not match with the target server principal!");
+                throw new KrbException("The token audience does not match with the target
server principal!");
             }
             if (kdcRequest instanceof AsRequest) {
                 AsRequest asRequest = (AsRequest) kdcRequest;


Mime
View raw message