/*
 *  Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *  WSO2 Inc. 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.wso2.carbon.uuf.spi.auth;


import java.io.Serializable;

public interface User extends Serializable {

    String getUsername();

    boolean hasPermission(String resourceUri, String action);

    int hashCode();

    boolean equals(Object obj);

    String toString();
}

@@ -751,197 +751,747 @@
 e;%0A%0A
-public interface User extends Serializable %7B%0A%0A    String getUsername();%0A%0A    boolean hasPermission(String resourceUri, String action);%0A%0A    int hashCode();%0A%0A    boolean equals(Object obj);%0A
+/**%0A * Represents an user.%0A *%0A * @since 1.0.0%0A */%0Apublic interface User extends Serializable %7B%0A%0A    /**%0A     * Returns the username of this user.%0A     *%0A     * @return username of this user%0A     */%0A    String getUsername();%0A%0A    /**%0A     * Checks whether this user has the specified permission.%0A     * @param resourceUri resource of the permission to be checked%0A     * @param action action of the permission to be checked%0A     * @return %7B@code true%7D if this user has the permission, %7B@code false%7D if not%0A     */%0A    boolean hasPermission(String resourceUri, String action);%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    int hashCode();%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    boolean equals(Object obj);%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */
 %0A   

fix javadoc in User interface