套件 | 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):void
currentUserServiceDestination | 屬性 |
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):void
loginUrl | 屬性 |
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):void
logoutUrl | 屬性 |
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):void
maxAge | 屬性 |
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):void
pinServletUrl | 屬性 |
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):void
securedServletChannelUrl | 屬性 |
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):void
servletChannelUrl | 屬性 |
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):void
statusCheckUrl | 屬性 |
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):void
SecurityConfig | () | 建構函式 |
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, 03:47 PM Z