@@ -0,0 +1,2219 @@
+/**%0A * Licensed to the Austrian Association for Software Tool Integration (AASTI)%0A * under one or more contributor license agreements. See the NOTICE file%0A * distributed with this work for additional information regarding copyright%0A * ownership. The AASTI licenses this file to you under the Apache License,%0A * Version 2.0 (the %22License%22); you may not use this file except in compliance%0A * with the License. You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.openengsb.core.api.security.model;%0A%0Aimport org.openengsb.core.api.Constants;%0Aimport org.openengsb.core.api.security.Credentials;%0Aimport org.openengsb.labs.delegation.service.Provide;%0A%0A@Provide(context = Constants.DELEGATION_CONTEXT_CREDENTIALS)%0Apublic class Password implements Credentials %7B%0A    private String value;%0A%0A    public Password(String value) %7B%0A        this.value = value;%0A    %7D%0A%0A    public Password() %7B%0A    %7D%0A%0A    public String getValue() %7B%0A        return value;%0A    %7D%0A%0A    public void setValue(String value) %7B%0A        this.value = value;%0A    %7D%0A%0A    public static Password wrap(String value) %7B%0A        return new Password(value);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        final int prime = 31;%0A        int result = 1;%0A        result = prime * result + ((value == null) ? 0 : value.hashCode());%0A        return result;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object obj) %7B%0A        if (this == obj) %7B%0A            return true;%0A        %7D%0A        if (obj == null) %7B%0A            return false;%0A        %7D%0A        if (getClass() != obj.getClass()) %7B%0A            return false;%0A        %7D%0A        Password other = (Password) obj;%0A        if (value == null) %7B%0A            if (other.value != null) %7B%0A                return false;%0A            %7D%0A        %7D else if (!value.equals(other.value)) %7B%0A            return false;%0A        %7D%0A        return true;%0A    %7D%0A%0A%7D%0A

Create a default password class in security api