diff options
author | Olivier Lamy <olamy@apache.org> | 2012-04-06 14:38:24 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-04-06 14:38:24 +0000 |
commit | 4db2a98ceb8fa63dd8b4c04218c8ad741367679f (patch) | |
tree | c32044aa379c378f8ec416f3929cec7e73f21f9e /redback-users | |
parent | e010f84d64ca2eb92127b0ffebde320be94c8b4f (diff) | |
download | archiva-4db2a98ceb8fa63dd8b4c04218c8ad741367679f.tar.gz archiva-4db2a98ceb8fa63dd8b4c04218c8ad741367679f.zip |
license headers fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310352 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'redback-users')
11 files changed, 178 insertions, 97 deletions
diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserManager.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserManager.java index 55eea3c61..489f4e152 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserManager.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserManager.java @@ -1,19 +1,22 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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 java.util.ArrayList; diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserQuery.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserQuery.java index 746b51685..632bfce14 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserQuery.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/AbstractUserQuery.java @@ -1,19 +1,22 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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. */ /** diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/Messages.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/Messages.java index e5727beac..5b2179115 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/Messages.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/Messages.java @@ -1,19 +1,22 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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 java.text.MessageFormat; diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/PermanentUserException.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/PermanentUserException.java index 025e443ac..b9d8cd805 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/PermanentUserException.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/PermanentUserException.java @@ -1,19 +1,22 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Codehaus. + * 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 * - * 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 * - * 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. + * 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. */ /** diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/User.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/User.java index 40a0ce8bd..a0d890374 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/User.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/User.java @@ -1,19 +1,22 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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 java.io.Serializable; diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManager.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManager.java index 41a02551e..fdb8e8cf3 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManager.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManager.java @@ -1,19 +1,22 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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 java.util.List; diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerException.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerException.java index e1826a658..ca8ce982e 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerException.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerException.java @@ -1,19 +1,22 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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. */ /** diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerListener.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerListener.java index 9da3a07b8..502e5217d 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerListener.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserManagerListener.java @@ -1,15 +1,37 @@ package org.codehaus.plexus.redback.users; +/* + * 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. + */ + /** - * UserManagerListener + * UserManagerListener * * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> * @version $Id$ */ public interface UserManagerListener { - public void userManagerInit( boolean freshDatabase ); - public void userManagerUserAdded( User user ); - public void userManagerUserRemoved( User user ); - public void userManagerUserUpdated( User user ); + void userManagerInit( boolean freshDatabase ); + + void userManagerUserAdded( User user ); + + void userManagerUserRemoved( User user ); + + void userManagerUserUpdated( User user ); } diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserNotFoundException.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserNotFoundException.java index 71d7f820e..b51c7ee30 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserNotFoundException.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserNotFoundException.java @@ -1,5 +1,24 @@ package org.codehaus.plexus.redback.users; +/* + * 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. + */ + /** * @author Jason van Zyl */ @@ -11,8 +30,7 @@ public class UserNotFoundException super( string ); } - public UserNotFoundException( String string, - Throwable throwable ) + public UserNotFoundException( String string, Throwable throwable ) { super( string, throwable ); } diff --git a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserQuery.java b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserQuery.java index 42f9d16f8..deb95cbf1 100644 --- a/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserQuery.java +++ b/redback-users/redback-users-api/src/main/java/org/codehaus/plexus/redback/users/UserQuery.java @@ -1,24 +1,27 @@ package org.codehaus.plexus.redback.users; /* - * Copyright 2001-2006 The Apache Software Foundation. + * 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 * - * 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 * - * 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. + * 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 java.util.Set; -import java.util.HashSet; import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; public interface UserQuery diff --git a/redback-users/redback-users-api/src/main/resources/org/codehaus/plexus/redback/users/messages.properties b/redback-users/redback-users-api/src/main/resources/org/codehaus/plexus/redback/users/messages.properties index c1ca0b89f..03de4eb60 100644 --- a/redback-users/redback-users-api/src/main/resources/org/codehaus/plexus/redback/users/messages.properties +++ b/redback-users/redback-users-api/src/main/resources/org/codehaus/plexus/redback/users/messages.properties @@ -1,3 +1,20 @@ +# 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. + password.encoder.no.such.algoritm=The specified algorithm {0} is not available in the JAAS Implementation of this JVM. password.encoder.unsupported.encoding=The UTF-8 Encoding is not available in the JAAS Implementation of this JVM. user.password.violation.missing=You must provide a password. |