/*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.user.server;
/**
* Constants for User/Profile/Preferences API.
*
* @author Yevhenii Voevodin
* @author Max Shaposhnik
*/
public final class Constants {
/** Profile link relationships. */
public static final String LINK_REL_CURRENT_PROFILE = "current_profile";
public static final String LINK_REL_CURRENT_PROFILE_ATTRIBUTES = "current_profile.attributes";
public static final String LINK_REL_PROFILE = "profile";
public static final String LINK_REL_PROFILE_ATTRIBUTES = "profile.attributes";
/** User links relationships. */
public static final String LINK_REL_USER = "user";
public static final String LINK_REL_CURRENT_USER = "current_user";
public static final String LINK_REL_CURRENT_USER_PASSWORD = "current_user.password";
public static final String LINK_REL_CURRENT_USER_SETTINGS = "current_user.settings";
/** Preferences links relationships. */
public static final String LINK_REL_PREFERENCES = "preferences";
public static final String LINK_REL_SELF = "self";
public static final int ID_LENGTH = 16;
public static final int PASSWORD_LENGTH = 10;
private Constants() {}
}