[jboss-cvs] JBossAS SVN: r81029 - in trunk/security/src: main/org/jboss/crypto/digest and 11 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Nov 14 07:52:49 EST 2008


Author: dimitris at jboss.org
Date: 2008-11-14 07:52:49 -0500 (Fri, 14 Nov 2008)
New Revision: 81029

Modified:
   trunk/security/src/main/org/jboss/crypto/CipherClientSocketFactory.java
   trunk/security/src/main/org/jboss/crypto/CipherServerSocket.java
   trunk/security/src/main/org/jboss/crypto/CipherServerSocketFactory.java
   trunk/security/src/main/org/jboss/crypto/CipherSocket.java
   trunk/security/src/main/org/jboss/crypto/digest/DigestCallback.java
   trunk/security/src/main/org/jboss/crypto/digest/SHAInterleave.java
   trunk/security/src/main/org/jboss/crypto/digest/SHAReverseInterleave.java
   trunk/security/src/main/org/jboss/security/AbstractSecurityProxy.java
   trunk/security/src/main/org/jboss/security/SecurityActions.java
   trunk/security/src/main/org/jboss/security/SecurityProxy.java
   trunk/security/src/main/org/jboss/security/SubjectSecurityProxy.java
   trunk/security/src/main/org/jboss/security/SubjectSecurityProxyFactory.java
   trunk/security/src/main/org/jboss/security/Util.java
   trunk/security/src/main/org/jboss/security/auth/SystemAuthenticator.java
   trunk/security/src/main/org/jboss/security/auth/SystemAuthenticatorMBean.java
   trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfig.java
   trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfigMBean.java
   trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfig.java
   trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfigMBean.java
   trunk/security/src/main/org/jboss/security/auth/spi/RFC2617Digest.java
   trunk/security/src/main/org/jboss/security/integration/JBossSecuritySubjectFactory.java
   trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityManagement.java
   trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityRegistration.java
   trunk/security/src/main/org/jboss/security/integration/JNDIContextEstablishment.java
   trunk/security/src/main/org/jboss/security/integration/SecurityActions.java
   trunk/security/src/main/org/jboss/security/integration/SecurityConstantsBridge.java
   trunk/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java
   trunk/security/src/main/org/jboss/security/jce/JCEProviderService.java
   trunk/security/src/main/org/jboss/security/jce/JCEProviderServiceMBean.java
   trunk/security/src/main/org/jboss/security/jndi/LoginInitialContextFactory.java
   trunk/security/src/main/org/jboss/security/plugins/DefaultLoginConfig.java
   trunk/security/src/main/org/jboss/security/plugins/JCASecurityInfo.java
   trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java
   trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java
   trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManager.java
   trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerService.java
   trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java
   trunk/security/src/main/org/jboss/security/plugins/SecurityConfig.java
   trunk/security/src/main/org/jboss/security/plugins/SecurityConfigMBean.java
   trunk/security/src/main/org/jboss/security/plugins/SecurityDomainContext.java
   trunk/security/src/main/org/jboss/security/plugins/SecurityManagerMBean.java
   trunk/security/src/main/org/jboss/security/propertyeditor/PrincipalEditor.java
   trunk/security/src/main/org/jboss/security/propertyeditor/SecurityDomainEditor.java
   trunk/security/src/main/org/jboss/security/ssl/ClientSocketFactory.java
   trunk/security/src/main/org/jboss/security/ssl/Context.java
   trunk/security/src/main/org/jboss/security/ssl/DomainServerSocket.java
   trunk/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java
   trunk/security/src/main/org/jboss/security/ssl/DomainSocketFactory.java
   trunk/security/src/main/org/jboss/security/ssl/RMISSLClientSocketFactory.java
   trunk/security/src/main/org/jboss/security/ssl/RMISSLServerSocketFactory.java
   trunk/security/src/tests/org/jboss/test/LoginContextTestCase.java
   trunk/security/src/tests/org/jboss/test/SunConfigParserTestCase.java
Log:
JBAS-3916, use the right copyright header

Modified: trunk/security/src/main/org/jboss/crypto/CipherClientSocketFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/crypto/CipherClientSocketFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/crypto/CipherClientSocketFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.crypto;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/crypto/CipherServerSocket.java
===================================================================
--- trunk/security/src/main/org/jboss/crypto/CipherServerSocket.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/crypto/CipherServerSocket.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.crypto;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/crypto/CipherServerSocketFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/crypto/CipherServerSocketFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/crypto/CipherServerSocketFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.crypto;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/crypto/CipherSocket.java
===================================================================
--- trunk/security/src/main/org/jboss/crypto/CipherSocket.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/crypto/CipherSocket.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.crypto;
 
 import java.io.InputStream;

Modified: trunk/security/src/main/org/jboss/crypto/digest/DigestCallback.java
===================================================================
--- trunk/security/src/main/org/jboss/crypto/digest/DigestCallback.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/crypto/digest/DigestCallback.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.crypto.digest;
 
 import java.util.Map;

Modified: trunk/security/src/main/org/jboss/crypto/digest/SHAInterleave.java
===================================================================
--- trunk/security/src/main/org/jboss/crypto/digest/SHAInterleave.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/crypto/digest/SHAInterleave.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.crypto.digest;
 
 import java.io.ByteArrayOutputStream;

Modified: trunk/security/src/main/org/jboss/crypto/digest/SHAReverseInterleave.java
===================================================================
--- trunk/security/src/main/org/jboss/crypto/digest/SHAReverseInterleave.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/crypto/digest/SHAReverseInterleave.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.crypto.digest;
 
 import java.io.ByteArrayOutputStream;

Modified: trunk/security/src/main/org/jboss/security/AbstractSecurityProxy.java
===================================================================
--- trunk/security/src/main/org/jboss/security/AbstractSecurityProxy.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/AbstractSecurityProxy.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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;
 
 import java.lang.reflect.Method;

Modified: trunk/security/src/main/org/jboss/security/SecurityActions.java
===================================================================
--- trunk/security/src/main/org/jboss/security/SecurityActions.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/SecurityActions.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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;
 
 import java.security.AccessController;

Modified: trunk/security/src/main/org/jboss/security/SecurityProxy.java
===================================================================
--- trunk/security/src/main/org/jboss/security/SecurityProxy.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/SecurityProxy.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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;
 
 import java.lang.reflect.Method;

Modified: trunk/security/src/main/org/jboss/security/SubjectSecurityProxy.java
===================================================================
--- trunk/security/src/main/org/jboss/security/SubjectSecurityProxy.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/SubjectSecurityProxy.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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;
 
 import java.lang.reflect.InvocationTargetException;

Modified: trunk/security/src/main/org/jboss/security/SubjectSecurityProxyFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/SubjectSecurityProxyFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/SubjectSecurityProxyFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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;
 
 import java.io.Serializable;

Modified: trunk/security/src/main/org/jboss/security/Util.java
===================================================================
--- trunk/security/src/main/org/jboss/security/Util.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/Util.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,238 +1,238 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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;
-
-import java.io.BufferedReader;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Method;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.security.PrivilegedActionException;
-import java.security.PrivilegedExceptionAction;
-import java.util.ArrayList;
-import java.util.StringTokenizer;
-
-import org.jboss.logging.Logger;
-
-/**
- * Util.
- * 
- * @author Scott.Stark at jboss.org
- * @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @version $Revision: 1.1 $
- */
-public class Util
-{
-   private static Logger log = Logger.getLogger(Util.class);
-
-   /**
-    * Execute a password load command to obtain the char[] contents of a
-    * password.
-    * @param  passwordCmd  - A command to execute to obtain the plaintext
-    * password. The format is one of:
-    * '{EXT}...' where the '...' is the exact command
-    * line that will be passed to the Runtime.exec(String) method to execute a
-    * platform command. The first line of the command output is used as the
-    * password.
-    * '{CLASS}classname[:ctorargs]' where the '[:ctorargs]' is an optional
-    * string delimited by the ':' from the classname that will be passed to the
-    * classname ctor. The ctorargs itself is a comma delimited list of strings.
-    * The password is obtained from classname by invoking a
-    * 'char[] toCharArray()' method if found, otherwise, the 'String toString()'
-    * method is used.
-    * @return the password characters
-    * @throws Exception
-    */ 
-   public static char[] loadPassword(String passwordCmd)
-      throws Exception
-   {
-      char[] password = null;
-      String passwordCmdType = null;
-      
-      // Look for a {...} prefix indicating a password command
-      if( passwordCmd.charAt(0) == '{' )
-      {
-         StringTokenizer tokenizer = new StringTokenizer(passwordCmd, "{}");
-         passwordCmdType = tokenizer.nextToken();
-         passwordCmd = tokenizer.nextToken();
-      }
-      else
-      {
-         // Its just the password string
-         password = passwordCmd.toCharArray();
-      }
-
-      if( password == null )
-      {
-         // Load the password
-         if( passwordCmdType.equals("EXT") )
-            password = execPasswordCmd(passwordCmd);
-         else if( passwordCmdType.equals("CLASS") )
-            password = invokePasswordClass(passwordCmd);
-         else
-            throw new IllegalArgumentException("Unknown passwordCmdType: "+passwordCmdType);
-      }
-      return password;
-   }
-
-   /**
-    * Execute a Runtime command to load a password.
-    * @param passwordCmd
-    * @return
-    * @throws Exception
-    */
-   private static char[] execPasswordCmd(String passwordCmd)
-      throws Exception
-   {
-      log.debug("Executing command: "+passwordCmd);
-      String password = execCmd(passwordCmd);
-      return password.toCharArray();
-   }
-
-   private static char[] invokePasswordClass(String passwordCmd)
-      throws Exception
-   {
-      char[] password = null;
-
-      // Check for a ctor argument delimited by ':'
-      String classname = passwordCmd;
-      String ctorArgs = null;
-      int colon = passwordCmd.indexOf(':');
-      if( colon > 0 )
-      {
-         classname = passwordCmd.substring(0, colon);
-         ctorArgs = passwordCmd.substring(colon+1);
-      }
-      log.debug("Loading class: "+classname+", ctorArgs="+ctorArgs);
-      ClassLoader loader = AccessController.doPrivileged(GetTCLAction.ACTION);
-      Class<?> c = loader.loadClass(classname);
-      Object instance = null;
-      // Check for a ctor(String,...) if ctorArg is not null
-      if( ctorArgs != null )
-      {
-         Object[] args = ctorArgs.split(",");
-         Class<?>[] sig = new Class[args.length];
-         ArrayList<Class<?>> sigl = new ArrayList<Class<?>>();
-         for(int n = 0; n < args.length; n ++)
-            sigl.add(String.class);
-         sigl.toArray(sig);
-         Constructor<?> ctor = c.getConstructor(sig);
-         instance = ctor.newInstance(args);
-      }
-      else
-      {
-         // Use the default ctor
-         instance = c.newInstance();
-      }
-
-      // Look for a toCharArray() method
-      try
-      {
-         log.debug("Checking for toCharArray");
-         Class<?>[] sig = {};
-         Method toCharArray = c.getMethod("toCharArray", sig);
-         Object[] args = {};
-         log.debug("Invoking toCharArray");
-         password = (char[]) toCharArray.invoke(instance, args);
-      }
-      catch(NoSuchMethodException e)
-      {
-         log.debug("No toCharArray found, invoking toString");
-         String tmp = instance.toString();
-         if( tmp != null )
-            password = tmp.toCharArray();
-      }
-      return password;
-   }
-
-   private static class GetTCLAction implements PrivilegedAction<ClassLoader>
-   {
-      static PrivilegedAction<ClassLoader> ACTION = new GetTCLAction();
-      public ClassLoader run()
-      {
-         return Thread.currentThread().getContextClassLoader();
-      }
-   }
-
-   private static String execCmd(String cmd) throws Exception
-   {
-      SecurityManager sm = System.getSecurityManager();
-      String line;
-      if( sm != null )
-      {
-         line = RuntimeActions.PRIVILEGED.execCmd(cmd);
-      }
-      else
-      {
-         line = RuntimeActions.NON_PRIVILEGED.execCmd(cmd);
-      }
-      return line;
-   }
-
-   
-   interface RuntimeActions
-   {
-      RuntimeActions PRIVILEGED = new RuntimeActions()
-      {
-         public String execCmd(final String cmd)
-            throws Exception
-         {
-            try
-            {
-               String line = AccessController.doPrivileged(
-               new PrivilegedExceptionAction<String>()
-                  {
-                     public String run() throws Exception
-                     {
-                        return NON_PRIVILEGED.execCmd(cmd);
-                     }
-                  }
-               );
-               return line;
-            }
-            catch(PrivilegedActionException e)
-            {
-               throw e.getException();
-            }
-         }
-      };
-      RuntimeActions NON_PRIVILEGED = new RuntimeActions()
-      {
-         public String execCmd(final String cmd)
-            throws Exception
-         {
-            Runtime rt = Runtime.getRuntime();
-            Process p = rt.exec(cmd);
-            InputStream stdin = p.getInputStream();
-            BufferedReader reader = new BufferedReader(new InputStreamReader(stdin));
-            String line = reader.readLine();
-            stdin.close();
-            int exitCode = p.waitFor();
-            log.debug("Command exited with: "+exitCode);
-            return line;
-         }
-      };
-      String execCmd(String cmd) throws Exception;
-   }
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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;
+
+import java.io.BufferedReader;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Method;
+import java.security.AccessController;
+import java.security.PrivilegedAction;
+import java.security.PrivilegedActionException;
+import java.security.PrivilegedExceptionAction;
+import java.util.ArrayList;
+import java.util.StringTokenizer;
+
+import org.jboss.logging.Logger;
+
+/**
+ * Util.
+ * 
+ * @author Scott.Stark at jboss.org
+ * @author <a href="adrian at jboss.com">Adrian Brock</a>
+ * @version $Revision: 1.1 $
+ */
+public class Util
+{
+   private static Logger log = Logger.getLogger(Util.class);
+
+   /**
+    * Execute a password load command to obtain the char[] contents of a
+    * password.
+    * @param  passwordCmd  - A command to execute to obtain the plaintext
+    * password. The format is one of:
+    * '{EXT}...' where the '...' is the exact command
+    * line that will be passed to the Runtime.exec(String) method to execute a
+    * platform command. The first line of the command output is used as the
+    * password.
+    * '{CLASS}classname[:ctorargs]' where the '[:ctorargs]' is an optional
+    * string delimited by the ':' from the classname that will be passed to the
+    * classname ctor. The ctorargs itself is a comma delimited list of strings.
+    * The password is obtained from classname by invoking a
+    * 'char[] toCharArray()' method if found, otherwise, the 'String toString()'
+    * method is used.
+    * @return the password characters
+    * @throws Exception
+    */ 
+   public static char[] loadPassword(String passwordCmd)
+      throws Exception
+   {
+      char[] password = null;
+      String passwordCmdType = null;
+      
+      // Look for a {...} prefix indicating a password command
+      if( passwordCmd.charAt(0) == '{' )
+      {
+         StringTokenizer tokenizer = new StringTokenizer(passwordCmd, "{}");
+         passwordCmdType = tokenizer.nextToken();
+         passwordCmd = tokenizer.nextToken();
+      }
+      else
+      {
+         // Its just the password string
+         password = passwordCmd.toCharArray();
+      }
+
+      if( password == null )
+      {
+         // Load the password
+         if( passwordCmdType.equals("EXT") )
+            password = execPasswordCmd(passwordCmd);
+         else if( passwordCmdType.equals("CLASS") )
+            password = invokePasswordClass(passwordCmd);
+         else
+            throw new IllegalArgumentException("Unknown passwordCmdType: "+passwordCmdType);
+      }
+      return password;
+   }
+
+   /**
+    * Execute a Runtime command to load a password.
+    * @param passwordCmd
+    * @return
+    * @throws Exception
+    */
+   private static char[] execPasswordCmd(String passwordCmd)
+      throws Exception
+   {
+      log.debug("Executing command: "+passwordCmd);
+      String password = execCmd(passwordCmd);
+      return password.toCharArray();
+   }
+
+   private static char[] invokePasswordClass(String passwordCmd)
+      throws Exception
+   {
+      char[] password = null;
+
+      // Check for a ctor argument delimited by ':'
+      String classname = passwordCmd;
+      String ctorArgs = null;
+      int colon = passwordCmd.indexOf(':');
+      if( colon > 0 )
+      {
+         classname = passwordCmd.substring(0, colon);
+         ctorArgs = passwordCmd.substring(colon+1);
+      }
+      log.debug("Loading class: "+classname+", ctorArgs="+ctorArgs);
+      ClassLoader loader = AccessController.doPrivileged(GetTCLAction.ACTION);
+      Class<?> c = loader.loadClass(classname);
+      Object instance = null;
+      // Check for a ctor(String,...) if ctorArg is not null
+      if( ctorArgs != null )
+      {
+         Object[] args = ctorArgs.split(",");
+         Class<?>[] sig = new Class[args.length];
+         ArrayList<Class<?>> sigl = new ArrayList<Class<?>>();
+         for(int n = 0; n < args.length; n ++)
+            sigl.add(String.class);
+         sigl.toArray(sig);
+         Constructor<?> ctor = c.getConstructor(sig);
+         instance = ctor.newInstance(args);
+      }
+      else
+      {
+         // Use the default ctor
+         instance = c.newInstance();
+      }
+
+      // Look for a toCharArray() method
+      try
+      {
+         log.debug("Checking for toCharArray");
+         Class<?>[] sig = {};
+         Method toCharArray = c.getMethod("toCharArray", sig);
+         Object[] args = {};
+         log.debug("Invoking toCharArray");
+         password = (char[]) toCharArray.invoke(instance, args);
+      }
+      catch(NoSuchMethodException e)
+      {
+         log.debug("No toCharArray found, invoking toString");
+         String tmp = instance.toString();
+         if( tmp != null )
+            password = tmp.toCharArray();
+      }
+      return password;
+   }
+
+   private static class GetTCLAction implements PrivilegedAction<ClassLoader>
+   {
+      static PrivilegedAction<ClassLoader> ACTION = new GetTCLAction();
+      public ClassLoader run()
+      {
+         return Thread.currentThread().getContextClassLoader();
+      }
+   }
+
+   private static String execCmd(String cmd) throws Exception
+   {
+      SecurityManager sm = System.getSecurityManager();
+      String line;
+      if( sm != null )
+      {
+         line = RuntimeActions.PRIVILEGED.execCmd(cmd);
+      }
+      else
+      {
+         line = RuntimeActions.NON_PRIVILEGED.execCmd(cmd);
+      }
+      return line;
+   }
+
+   
+   interface RuntimeActions
+   {
+      RuntimeActions PRIVILEGED = new RuntimeActions()
+      {
+         public String execCmd(final String cmd)
+            throws Exception
+         {
+            try
+            {
+               String line = AccessController.doPrivileged(
+               new PrivilegedExceptionAction<String>()
+                  {
+                     public String run() throws Exception
+                     {
+                        return NON_PRIVILEGED.execCmd(cmd);
+                     }
+                  }
+               );
+               return line;
+            }
+            catch(PrivilegedActionException e)
+            {
+               throw e.getException();
+            }
+         }
+      };
+      RuntimeActions NON_PRIVILEGED = new RuntimeActions()
+      {
+         public String execCmd(final String cmd)
+            throws Exception
+         {
+            Runtime rt = Runtime.getRuntime();
+            Process p = rt.exec(cmd);
+            InputStream stdin = p.getInputStream();
+            BufferedReader reader = new BufferedReader(new InputStreamReader(stdin));
+            String line = reader.readLine();
+            stdin.close();
+            int exitCode = p.waitFor();
+            log.debug("Command exited with: "+exitCode);
+            return line;
+         }
+      };
+      String execCmd(String cmd) throws Exception;
+   }
+}

Modified: trunk/security/src/main/org/jboss/security/auth/SystemAuthenticator.java
===================================================================
--- trunk/security/src/main/org/jboss/security/auth/SystemAuthenticator.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/auth/SystemAuthenticator.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.auth;
 
 import javax.security.auth.Subject;

Modified: trunk/security/src/main/org/jboss/security/auth/SystemAuthenticatorMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/auth/SystemAuthenticatorMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/auth/SystemAuthenticatorMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.auth;
 
 import org.jboss.system.ServiceMBean;

Modified: trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfig.java
===================================================================
--- trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfig.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfig.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.auth.login;
 
 import java.net.URL;

Modified: trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfigMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfigMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/auth/login/DynamicLoginConfigMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.auth.login;
 
 import javax.management.ObjectName;

Modified: trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfig.java
===================================================================
--- trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfig.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfig.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.auth.login;
  
 import java.util.Iterator;

Modified: trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfigMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfigMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/auth/login/XMLLoginConfigMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.auth.login;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/security/auth/spi/RFC2617Digest.java
===================================================================
--- trunk/security/src/main/org/jboss/security/auth/spi/RFC2617Digest.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/auth/spi/RFC2617Digest.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.auth.spi;
 
 import java.util.Map;

Modified: trunk/security/src/main/org/jboss/security/integration/JBossSecuritySubjectFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/integration/JBossSecuritySubjectFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/integration/JBossSecuritySubjectFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt 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.
-  */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.integration;
 
 import java.security.Principal;

Modified: trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityManagement.java
===================================================================
--- trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityManagement.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityManagement.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt 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.
-  */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.integration;
 
 import java.lang.reflect.Constructor;

Modified: trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityRegistration.java
===================================================================
--- trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityRegistration.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/integration/JNDIBasedSecurityRegistration.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,8 +1,8 @@
 /*
- * JBoss, Home of Professional Open Source
- * Copyright 2007, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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

Modified: trunk/security/src/main/org/jboss/security/integration/JNDIContextEstablishment.java
===================================================================
--- trunk/security/src/main/org/jboss/security/integration/JNDIContextEstablishment.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/integration/JNDIContextEstablishment.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt 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.
-  */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.integration;
 
 import javax.naming.Context;

Modified: trunk/security/src/main/org/jboss/security/integration/SecurityActions.java
===================================================================
--- trunk/security/src/main/org/jboss/security/integration/SecurityActions.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/integration/SecurityActions.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt 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.
-  */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.integration;
 
 import java.security.AccessController;

Modified: trunk/security/src/main/org/jboss/security/integration/SecurityConstantsBridge.java
===================================================================
--- trunk/security/src/main/org/jboss/security/integration/SecurityConstantsBridge.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/integration/SecurityConstantsBridge.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt 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.
-  */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.integration;
 
 //$Id$

Modified: trunk/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/integration/SecurityDomainObjectFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt 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.
-  */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.integration;
 
 import java.lang.reflect.InvocationHandler;

Modified: trunk/security/src/main/org/jboss/security/jce/JCEProviderService.java
===================================================================
--- trunk/security/src/main/org/jboss/security/jce/JCEProviderService.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/jce/JCEProviderService.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jce;
 
 import java.security.Provider;

Modified: trunk/security/src/main/org/jboss/security/jce/JCEProviderServiceMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/jce/JCEProviderServiceMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/jce/JCEProviderServiceMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jce;
 
 import org.jboss.system.ServiceMBean;

Modified: trunk/security/src/main/org/jboss/security/jndi/LoginInitialContextFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/jndi/LoginInitialContextFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/jndi/LoginInitialContextFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.jndi;
 
 import java.util.Hashtable;

Modified: trunk/security/src/main/org/jboss/security/plugins/DefaultLoginConfig.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/DefaultLoginConfig.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/DefaultLoginConfig.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import java.lang.reflect.Constructor;

Modified: trunk/security/src/main/org/jboss/security/plugins/JCASecurityInfo.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/JCASecurityInfo.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/JCASecurityInfo.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2007, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt 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.
-  */
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import java.security.Provider;

Modified: trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,8 +1,8 @@
 /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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

Modified: trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManager.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManager.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManager.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import java.lang.reflect.UndeclaredThrowableException;

Modified: trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerService.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerService.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerService.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import java.beans.PropertyEditorManager;

Modified: trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/JaasSecurityManagerServiceMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import java.security.Principal;

Modified: trunk/security/src/main/org/jboss/security/plugins/SecurityConfig.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/SecurityConfig.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/SecurityConfig.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,8 +1,8 @@
 /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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

Modified: trunk/security/src/main/org/jboss/security/plugins/SecurityConfigMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/SecurityConfigMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/SecurityConfigMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import javax.management.JMException;

Modified: trunk/security/src/main/org/jboss/security/plugins/SecurityDomainContext.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/SecurityDomainContext.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/SecurityDomainContext.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import javax.naming.InvalidNameException;

Modified: trunk/security/src/main/org/jboss/security/plugins/SecurityManagerMBean.java
===================================================================
--- trunk/security/src/main/org/jboss/security/plugins/SecurityManagerMBean.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/plugins/SecurityManagerMBean.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.plugins;
 
 import java.security.Principal;

Modified: trunk/security/src/main/org/jboss/security/propertyeditor/PrincipalEditor.java
===================================================================
--- trunk/security/src/main/org/jboss/security/propertyeditor/PrincipalEditor.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/propertyeditor/PrincipalEditor.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.propertyeditor;
 
 import java.beans.PropertyEditorSupport;

Modified: trunk/security/src/main/org/jboss/security/propertyeditor/SecurityDomainEditor.java
===================================================================
--- trunk/security/src/main/org/jboss/security/propertyeditor/SecurityDomainEditor.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/propertyeditor/SecurityDomainEditor.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.propertyeditor;
 
 import java.beans.PropertyEditorSupport;

Modified: trunk/security/src/main/org/jboss/security/ssl/ClientSocketFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/ssl/ClientSocketFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/ssl/ClientSocketFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.ssl;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/security/ssl/Context.java
===================================================================
--- trunk/security/src/main/org/jboss/security/ssl/Context.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/ssl/Context.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.ssl;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/security/ssl/DomainServerSocket.java
===================================================================
--- trunk/security/src/main/org/jboss/security/ssl/DomainServerSocket.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/ssl/DomainServerSocket.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,8 +1,8 @@
 /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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

Modified: trunk/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,8 +1,8 @@
 /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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

Modified: trunk/security/src/main/org/jboss/security/ssl/DomainSocketFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/ssl/DomainSocketFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/ssl/DomainSocketFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,314 +1,314 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.ssl;
-
-import java.io.IOException;
-import java.io.Serializable;
-import java.net.InetAddress;
-import java.net.InetSocketAddress;
-import java.net.Socket;
-import java.net.UnknownHostException;
-import java.util.Arrays;
-import java.util.Hashtable;
-import javax.naming.InitialContext;
-import javax.net.SocketFactory;
-import javax.net.ssl.HandshakeCompletedEvent;
-import javax.net.ssl.HandshakeCompletedListener;
-import javax.net.ssl.SSLContext;
-import javax.net.ssl.SSLSession;
-import javax.net.ssl.SSLSocket;
-import javax.net.ssl.SSLSocketFactory;
-
-import org.jboss.logging.Logger;
-import org.jboss.security.SecurityDomain;
-
-/**
- * An implementation of SocketFactory that creates SSL sockets using the 
- * JSSE SSLContext and a JBossSX SecurityDomain for the KeyManagerFactory 
- * and TrustManagerFactory objects.
- *
- * @see javax.net.ssl.SSLContext
- * @see org.jboss.security.SecurityDomain
- *
- * @author  Scott.Stark at jboss.org
- * @author <a href="mailto:reverbel at ime.usp.br">Francisco Reverbel</a>
- *
- * @version $Revision: 63217 $
- */
-public class DomainSocketFactory 
-   extends SSLSocketFactory
-   implements HandshakeCompletedListener, Serializable
-{
-   public static final String HANDSHAKE_COMPLETE_LISTENER =
-      "org.jboss.security.ssl.HandshakeCompletedListener";
-   /** @since 1.5.4.5 (4.0.4) */
-   private static final long serialVersionUID = -4471907598525153511L;
-   private static Logger log = Logger.getLogger(DomainSocketFactory.class);
-   private transient SecurityDomain securityDomain;
-   private transient SSLContext sslCtx = null;
-   private boolean wantsClientAuth = true;
-   private boolean needsClientAuth = false;
-
-   /** 
-    * A default constructor for use when created by Class.newInstance. The
-    * factory is not usable until its SecurityDomain has been established.
-    */
-   public DomainSocketFactory()
-   {
-   }
-
-   /** 
-    * Create a socket factory instance that uses the given SecurityDomain
-    * as the source for the SSL KeyManagerFactory and TrustManagerFactory.
-    */
-   public DomainSocketFactory(SecurityDomain securityDomain) 
-      throws IOException
-   {
-      if( securityDomain == null )
-         throw new IOException("The securityDomain may not be null");
-      this.securityDomain = securityDomain;
-   }
-
-   public SecurityDomain getSecurityDomain()
-   {
-      return securityDomain;
-   }
-
-   public void setSecurityDomain(SecurityDomain securityDomain)
-   {
-      this.securityDomain = securityDomain;
-   }
-
-   public boolean isWantsClientAuth()
-   {
-      return wantsClientAuth;
-   }
-   public void setWantsClientAuth(boolean wantsClientAuth)
-   {
-      this.wantsClientAuth = wantsClientAuth;
-   }
-
-   public boolean isNeedsClientAuth()
-   {
-      return needsClientAuth;
-   }
-   public void setNeedsClientAuth(boolean needsClientAuth)
-   {
-      this.needsClientAuth = needsClientAuth;
-   }
-
-   // SSLSocketFactory methods --------------------------------------
-
-   /** 
-    * Create a client socket connected to the specified host and port.
-    * 
-    * @param serverHost - the host name
-    * @param serverPort - the port number
-    * @return a socket connected to the specified host and port.
-    * @exception IOException if an I/O error occurs during socket creation.
-    */
-   public Socket createSocket(String serverHost, int serverPort)
-      throws IOException, UnknownHostException
-   {
-      InetAddress serverAddr = InetAddress.getByName(serverHost);
-      return this.createSocket(serverAddr, serverPort);
-   }
-
-   /** 
-    * Create a client socket connected to the specified host and port.
-    * 
-    * @param serverHost - the host name
-    * @param serverPort - the port number
-    * @param timeout the timeout value to be used in milliseconds
-    * @return a socket connected to the specified host and port.
-    * @exception IOException if an I/O error occurs during socket creation.
-    */
-   public Socket createSocket(String serverHost, int serverPort, int timeout)
-      throws IOException, UnknownHostException
-   {
-      InetAddress serverAddr = InetAddress.getByName(serverHost);
-      return this.createSocket(serverAddr, serverPort, timeout);
-   }
-
-   public Socket createSocket(String serverHost, int serverPort,
-                              InetAddress clientAddr, int clientPort)
-      throws IOException, UnknownHostException
-   {
-      InetAddress serverAddr = InetAddress.getByName(serverHost);
-      return this.createSocket(serverAddr, serverPort, clientAddr, clientPort);
-   }
-
-   public Socket createSocket(InetAddress serverAddr, int serverPort)
-      throws IOException
-   {
-      return this.createSocket(serverAddr, serverPort, null, 0);
-   }
-
-   public Socket createSocket(InetAddress serverAddr, int serverPort,
-                              InetAddress clientAddr, int clientPort)
-      throws IOException
-   {
-      initSSLContext();
-      SSLSocketFactory factory = sslCtx.getSocketFactory();
-      SSLSocket socket = 
-         (SSLSocket)factory.createSocket(serverAddr, serverPort, 
-                                         clientAddr, clientPort);
-      String[] supportedProtocols = socket.getSupportedProtocols();
-      log.debug("Supported protocols: " + Arrays.asList(supportedProtocols));
-      String[] protocols = supportedProtocols; // {"SSLv3"};
-      socket.setEnabledProtocols(protocols);
-      socket.addHandshakeCompletedListener(this);
-      socket.setNeedClientAuth(needsClientAuth);
-      socket.setWantClientAuth(wantsClientAuth);
-      return socket;
-   }
-
-   public Socket createSocket(InetAddress serverAddr, 
-                              int serverPort, int timeout)
-      throws IOException
-   {
-      initSSLContext();
-      SSLSocketFactory factory = sslCtx.getSocketFactory();
-      SSLSocket socket = (SSLSocket)factory.createSocket();
-      socket.connect(new InetSocketAddress(serverAddr, serverPort), timeout);
-      String[] supportedProtocols = socket.getSupportedProtocols();
-      log.debug("Supported protocols: " + Arrays.asList(supportedProtocols));
-      String[] protocols = supportedProtocols; // {"SSLv3"};
-      socket.setEnabledProtocols(protocols);
-      socket.addHandshakeCompletedListener(this);
-      socket.setNeedClientAuth(needsClientAuth);
-      socket.setWantClientAuth(wantsClientAuth);
-      return socket;
-   }
-
-   public Socket createSocket(Socket s, String host, 
-                              int port, boolean autoClose) 
-      throws IOException
-   {
-      initSSLContext();
-      SSLSocketFactory factory = sslCtx.getSocketFactory();
-      SSLSocket socket = 
-         (SSLSocket)factory.createSocket(s, host, port, autoClose);
-      String[] supportedProtocols = socket.getSupportedProtocols();
-      String[] protocols = supportedProtocols; // {"SSLv3"};
-      socket.setEnabledProtocols(protocols);
-      socket.addHandshakeCompletedListener(this);
-      socket.setNeedClientAuth(needsClientAuth);
-      socket.setWantClientAuth(wantsClientAuth);
-      return socket;
-   }
-
-   public String[] getDefaultCipherSuites()
-   {
-      String[] cipherSuites = {};
-      try
-      {
-         initSSLContext();
-         SSLSocketFactory factory = sslCtx.getSocketFactory();
-         cipherSuites = factory.getDefaultCipherSuites();
-      }
-      catch(IOException e)
-      {
-         log.error("Failed to get default SSLSocketFactory", e);
-      }      
-      return cipherSuites;
-   }
-   
-   public String[] getSupportedCipherSuites()
-   {
-      String[] cipherSuites = {};
-      try
-      {
-         initSSLContext();
-         SSLSocketFactory factory = sslCtx.getSocketFactory();
-         cipherSuites = factory.getSupportedCipherSuites();
-      }
-      catch(IOException e)
-      {
-         log.error("Failed to get default SSLSocketFactory", e);
-      }      
-      return cipherSuites;
-   }
-   
-   /** 
-    * The default SocketFactory which looks to the java:/jaas/other
-    * security domain configuration.
-    */
-   public static SocketFactory getDefault()
-   {
-      DomainSocketFactory ssf = null;
-      try
-      {
-         InitialContext iniCtx = new InitialContext();
-         SecurityDomain sd = (SecurityDomain)iniCtx.lookup("java:/jaas/other");
-         ssf = new DomainSocketFactory(sd);
-      }
-      catch(Exception e)
-      {
-         log.error("Failed to create default SocketFactory", e);
-      }
-      return ssf;
-   }
-   
-   // HandshakeCompletedListener method -----------------------------
-
-   public void handshakeCompleted(HandshakeCompletedEvent event)
-   {
-      Logger log = Logger.getLogger(ClientSocketFactory.class);
-      if( log.isTraceEnabled() )
-      {
-         String cipher = event.getCipherSuite();
-         SSLSession session = event.getSession();
-         String peerHost = session.getPeerHost();
-         log.debug("SSL handshakeCompleted, cipher="+cipher
-            +", peerHost="+peerHost);
-      }
-
-      /* See if there is a HANDSHAKE_COMPLETE_LISTENER. This is not done from
-      within a priviledged action as access to the SSL session through the
-      callback is not considered an implementation detail.
-      */
-      try
-      {
-         Hashtable env = System.getProperties();
-         HandshakeCompletedListener listener =
-            (HandshakeCompletedListener) env.get(HANDSHAKE_COMPLETE_LISTENER);
-         if( listener != null )
-            listener.handshakeCompleted(event);
-      }
-      catch(Throwable e)
-      {
-         log.debug("Failed to foward handshakeCompleted", e);
-      }
-   }
-
-   // Private method ------------------------------------------------
-
-   private void initSSLContext()
-      throws IOException
-   {
-      if( sslCtx != null )
-         return;
-      sslCtx = Context.forDomain(securityDomain);
-   }
-
-}
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.ssl;
+
+import java.io.IOException;
+import java.io.Serializable;
+import java.net.InetAddress;
+import java.net.InetSocketAddress;
+import java.net.Socket;
+import java.net.UnknownHostException;
+import java.util.Arrays;
+import java.util.Hashtable;
+import javax.naming.InitialContext;
+import javax.net.SocketFactory;
+import javax.net.ssl.HandshakeCompletedEvent;
+import javax.net.ssl.HandshakeCompletedListener;
+import javax.net.ssl.SSLContext;
+import javax.net.ssl.SSLSession;
+import javax.net.ssl.SSLSocket;
+import javax.net.ssl.SSLSocketFactory;
+
+import org.jboss.logging.Logger;
+import org.jboss.security.SecurityDomain;
+
+/**
+ * An implementation of SocketFactory that creates SSL sockets using the 
+ * JSSE SSLContext and a JBossSX SecurityDomain for the KeyManagerFactory 
+ * and TrustManagerFactory objects.
+ *
+ * @see javax.net.ssl.SSLContext
+ * @see org.jboss.security.SecurityDomain
+ *
+ * @author  Scott.Stark at jboss.org
+ * @author <a href="mailto:reverbel at ime.usp.br">Francisco Reverbel</a>
+ *
+ * @version $Revision: 63217 $
+ */
+public class DomainSocketFactory 
+   extends SSLSocketFactory
+   implements HandshakeCompletedListener, Serializable
+{
+   public static final String HANDSHAKE_COMPLETE_LISTENER =
+      "org.jboss.security.ssl.HandshakeCompletedListener";
+   /** @since 1.5.4.5 (4.0.4) */
+   private static final long serialVersionUID = -4471907598525153511L;
+   private static Logger log = Logger.getLogger(DomainSocketFactory.class);
+   private transient SecurityDomain securityDomain;
+   private transient SSLContext sslCtx = null;
+   private boolean wantsClientAuth = true;
+   private boolean needsClientAuth = false;
+
+   /** 
+    * A default constructor for use when created by Class.newInstance. The
+    * factory is not usable until its SecurityDomain has been established.
+    */
+   public DomainSocketFactory()
+   {
+   }
+
+   /** 
+    * Create a socket factory instance that uses the given SecurityDomain
+    * as the source for the SSL KeyManagerFactory and TrustManagerFactory.
+    */
+   public DomainSocketFactory(SecurityDomain securityDomain) 
+      throws IOException
+   {
+      if( securityDomain == null )
+         throw new IOException("The securityDomain may not be null");
+      this.securityDomain = securityDomain;
+   }
+
+   public SecurityDomain getSecurityDomain()
+   {
+      return securityDomain;
+   }
+
+   public void setSecurityDomain(SecurityDomain securityDomain)
+   {
+      this.securityDomain = securityDomain;
+   }
+
+   public boolean isWantsClientAuth()
+   {
+      return wantsClientAuth;
+   }
+   public void setWantsClientAuth(boolean wantsClientAuth)
+   {
+      this.wantsClientAuth = wantsClientAuth;
+   }
+
+   public boolean isNeedsClientAuth()
+   {
+      return needsClientAuth;
+   }
+   public void setNeedsClientAuth(boolean needsClientAuth)
+   {
+      this.needsClientAuth = needsClientAuth;
+   }
+
+   // SSLSocketFactory methods --------------------------------------
+
+   /** 
+    * Create a client socket connected to the specified host and port.
+    * 
+    * @param serverHost - the host name
+    * @param serverPort - the port number
+    * @return a socket connected to the specified host and port.
+    * @exception IOException if an I/O error occurs during socket creation.
+    */
+   public Socket createSocket(String serverHost, int serverPort)
+      throws IOException, UnknownHostException
+   {
+      InetAddress serverAddr = InetAddress.getByName(serverHost);
+      return this.createSocket(serverAddr, serverPort);
+   }
+
+   /** 
+    * Create a client socket connected to the specified host and port.
+    * 
+    * @param serverHost - the host name
+    * @param serverPort - the port number
+    * @param timeout the timeout value to be used in milliseconds
+    * @return a socket connected to the specified host and port.
+    * @exception IOException if an I/O error occurs during socket creation.
+    */
+   public Socket createSocket(String serverHost, int serverPort, int timeout)
+      throws IOException, UnknownHostException
+   {
+      InetAddress serverAddr = InetAddress.getByName(serverHost);
+      return this.createSocket(serverAddr, serverPort, timeout);
+   }
+
+   public Socket createSocket(String serverHost, int serverPort,
+                              InetAddress clientAddr, int clientPort)
+      throws IOException, UnknownHostException
+   {
+      InetAddress serverAddr = InetAddress.getByName(serverHost);
+      return this.createSocket(serverAddr, serverPort, clientAddr, clientPort);
+   }
+
+   public Socket createSocket(InetAddress serverAddr, int serverPort)
+      throws IOException
+   {
+      return this.createSocket(serverAddr, serverPort, null, 0);
+   }
+
+   public Socket createSocket(InetAddress serverAddr, int serverPort,
+                              InetAddress clientAddr, int clientPort)
+      throws IOException
+   {
+      initSSLContext();
+      SSLSocketFactory factory = sslCtx.getSocketFactory();
+      SSLSocket socket = 
+         (SSLSocket)factory.createSocket(serverAddr, serverPort, 
+                                         clientAddr, clientPort);
+      String[] supportedProtocols = socket.getSupportedProtocols();
+      log.debug("Supported protocols: " + Arrays.asList(supportedProtocols));
+      String[] protocols = supportedProtocols; // {"SSLv3"};
+      socket.setEnabledProtocols(protocols);
+      socket.addHandshakeCompletedListener(this);
+      socket.setNeedClientAuth(needsClientAuth);
+      socket.setWantClientAuth(wantsClientAuth);
+      return socket;
+   }
+
+   public Socket createSocket(InetAddress serverAddr, 
+                              int serverPort, int timeout)
+      throws IOException
+   {
+      initSSLContext();
+      SSLSocketFactory factory = sslCtx.getSocketFactory();
+      SSLSocket socket = (SSLSocket)factory.createSocket();
+      socket.connect(new InetSocketAddress(serverAddr, serverPort), timeout);
+      String[] supportedProtocols = socket.getSupportedProtocols();
+      log.debug("Supported protocols: " + Arrays.asList(supportedProtocols));
+      String[] protocols = supportedProtocols; // {"SSLv3"};
+      socket.setEnabledProtocols(protocols);
+      socket.addHandshakeCompletedListener(this);
+      socket.setNeedClientAuth(needsClientAuth);
+      socket.setWantClientAuth(wantsClientAuth);
+      return socket;
+   }
+
+   public Socket createSocket(Socket s, String host, 
+                              int port, boolean autoClose) 
+      throws IOException
+   {
+      initSSLContext();
+      SSLSocketFactory factory = sslCtx.getSocketFactory();
+      SSLSocket socket = 
+         (SSLSocket)factory.createSocket(s, host, port, autoClose);
+      String[] supportedProtocols = socket.getSupportedProtocols();
+      String[] protocols = supportedProtocols; // {"SSLv3"};
+      socket.setEnabledProtocols(protocols);
+      socket.addHandshakeCompletedListener(this);
+      socket.setNeedClientAuth(needsClientAuth);
+      socket.setWantClientAuth(wantsClientAuth);
+      return socket;
+   }
+
+   public String[] getDefaultCipherSuites()
+   {
+      String[] cipherSuites = {};
+      try
+      {
+         initSSLContext();
+         SSLSocketFactory factory = sslCtx.getSocketFactory();
+         cipherSuites = factory.getDefaultCipherSuites();
+      }
+      catch(IOException e)
+      {
+         log.error("Failed to get default SSLSocketFactory", e);
+      }      
+      return cipherSuites;
+   }
+   
+   public String[] getSupportedCipherSuites()
+   {
+      String[] cipherSuites = {};
+      try
+      {
+         initSSLContext();
+         SSLSocketFactory factory = sslCtx.getSocketFactory();
+         cipherSuites = factory.getSupportedCipherSuites();
+      }
+      catch(IOException e)
+      {
+         log.error("Failed to get default SSLSocketFactory", e);
+      }      
+      return cipherSuites;
+   }
+   
+   /** 
+    * The default SocketFactory which looks to the java:/jaas/other
+    * security domain configuration.
+    */
+   public static SocketFactory getDefault()
+   {
+      DomainSocketFactory ssf = null;
+      try
+      {
+         InitialContext iniCtx = new InitialContext();
+         SecurityDomain sd = (SecurityDomain)iniCtx.lookup("java:/jaas/other");
+         ssf = new DomainSocketFactory(sd);
+      }
+      catch(Exception e)
+      {
+         log.error("Failed to create default SocketFactory", e);
+      }
+      return ssf;
+   }
+   
+   // HandshakeCompletedListener method -----------------------------
+
+   public void handshakeCompleted(HandshakeCompletedEvent event)
+   {
+      Logger log = Logger.getLogger(ClientSocketFactory.class);
+      if( log.isTraceEnabled() )
+      {
+         String cipher = event.getCipherSuite();
+         SSLSession session = event.getSession();
+         String peerHost = session.getPeerHost();
+         log.debug("SSL handshakeCompleted, cipher="+cipher
+            +", peerHost="+peerHost);
+      }
+
+      /* See if there is a HANDSHAKE_COMPLETE_LISTENER. This is not done from
+      within a priviledged action as access to the SSL session through the
+      callback is not considered an implementation detail.
+      */
+      try
+      {
+         Hashtable env = System.getProperties();
+         HandshakeCompletedListener listener =
+            (HandshakeCompletedListener) env.get(HANDSHAKE_COMPLETE_LISTENER);
+         if( listener != null )
+            listener.handshakeCompleted(event);
+      }
+      catch(Throwable e)
+      {
+         log.debug("Failed to foward handshakeCompleted", e);
+      }
+   }
+
+   // Private method ------------------------------------------------
+
+   private void initSSLContext()
+      throws IOException
+   {
+      if( sslCtx != null )
+         return;
+      sslCtx = Context.forDomain(securityDomain);
+   }
+
+}

Modified: trunk/security/src/main/org/jboss/security/ssl/RMISSLClientSocketFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/ssl/RMISSLClientSocketFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/ssl/RMISSLClientSocketFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.ssl;
 
 import java.io.IOException;

Modified: trunk/security/src/main/org/jboss/security/ssl/RMISSLServerSocketFactory.java
===================================================================
--- trunk/security/src/main/org/jboss/security/ssl/RMISSLServerSocketFactory.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/main/org/jboss/security/ssl/RMISSLServerSocketFactory.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.ssl;
 
 import java.io.IOException;

Modified: trunk/security/src/tests/org/jboss/test/LoginContextTestCase.java
===================================================================
--- trunk/security/src/tests/org/jboss/test/LoginContextTestCase.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/tests/org/jboss/test/LoginContextTestCase.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
 
 import java.util.Iterator;

Modified: trunk/security/src/tests/org/jboss/test/SunConfigParserTestCase.java
===================================================================
--- trunk/security/src/tests/org/jboss/test/SunConfigParserTestCase.java	2008-11-14 12:52:00 UTC (rev 81028)
+++ trunk/security/src/tests/org/jboss/test/SunConfigParserTestCase.java	2008-11-14 12:52:49 UTC (rev 81029)
@@ -1,24 +1,24 @@
 /*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.test;
 
 import java.io.InputStreamReader;




More information about the jboss-cvs-commits mailing list