Adapt to CMS kernel
[lgpl/argeo-commons.git] / org.argeo.security.core / src / org / argeo / security / core / InternalAuthenticationProvider.java
index 0efabcde0fbe051259cd69fd61198a78ba46193d..4b7e047baecbd5fe0ee843bec8fbc670b4dad37f 100644 (file)
@@ -7,6 +7,13 @@ import org.springframework.security.core.AuthenticationException;
 public class InternalAuthenticationProvider implements AuthenticationProvider {
        private String key;
 
+       public InternalAuthenticationProvider() {
+       }
+
+       public InternalAuthenticationProvider(String key) {
+               this.key = key;
+       }
+
        @Override
        public Authentication authenticate(Authentication arg0)
                        throws AuthenticationException {