Added missing license headers
diff --git a/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/CdiQuickStart.java b/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/CdiQuickStart.java
index dbfa568..d8c871c 100644
--- a/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/CdiQuickStart.java
+++ b/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/CdiQuickStart.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.samples.cdi;
 
 
diff --git a/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/RealmProducer.java b/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/RealmProducer.java
index 91bfd90..409d309 100644
--- a/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/RealmProducer.java
+++ b/samples/cdi-core/src/main/java/org/apache/shiro/samples/cdi/RealmProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.samples.cdi;
 
 
diff --git a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/AuthenticationStrategyProducer.java b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/AuthenticationStrategyProducer.java
index ef1c976..e39926c 100644
--- a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/AuthenticationStrategyProducer.java
+++ b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/AuthenticationStrategyProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.producers;
 
 import org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy;
diff --git a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/EventBusProducer.java b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/EventBusProducer.java
index 4c56d89..0a9cb5e 100644
--- a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/EventBusProducer.java
+++ b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/EventBusProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.producers;
 
 import org.apache.shiro.event.support.DefaultEventBus;
diff --git a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionFactoryProducer.java b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionFactoryProducer.java
index f0984c3..5abaf3e 100644
--- a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionFactoryProducer.java
+++ b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionFactoryProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.producers;
 
 import org.apache.shiro.session.mgt.SessionFactory;
diff --git a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionStorageEvaluatorProducer.java b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionStorageEvaluatorProducer.java
index 473a11e..eab38b9 100644
--- a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionStorageEvaluatorProducer.java
+++ b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SessionStorageEvaluatorProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.producers;
 
 import org.apache.shiro.mgt.DefaultSessionStorageEvaluator;
diff --git a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectDaoProducer.java b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectDaoProducer.java
index aa3a6d5..2ebcb82 100644
--- a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectDaoProducer.java
+++ b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectDaoProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.producers;
 
 import org.apache.shiro.mgt.DefaultSubjectDAO;
diff --git a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectProducer.java b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectProducer.java
index cd28db6..0048d33 100644
--- a/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectProducer.java
+++ b/support/cdi/cdi-base/src/main/java/org/apache/shiro/cdi/producers/SubjectProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.producers;
 
 import org.apache.shiro.SecurityUtils;
diff --git a/support/cdi/cdi-core/src/main/java/org/apache/shiro/cdi/core/producers/SecurityManagerProducer.java b/support/cdi/cdi-core/src/main/java/org/apache/shiro/cdi/core/producers/SecurityManagerProducer.java
index 94e5272..f14a548 100644
--- a/support/cdi/cdi-core/src/main/java/org/apache/shiro/cdi/core/producers/SecurityManagerProducer.java
+++ b/support/cdi/cdi-core/src/main/java/org/apache/shiro/cdi/core/producers/SecurityManagerProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.core.producers;
 
 import org.apache.shiro.authc.pam.AuthenticationStrategy;
diff --git a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/CdiWebEnvironment.java b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/CdiWebEnvironment.java
index 32e76f7..e2d3374 100644
--- a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/CdiWebEnvironment.java
+++ b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/CdiWebEnvironment.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.web;
 
 import org.apache.shiro.mgt.SecurityManager;
diff --git a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/NativeSessions.java b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/NativeSessions.java
index 244de28..189dbcf 100644
--- a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/NativeSessions.java
+++ b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/NativeSessions.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.web;
 
 import javax.inject.Qualifier;
diff --git a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/ServletContainerSessions.java b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/ServletContainerSessions.java
index f2d843d..88dccd8 100644
--- a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/ServletContainerSessions.java
+++ b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/ServletContainerSessions.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.web;
 
 import javax.inject.Qualifier;
diff --git a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/Web.java b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/Web.java
index 8170c7d..67a8ac7 100644
--- a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/Web.java
+++ b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/Web.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.web;
 
 import javax.inject.Qualifier;
diff --git a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSecurityManagerProducer.java b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSecurityManagerProducer.java
index 9fc78fd..68b0367 100644
--- a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSecurityManagerProducer.java
+++ b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSecurityManagerProducer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.web.producers;
 
 import org.apache.shiro.authc.pam.AuthenticationStrategy;
diff --git a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSessionManagerProvider.java b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSessionManagerProvider.java
index fd69248..18ded3a 100644
--- a/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSessionManagerProvider.java
+++ b/support/cdi/cdi-web/src/main/java/org/apache/shiro/cdi/web/producers/WebSessionManagerProvider.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.apache.shiro.cdi.web.producers;
 
 import org.apache.shiro.cdi.web.ServletContainerSessions;