[jboss-cvs] JBossAS SVN: r83560 - in projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main: webapp/WEB-INF and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jan 28 10:57:12 EST 2009
Author: darran.lofthouse at jboss.com
Date: 2009-01-28 10:57:11 -0500 (Wed, 28 Jan 2009)
New Revision: 83560
Removed:
projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/java/org/jboss/security/negotiation/toolkit/UsernamePasswordLogon.java
projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/webapp/WEB-INF/jaas_authentication.conf
Log:
Remove redundant files.
Deleted: projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/java/org/jboss/security/negotiation/toolkit/UsernamePasswordLogon.java
===================================================================
--- projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/java/org/jboss/security/negotiation/toolkit/UsernamePasswordLogon.java 2009-01-28 15:51:25 UTC (rev 83559)
+++ projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/java/org/jboss/security/negotiation/toolkit/UsernamePasswordLogon.java 2009-01-28 15:57:11 UTC (rev 83560)
@@ -1,56 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- *
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.security.negotiation.toolkit;
-
-import javax.security.auth.Subject;
-import javax.security.auth.login.LoginContext;
-
-import com.sun.security.auth.callback.TextCallbackHandler;
-
-/**
- * Utility to be called from the command line to verify that it is possible
- * to authenticate against the KDC when providing the username and password.
- *
- * @author darran.lofthouse at jboss.com
- * @version $Revision$
- */
-public class UsernamePasswordLogon
-{
-
- /**
- * Utility entry point.
- */
- public static void main(String[] args) throws Exception
- {
- System.out.println(" * * UserNamePasswordLogin * *");
- LoginContext login = new LoginContext("UsernamePasswordSample", new TextCallbackHandler());
- login.login();
-
- System.out.println("Authenticated");
-
- Subject subject = login.getSubject();
-
- System.out.println("Subject - " + String.valueOf(subject));
- }
-}
Deleted: projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/webapp/WEB-INF/jaas_authentication.conf
===================================================================
--- projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/webapp/WEB-INF/jaas_authentication.conf 2009-01-28 15:51:25 UTC (rev 83559)
+++ projects/security/security-negotiation/branches/Branch_2_0/jboss-negotiation-toolkit/src/main/webapp/WEB-INF/jaas_authentication.conf 2009-01-28 15:57:11 UTC (rev 83560)
@@ -1,15 +0,0 @@
-// Login configurations for the command line utilities.
-
-UsernamePasswordSample {
- com.sun.security.auth.module.Krb5LoginModule required
- debug="true";
-};
-
-KeytabPasswordSample {
- com.sun.security.auth.module.Krb5LoginModule required
- debug="true"
- useKeyTab="true"
- principal="host/testserver.gsslab.rdu.redhat.com at GSSLAB.RDU.REDHAT.COM"
- keyTab="/home/darranl/src/security-negotiation/spnego-configuration/descriptors/testserver.keytab"
- doNotPromp="true";
-};
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list