]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/core/AuthenticationProvidersRegister.java
Merge https://www.argeo.org/bugzilla/show_bug.cgi?id=141
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / core / AuthenticationProvidersRegister.java
index bd14659c82cd1d8ac405316273b1eee0806f1c89..317815e8b33de454ef7cbf0e620e6fc68f9ae00f 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.argeo.security.core;
 
 import java.util.ArrayList;
@@ -21,15 +36,15 @@ public class AuthenticationProvidersRegister implements InitializingBean {
        public void register(Object authenticationProvider,
                        Map<String, String> parameters) {
                providers.add(authenticationProvider);
-               if (log.isDebugEnabled())
-                       log.debug("Registered authentication provider " + parameters);
+               if (log.isTraceEnabled())
+                       log.trace("Registered authentication provider " + parameters);
        }
 
        public void unregister(Object authenticationProvider,
                        Map<String, String> parameters) {
                providers.remove(authenticationProvider);
-               if (log.isDebugEnabled())
-                       log.debug("Unregistered authentication provider " + parameters);
+               if (log.isTraceEnabled())
+                       log.trace("Unregistered authentication provider " + parameters);
        }
 
        public List<Object> getProviders() {