/* * Copyright (c) 2010, 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.user.cassandra; public class CFConstants { public static final String KEYSPACE = "TN_KS"; public static final String UM_ROLES = "UM_ROLE"; public static final String UM_USER = "UM_USER"; public static final String USERNAME_INDEX = "USERNAME_INDEX"; public static final String PASSWORD_INDEX = "PASSWORD_INDEX"; public static final String USER_ID = "userId"; public static final String UM_USER_ROLE = "UM_USER_ROLE"; public static final String KEYSPACE_NAME_XML_ATTRIB = "Keyspace"; public static final String HOST_XML_ATTRIB = "Host"; public static final String PORT_XML_ATTRIB = "Port"; public static final String USERNAME_XML_ATTRIB = "username"; public static final String PASSWORD_XML_ATTRIB = "password"; public static final String IS_ACTIVE = "isActive"; public static final String DEFAULT_TYPE = "Default"; public static final String DEVICE_TYPE = "Device"; public static final String UM_USER_ATTRIBUTE = "UM_USER_ATTRIBUTE"; public static final String UM_USER_NAME = "UM_USER_NAME"; public static final String UM_USER_ID = "UM_USER_ID"; public static final String UM_TENANT_ID = "UM_TENANT_ID"; public static final String UM_REQUIRE_CHANGE_BOOLEAN = "UM_REQUIRE_CHANGE BOOLEAN"; public static final String UM_SALT_VALUE = "SaltValue"; public static final String UM_SECRET = "secret"; public static final String UM_ROLE_NAME = "UM_ROLE_NAME"; public static final String UM_ROLE_ID = "UM_ROLE_ID"; public static final String KEY = "KEY"; public static final String IDENTIFIER = "IDENTIFIER"; public static final String UM_ROLE_USER_INDEX = "UM_ROLE_USER_INDEX"; public static final String USERNAME_PROPERTY = "username"; public static final String PASSWORD_PROPERTY = "password"; public static final String UM_USER_NAME_INDEX = "UM_USER_NAME_INDEX"; public static final String AUTH_WITH_ANY_CREDENTIAL = "AuthenticateWithAnyCredential"; private CFConstants() { } }