Package | com.adobe.livecycle.ria.security.api |
Classe | public class SecurityConfig |
Héritage | SecurityConfig Object |
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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
.
Propriété | Défini par | ||
---|---|---|---|
baseUrl : String
The base URL which would be appended to all other URLs. | SecurityConfig | ||
constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | 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 |
Méthode | Défini par | ||
---|---|---|---|
Constructor. | SecurityConfig | ||
Indique si la propriété spécifiée d’un objet est définie. | Object | ||
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | ||
Indique si la propriété spécifiée existe et est énumérable. | Object | ||
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | ||
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | ||
Provides configuration details. | SecurityConfig | ||
Renvoie la valeur primitive de l’objet spécifié. | Object |
Constante | Défini par | ||
---|---|---|---|
PIN_ENABLED_PARAM_KEY : String = "enabled" [statique]
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" [statique]
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" [statique]
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" [statique]
A special value that specifies the HTTP request parameter key while requesting for a pin. | SecurityConfig | ||
PIN_RESPONSE_FORMAT : String = ".txt" [statique]
A special value that specifies the HTTP response format of a create, update, or delete pin HTTP request. | SecurityConfig |
baseUrl | propriété |
baseUrl:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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
.
Implémentation
public function get baseUrl():String
public function set baseUrl(value:String):void
currentUserServiceDestination | propriété |
currentUserServiceDestination:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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.
La valeur par défaut est /dataservices/messagebroker/amf.
Implémentation
public function get currentUserServiceDestination():String
public function set currentUserServiceDestination(value:String):void
loginUrl | propriété |
loginUrl:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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.
La valeur par défaut est /j_security_check.
Implémentation
public function get loginUrl():String
public function set loginUrl(value:String):void
logoutUrl | propriété |
logoutUrl:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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.
La valeur par défaut est /system/sling/logout.
Implémentation
public function get logoutUrl():String
public function set logoutUrl(value:String):void
maxAge | propriété |
maxAge:int
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The duration in seconds for which a pin is valid.
La valeur par défaut est 7200.
Implémentation
public function get maxAge():int
public function set maxAge(value:int):void
maxUse | propriété |
maxUse:int
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The maximum number of times a pin can be used.
La valeur par défaut est 4.
Implémentation
public function get maxUse():int
public function set maxUse(value:int):void
operationName | propriété |
operationName:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The name of the operation invoked on the Remoting destination used to fetch the user details.
La valeur par défaut est getCurrentUserAsMap.
Implémentation
public function get operationName():String
public function set operationName(value:String):void
pinServletUrl | propriété |
pinServletUrl:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The URL of pin servlet which creates, updates, or deletes a pin.
La valeur par défaut est /libs/cq/security/content/pin.
Implémentation
public function get pinServletUrl():String
public function set pinServletUrl(value:String):void
securedServletChannelUrl | propriété |
securedServletChannelUrl:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The Data Services AMF channel URL used for secured connections.
La valeur par défaut est /dataservices/messagebroker/amfsecure.
Implémentation
public function get securedServletChannelUrl():String
public function set securedServletChannelUrl(value:String):void
servletChannelUrl | propriété |
servletChannelUrl:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The Data Services AMF channel URL.
La valeur par défaut est /dataservices/messagebroker/amf.
Implémentation
public function get servletChannelUrl():String
public function set servletChannelUrl(value:String):void
statusCheckUrl | propriété |
statusCheckUrl:String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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.
La valeur par défaut est /system/sling/loginstatus.
Implémentation
public function get statusCheckUrl():String
public function set statusCheckUrl(value:String):void
SecurityConfig | () | Constructeur |
public function SecurityConfig()
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
Constructor.
toString | () | méthode |
public function toString():String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
Provides configuration details.
Valeur renvoyéeString — A string representation of the configuration.
|
PIN_ENABLED_PARAM_KEY | Constante |
public static const PIN_ENABLED_PARAM_KEY:String = "enabled"
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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 | Constante |
public static const PIN_MAXAGE_PARAM_KEY:String = "maxAge"
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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 | Constante |
public static const PIN_MAXUSE_PARAM_KEY:String = "maxUse"
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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 | Constante |
public static const PIN_REQUEST_PARAM_KEY:String = ":cqpin"
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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 | Constante |
public static const PIN_RESPONSE_FORMAT:String = ".txt"
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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, 09:30 AM Z