/*
 * $Header: /home/cvspublic/jakarta-slide/proposals/tamino/src/urm/org/apache/slide/urm/common/URMConstants.java,v 1.4 2005/03/02 10:53:35 eckehard Exp $
 * $Revision: 1.4 $
 * $Date: 2005/03/02 10:53:35 $
 *
 * ====================================================================
 *
 * Copyright 1999-2004 The Apache Software Foundation.
 *
 * 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
 *
 * 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.apache.slide.urm.common;

/**
 * All commonly used constants must go here.
 *
 * @author eckehard.hermann@softwareag.com
 * @author dieter.kessler@softwareag.com
 * @author zsolt.sasvarie@softwareag.com
 */
public class URMConstants {

    public static final String FACTORY_CLASS_ATTRIBUTE_NAME = "Class";
    
    // public static final String ROOT_USER = "root";
    
    //public static final String ADMIN_USER = "Administrator";
    
    public static final String URM_ROOT_ROLE = "URMRoot";
    
    public static final String URM_ADMIN_ROLE = "URMAdmin";
    
    public static final String URM_GUEST_ROLE = "URMGuest";
    
    public static final String URM_USER_ROLE = "URMUser";
    
    public static final String URM_ALL_ACTION = "ALLAction";
    
    public static final int ROLE = 1;

    public static final int USER = 2;

    public static final int GROUP = 3;
    
    public static final int ALL = 4;
    
    public static final int GRANT = 1;
    
    public static final int DENY = 0;
    
    public static final String GRANT_OVER_DENY = "GrantOverDeny";
    
    public static final String DENY_OVER_GRANT = "DenyOverGrant";
    
    public static final String PREDEFINED_ACTION = "predefinedAction";
}
