| 包 | com.adobe.livecycle.ria.security.api |
| 类 | public class SecurityConfig |
| 继承 | SecurityConfig Object |
| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
SecurityConfig classcaptures the required configuration required for the security client library to function.
Various properties are provided in the class to capture portions of the URL information.
The baseUrl property contains the information of the host or server, port, and context root where the
Experience Server is deployed and the loginUrl property contains the relative path of login page.
For example, the baseUrl value to access the Experience Server can be http://myserver:4502/mycompany and
the login page can reside in /system/login. The two values appended together provide you the complete
URL of http://myserver:4502/mycompany/system/login.
| 属性 | 由以下参数定义 | ||
|---|---|---|---|
| baseUrl : String
The base URL which would be appended to all other URLs. | SecurityConfig | ||
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
| currentUserServiceDestination : String
The Data Services Remoting destination name used to fetch details about the user after the user has
authenticated successfully with the server. | SecurityConfig | ||
| loginUrl : String
The URL value used to log in to the Experience Server. | SecurityConfig | ||
| logoutUrl : String
The URL value used to log out of the Experience Server. | SecurityConfig | ||
| maxAge : int
The duration in seconds for which a pin is valid. | SecurityConfig | ||
| maxUse : int
The maximum number of times a pin can be used. | SecurityConfig | ||
| operationName : String
The name of the operation invoked on the Remoting destination used to fetch the user details. | SecurityConfig | ||
| pinServletUrl : String
The URL of pin servlet which creates, updates, or deletes a pin. | SecurityConfig | ||
| securedServletChannelUrl : String
The Data Services AMF channel URL used for secured connections. | SecurityConfig | ||
| servletChannelUrl : String
The Data Services AMF channel URL. | SecurityConfig | ||
| statusCheckUrl : String
The URL value used to determine the current status of user. | SecurityConfig | ||
| 方法 | 由以下参数定义 | ||
|---|---|---|---|
Constructor. | SecurityConfig | ||
![]() |
表示对象是否已经定义了指定的属性。 | Object | |
![]() |
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
表示指定的属性是否存在、是否可枚举。 | Object | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() |
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | |
Provides configuration details. | SecurityConfig | ||
![]() |
返回指定对象的原始值。 | Object | |
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| PIN_ENABLED_PARAM_KEY : String = "enabled" [静态]
A special value that specifies the HTTP request parameter key to enable a pin in a pin update request. | SecurityConfig | ||
| PIN_MAXAGE_PARAM_KEY : String = "maxAge" [静态]
A special that specifies the HTTP request parameter key name to set the maximum age (in seconds) for a pin in a pin update request. | SecurityConfig | ||
| PIN_MAXUSE_PARAM_KEY : String = "maxUse" [静态]
A special value that specifies the HTTP request parameter key name to set the maximum usage of a pin in a pin update request. | SecurityConfig | ||
| PIN_REQUEST_PARAM_KEY : String = ":cqpin" [静态]
A special value that specifies the HTTP request parameter key while requesting for a pin. | SecurityConfig | ||
| PIN_RESPONSE_FORMAT : String = ".txt" [静态]
A special value that specifies the HTTP response format of a create, update, or delete pin HTTP request. | SecurityConfig | ||
baseUrl | 属性 |
baseUrl:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The base URL which would be appended to all other URLs. In case of a Flex application running within a browser, this value is automatically detected. However, the base URL may require changes to when the context path of the Experience Server application changes.
When the Experience Server is deployed to a context root other than "/",then it is necessary for you to suffix
the baseURL value with /contextRoot. However, when you deploy to a folder under the context root of "/", it is not necessary.
For example:
- When the Experience Server is deployed to "
/", this the property value ishttp://server:port/ - When the Experience Server is deployed to a context root folder, such as "
ABC", the property value ishttp://server:port/ABC.
实现
public function get baseUrl():String public function set baseUrl(value:String):voidcurrentUserServiceDestination | 属性 |
currentUserServiceDestination:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The Data Services Remoting destination name used to fetch details about the user after the user has authenticated successfully with the server.
默认值为 /dataservices/messagebroker/amf。
实现
public function get currentUserServiceDestination():String public function set currentUserServiceDestination(value:String):voidloginUrl | 属性 |
loginUrl:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The URL value used to log in to the Experience Server. The value is a relative path to the the baseUrl property.
默认值为 /j_security_check。
实现
public function get loginUrl():String public function set loginUrl(value:String):voidlogoutUrl | 属性 |
logoutUrl:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The URL value used to log out of the Experience Server. The value is a relative path to the the baseUrl property.
默认值为 /system/sling/logout。
实现
public function get logoutUrl():String public function set logoutUrl(value:String):voidmaxAge | 属性 |
maxUse | 属性 |
operationName | 属性 |
operationName:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The name of the operation invoked on the Remoting destination used to fetch the user details.
默认值为 getCurrentUserAsMap。
实现
public function get operationName():String public function set operationName(value:String):voidpinServletUrl | 属性 |
pinServletUrl:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The URL of pin servlet which creates, updates, or deletes a pin.
默认值为 /libs/cq/security/content/pin。
实现
public function get pinServletUrl():String public function set pinServletUrl(value:String):voidsecuredServletChannelUrl | 属性 |
securedServletChannelUrl:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The Data Services AMF channel URL used for secured connections.
默认值为 /dataservices/messagebroker/amfsecure。
实现
public function get securedServletChannelUrl():String public function set securedServletChannelUrl(value:String):voidservletChannelUrl | 属性 |
servletChannelUrl:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The Data Services AMF channel URL.
默认值为 /dataservices/messagebroker/amf。
实现
public function get servletChannelUrl():String public function set servletChannelUrl(value:String):voidstatusCheckUrl | 属性 |
statusCheckUrl:String| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
The URL value used to determine the current status of user.
The value is a relative path to the the baseUrl property.
默认值为 /system/sling/loginstatus。
实现
public function get statusCheckUrl():String public function set statusCheckUrl(value:String):voidSecurityConfig | () | 构造函数 |
public function SecurityConfig()| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
Constructor.
toString | () | 方法 |
PIN_ENABLED_PARAM_KEY | 常量 |
public static const PIN_ENABLED_PARAM_KEY:String = "enabled"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
A special value that specifies the HTTP request parameter key to enable a pin in a pin update request.
PIN_MAXAGE_PARAM_KEY | 常量 |
public static const PIN_MAXAGE_PARAM_KEY:String = "maxAge"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
A special that specifies the HTTP request parameter key name to set the maximum age (in seconds) for a pin in a pin update request.
PIN_MAXUSE_PARAM_KEY | 常量 |
public static const PIN_MAXUSE_PARAM_KEY:String = "maxUse"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
A special value that specifies the HTTP request parameter key name to set the maximum usage of a pin in a pin update request.
PIN_REQUEST_PARAM_KEY | 常量 |
public static const PIN_REQUEST_PARAM_KEY:String = ":cqpin"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
A special value that specifies the HTTP request parameter key while requesting for a pin.
PIN_RESPONSE_FORMAT | 常量 |
public static const PIN_RESPONSE_FORMAT:String = ".txt"| 语言版本: | ActionScript 3.0 |
| 产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| 运行时版本: | AIR 2.6, Flash Player 10.2 |
A special value that specifies the HTTP response format of a create, update, or delete pin HTTP request.
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性