⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 coreattributeconstants.java

📁 这是linux下ssl vpn的实现程序
💻 JAVA
字号:
package com.sslexplorer.core;


/**
 * Constants used for event attributes
 * 
 * @author Peter King <a href="mailto: peter@3sp.com">&lt;peter@3sp.com&gt;</a>
 * @author Brett Smith <a href="mailto: brett@3sp.com">&lt;brett@3sp.com&gt;</a>
 * @version $Revision: 1.31 $
 */
public class CoreAttributeConstants {

    /**
     * Generic attribute for IP address
     */
    public static final String EVENT_ATTR_IP_ADDRESS = "ipAddress";

    /**
     * Generic attribute for host
     */
    public static final String EVENT_ATTR_HOST = "host";

    /**
     * Generic attribute for host
     */
    public static final String EVENT_ATTR_SCHEME = "scheme";

    /**
     * Generic attribute for a event specific string message
     */
    public static final String EVENT_ATTR_MESSAGE = "message";
    
    /*
     * Web Forwards
     */
    
    /**
     * Web forward type 
     */
    public static final String EVENT_ATTR_WEB_FORWARD_TYPE = "webForwardType";
    
    /**
     * Web forward destination URL 
     */
    public static final String EVENT_ATTR_WEB_FORWARD_URL = "webForwardDestinationUrl";
    
    /**
     * Web forward category 
     */
    public static final String EVENT_ATTR_WEB_FORWARD_CATEGORY = "webForwardDestinationCategory";
    
    /**
     * Web forward authentication username
     */
    public static final String EVENT_ATTR_WEB_FORWARD_AUTH_USERNAME = "authenticationUsername";
    
    /**
     * Web forward prefered authentication scheme
     */
    public static final String EVENT_ATTR_WEB_FORWARD_PREFERED_AUTH_SCHEME = "preferredAuthenticationScheme";
    
    /**
     * Web forward form type
     */
    public static final String EVENT_ATTR_WEB_FORWARD_AUTH_FORM_TYPE = "formType";

    /**
     * Web forward form parameters
     */
    public static final String EVENT_ATTR_WEB_FORWARD_AUTH_FORM_PARAMETERS = "formParameters";
    
    /**
     * Replacement Web forward restrict to hosts
     */
    public static final String EVENT_ATTR_REPLACEMENT_WEB_FORWARD_RESTRICT_TO_HOSTS = "restrictToHosts";
    
    /**
     * Replacement Web forward encodeing
     */
    public static final String EVENT_ATTR_REPLACEMENT_WEB_FORWARD_ENCODEING = "encoding";
    
    /**
     * Reverse Web forward paths
     */
    public static final String EVENT_ATTR_REVERSE_WEB_FORWARD_PATHS = "paths";
    
    /**
     * Reverse Web forward active dns
     */
    public static final String EVENT_ATTR_REVERSE_WEB_FORWARD_ACTIVE_DNS = "activeDNS";
    
    /**
     * Reverse Web forward host header
     */
    public static final String EVENT_ATTR_REVERSE_WEB_FORWARD_HOST_HEADER = "hostHeader";

    /**
     * Reverse Web forward custom headers
     */
    public static final String EVENT_ATTR_REVERSE_WEB_FORWARD_CUSTOM_HEADERS = "customHeaders";

    /*
     * SSL Certificate
     */

    /**
     * Certificate Alias
     */
    public final static String EVENT_ATTR_CERTIFICATE_ALIAS = "alias";

    /**
     * Certificate Type
     */
    public final static String EVENT_ATTR_CERTIFICATE_TYPE = "type";
    
    /**
     * Certificate Host Name
     */
    public final static String EVENT_ATTR_CERTIFICATE_HOSTNAME = "hostname";
    
    /**
     * Certificate Organisation Unit
     */
    public final static String EVENT_ATTR_CERTIFICATE_ORGANISATIONAL_UNIT = "organisationalUnit";
    
    /**
     * Certificate Company
     */
    public final static String EVENT_ATTR_CERTIFICATE_COMPANY = "company";
    
     /**
     * Certificate Country Code
      */
    public final static String EVENT_ATTR_CERTIFICATE_COUNTRY_CODE = "countryCode";
    
    /**
     * Certificate Location
     */
    public final static String EVENT_ATTR_CERTIFICATE_LOCATION = "location";
    
    /**
     * Certificate state
     */
    public final static String EVENT_ATTR_CERTIFICATE_STATE = "state";
    
    /**
     * Certificate Key Store Type
     */
    public static final String EVENT_ATTR_CERTIFICATE_KEY_STORE_TYPE = "keyStoreType";
    
    /**
     * Certificate Key Algorithme
     */
    public static final String EVENT_ATTR_CERTIFICATE_KEY_ALGORITHME = "keyAlgorithme";
    
    /**
     * Certificate Key Bit Length
     */
    public static final String EVENT_ATTR_CERTIFICATE_KEY_BIT_LENGTH = "keyBitLength";
    
    
    /*
     * Extension
     */

    /**
     * Extension id
     */
    public static final String EVENT_ATTR_EXTENSION_ID = "extensionId";

    /**
     * Extension name
     */
    public static final String EVENT_ATTR_EXTENSION_NAME = "extensionName";
    
    /**
     * Extension version
     */
    public static final String EVENT_ATTR_EXTENSION_TYPE = "extensionType";
    
    /**
     * Extension version
     */
    public static final String EVENT_ATTR_EXTENSION_VERSION = "extensionVersion";

    /*
     * Application shortcuts
     */

    /**
     * Application id
     */
    public static final String EVENT_ATTR_APPLICATION_ID = "applicationId";

    /**
     * Application name
     */
    public static final String EVENT_ATTR_APPLICATION_NAME = "applicationName";

    /*
     * SSL Tunnels
     */

    /**
     * Tunnel tcp
     */
    public static final String EVENT_ATTR_TUNNEL_TYPE = "tunnelType";

    /**
     * Tunnel destination
     */
    public static final String EVENT_ATTR_TUNNEL_DESTINATION = "tunnelDestination";

    /**
     * Tunnel transport
     */
    public static final String EVENT_ATTR_TUNNEL_TRANSPORT = "tunnelTransport";
    
    /**
     * Source port
     */
    public static final String EVENT_ATTR_TUNNEL_SOURCE_PORT = "tunnelSourcePort";
    
    /*
     * VFS
     */
    
    /**
     * VFS Uri 
     */
    public static final String EVENT_ATTR_VFS_URI = "VfsUri";
    
    /**
     * VFS Upload Source 
     */
    public static final String EVENT_ATTR_VFS_UPLOAD_DESTINATION_URI = "VfsUploadDestinationUri";

    /**
     * VFS Upload Source 
     */
    public static final String EVENT_ATTR_VFS_UPLOAD_DESTINATION_PATH = "VfsUploadDestinationPath";

    /**
     * VFS read only
     */
    public static final String EVENT_ATTR_VFS_READ_ONLY = "VfsReadOnly";

    /**
     * VFS show hidden
     */
    public static final String EVENT_ATTR_VFS_SHOW_HIDDEN = "VfsShowHidden";

    /**
     * VFS Allow recursive
     */
    public static final String EVENT_ATTR_VFS_ALLOW_RECURSIVE = "VfsAllowRecursive";

    /**
     * VFS no delete
     */
    public static final String EVENT_ATTR_VFS_NO_DELETE = "VfsNoDelete";

    /**
     * VFS path within the Uri 
     */
    public static final String EVENT_ATTR_VFS_PATH = "VfsPath";
    
    /**
     * VFS file name 
     */
    public static final String EVENT_ATTR_VFS_FILE_NAME = "VfsFileName";
    
    /**
     * VFS directory name 
     */
    public static final String EVENT_ATTR_VFS_DIRECTORY_NAME = "VfsDirectoryName";

    /**
     * VFS is cut or copy operation 
     */
    public static final String EVENT_ATTR_VFS_OPERATION = "VfsOperation";

    /**
     * vfs re-name old name
     */
    public static final String EVENT_ATTR_VFS_OLD_NAME = "VfsOldName";

    /**
     * vfs re-name new name
     */
    public static final String EVENT_ATTR_VFS_NEW_NAME = "VfsNewName";

    /**
     * vfs user agent
     */
    public static final String EVENT_ATTR_VFS_USER_AGENT = "VfsUserAgent";
    /*
     * IP Restrictions
     */
    
    /**
     * IP Restriction Id
     */
    public static final String EVENT_ATTR_IP_RESTRICTION_ID = "ipRestrictionId";
    
    /**
     * IP Restriction Address
     */
    public static final String EVENT_ATTR_IP_RESTRICTION_ADDRESS = "ipRestrictionAddress";
    
    /**
     * IP Restriction is allowed access
     */
    public static final String EVENT_ATTR_IP_RESTRICTION_IS_AUTHORIZED = "ipRestrictionIsAuthorized";

    
    /*
     * Generic resource update constants
     */

    /**
     * Resource ID
     */
    public static final String EVENT_ATTR_RESOURCE_ID = "resourceId";

    /**
     * Resource name
     */
    public static final String EVENT_ATTR_RESOURCE_NAME = "resourceName";

    /**
     * Resource description
     */
    public static final String EVENT_ATTR_RESOURCE_DESCRIPTION = "resourceDescription";

    /**
     * Parent Resource Permission
     */
    public static final String EVENT_ATTR_PARENT_RESOURCE_PERMISSION = "parentResourcePermission";
    
    /**
     * Parent Resource Permission
     */
    public static final String EVENT_ATTR_TYPE_PERMISSION = "typePermission";
    
    /**
     * If the resource is an {@link com.sslexplorer.policyframework.OwnedResource}
     * then this key stores the owner username
     */
    public static final String EVENT_ATTR_RESOURCE_OWNER = "resourceOwner";

    /**
     * Resource type ID
     */

    public static final String EVENT_ATTR_RESOURCE_TYPE_ID = "resourceTypeId";

    /**
     * Policy ID
     */
    public static final String EVENT_ATTR_POLICY_ID = "policyId";

    /**
     * Policy name
     */
    public static final String EVENT_ATTR_POLICY_NAME = "policyName";

    /**
     * Policy description
     */
    public static final String EVENT_ATTR_POLICY_DESCRIPTION = "policyDescription";
    
    /*
     * Account editing
     */

    /**
     * Generic principal ID (group id or account id)
     */
    public final static String EVENT_ATTR_PRINCIPAL_ID = "principalId";

    /**
     * Generic principal type (group or account)
     */
    public static final String EVENT_ATTR_PRINCIPAL_TYPE = "principalType";

    /**
     * Group for account
     */
    public static final String EVENT_ATTR_GROUP = "group";
    
    /**
     * Account for group
     */
    public static final String EVENT_ATTR_ACCOUNT = "account";
    
    
    
    /**
     * Account full name
     */
    public static final String EVENT_ATTR_FULL_NAME = "fullName";
    
    /**
     * Account email address
     */
    public static final String EVENT_ATTR_ACCOUNT_EMAIL = "accountEmail";
    
    /**
     * Account is enabled
     */
    public static final String EVENT_ATTR_ACCOUNT_IS_ENABLED = "accountIsEnabled";
    
    /**
     * Old value of changed property
     */
    public static final String EVENT_ATTR_PROPERTY_OLD_VALUE = "oldPropertyValue";
    
    /**
     * New value of changed property
     */
    public static final String EVENT_ATTR_PROPERTY_NEW_VALUE = "newPropertyValue";
    
    /**
     * Name of property change has changed
     */
    public static final String EVENT_ATTR_PROPERTY_NAME = "propertyName";
    
    /*
     * Property changes
     */
    
    /*
     * Other
     */
    
    /**
     * Exception message
     */
    public static final String EVENT_ATTR_EXCEPTION_MESSAGE = "exceptionMessage";

    
    /**
     * Type of replacement
     */
    public static final String EVENT_ATTR_REPLACEMENT_TYPE = "replacementType";
    
    /**
     * Pattern for replacement
     */
    public static final String EVENT_ATTR_REPLACEMENT_PATTERN = "replacementPattern";
    
    /**
     * Sequence of replacement
     */
    public static final String EVENT_ATTR_REPLACEMENT_SEQUENCE = "replacementSequence";
    
    /**
     * Date of last PIN number change
     */
    public static final String EVENT_ATTR_LAST_PIN_CHANGE = "lastPinChange";

    /**
     * Username whose attributes have changed
     */
    public static final String EVENT_ATTR_USER_ATTRIBUTE_USER = "userAttributeUser";

    /**
     * Role id
     */
    public static final String EVENT_ATTR_ROLE_ID = "roleId";
    
    /*
     * Messaging
     */
    
    /**
     * Comma separated list of recipients
     */
    public static final String EVENT_ATTR_MESSAGE_ID = "messageId";
    
    /**
     * Comma separated list of user recipients
     */
    public static final String EVENT_ATTR_MESSAGE_USER_RECIPIENTS = "messageUserRecipients";
    
    /**
     * Comma separated list of role recipients
     */
    public static final String EVENT_ATTR_MESSAGE_ROLE_RECIPIENTS = "messageRoleRecipients";
    
    /**
     * Comma separated list of policy recipients
     */
    public static final String EVENT_ATTR_MESSAGE_POLICY_RECIPIENTS = "messagePolicyRecipients";
    
    /**
     * Boolean indiciating if the message is urgent or not
     */
    public static final String EVENT_ATTR_MESSAGE_URGENT = "messageUrgent";
    
    /**
     * Text of message subject
     */
    public static final String EVENT_ATTR_MESSAGE_SUBJECT = "messageSubject";

    /**
     * Property profile name.
     */
    public static final String EVENT_ATTR_PROPERTY_PROFILE_NAME = "profileName";

    /**
     * Property profile description
     */
    public static final String EVENT_ATTR_PROPERTY_PROFILE_DESCRIPTION = "profileDescription";
    
    /**
     * The authentication schemes modules.
     */
    public static final String EVENT_ATTR_AUTHENTICATION_MODULE = "authenticationModule";
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -