diff --git a/applications/securityext/src/org/ofbiz/securityext/da/ServiceDaHandler.java b/applications/securityext/src/org/ofbiz/securityext/da/ServiceDaHandler.java index aa87c36346..5ba757ab97 100644 --- a/applications/securityext/src/org/ofbiz/securityext/da/ServiceDaHandler.java +++ b/applications/securityext/src/org/ofbiz/securityext/da/ServiceDaHandler.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.ofbiz.securityext.da; import java.util.Map; diff --git a/applications/securityext/testdef/da/DaTest1.groovy b/applications/securityext/testdef/da/DaTest1.groovy index 65bc12cff3..cd5a47fc46 100644 --- a/applications/securityext/testdef/da/DaTest1.groovy +++ b/applications/securityext/testdef/da/DaTest1.groovy @@ -1,3 +1,22 @@ +/******************************************************************************* + * 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. + *******************************************************************************/ + import org.ofbiz.base.util.Debug; String recordNumber = permission.substring(permission.lastIndexOf(":") + 1) diff --git a/framework/security/src/org/ofbiz/security/authz/AbtractAuthorization.java b/framework/security/src/org/ofbiz/security/authz/AbtractAuthorization.java index 7defe75a55..d191d3fcb2 100644 --- a/framework/security/src/org/ofbiz/security/authz/AbtractAuthorization.java +++ b/framework/security/src/org/ofbiz/security/authz/AbtractAuthorization.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.ofbiz.security.authz; import java.util.List; diff --git a/framework/security/src/org/ofbiz/security/authz/Authorization.java b/framework/security/src/org/ofbiz/security/authz/Authorization.java index 7681d79210..62d40c036d 100644 --- a/framework/security/src/org/ofbiz/security/authz/Authorization.java +++ b/framework/security/src/org/ofbiz/security/authz/Authorization.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.ofbiz.security.authz; import java.util.Map; diff --git a/framework/security/src/org/ofbiz/security/authz/EntityAuthorization.java b/framework/security/src/org/ofbiz/security/authz/EntityAuthorization.java index 7e0757cc06..73d17a66e6 100644 --- a/framework/security/src/org/ofbiz/security/authz/EntityAuthorization.java +++ b/framework/security/src/org/ofbiz/security/authz/EntityAuthorization.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.ofbiz.security.authz; import java.util.Iterator; diff --git a/framework/security/src/org/ofbiz/security/authz/da/DynamicAccess.java b/framework/security/src/org/ofbiz/security/authz/da/DynamicAccess.java index 1efd7440c5..ad5f76075b 100644 --- a/framework/security/src/org/ofbiz/security/authz/da/DynamicAccess.java +++ b/framework/security/src/org/ofbiz/security/authz/da/DynamicAccess.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.ofbiz.security.authz.da; import java.util.Map; diff --git a/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessFactory.java b/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessFactory.java index 5a8148e357..67542e72a5 100644 --- a/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessFactory.java +++ b/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessFactory.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.ofbiz.security.authz.da; import java.util.Set; diff --git a/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessHandler.java b/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessHandler.java index 253d6c556a..1164087229 100644 --- a/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessHandler.java +++ b/framework/security/src/org/ofbiz/security/authz/da/DynamicAccessHandler.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.ofbiz.security.authz.da; import java.util.Map; diff --git a/framework/security/src/org/ofbiz/security/authz/da/GroovyDaHandler.java b/framework/security/src/org/ofbiz/security/authz/da/GroovyDaHandler.java index 7685ecaee0..d05786b9e0 100644 --- a/framework/security/src/org/ofbiz/security/authz/da/GroovyDaHandler.java +++ b/framework/security/src/org/ofbiz/security/authz/da/GroovyDaHandler.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.ofbiz.security.authz.da; import java.util.Map; diff --git a/framework/security/src/org/ofbiz/security/authz/da/ObjectDaHandler.java b/framework/security/src/org/ofbiz/security/authz/da/ObjectDaHandler.java index 8630a7fe56..afa44989c1 100644 --- a/framework/security/src/org/ofbiz/security/authz/da/ObjectDaHandler.java +++ b/framework/security/src/org/ofbiz/security/authz/da/ObjectDaHandler.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.ofbiz.security.authz.da; import java.util.Map;