Paket | com.adobe.livecycle.ria.security.api |
Klasse | public class SecurityConfig |
Vererbung | SecurityConfig Object |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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
.
Eigenschaft | Definiert von | ||
---|---|---|---|
baseUrl : String
The base URL which would be appended to all other URLs. | SecurityConfig | ||
constructor : Object
Ein Verweis auf das Klassenobjekt oder die Konstruktorfunktion für eine angegebene Objektinstanz. | 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 |
Methode | Definiert von | ||
---|---|---|---|
Constructor. | SecurityConfig | ||
Gibt an, ob für ein Objekt eine bestimmte Eigenschaft definiert wurde. | Object | ||
Gibt an, ob eine Instanz der Object-Klasse in der Prototypkette des Objekts vorhanden ist, das als Parameter angegeben wurde. | Object | ||
Gibt an, ob die angegebene Eigenschaft vorhanden ist und durchlaufen werden kann. | Object | ||
Legt die Verfügbarkeit einer dynamischen Eigenschaft für Schleifenoperationen fest. | Object | ||
Gibt die Stringdarstellung dieses Objekts zurück, formatiert entsprechend den Konventionen des Gebietsschemas. | Object | ||
Provides configuration details. | SecurityConfig | ||
Gibt den Grundwert des angegebenen Objekts zurück. | Object |
Konstante | Definiert von | ||
---|---|---|---|
PIN_ENABLED_PARAM_KEY : String = "enabled" [statisch]
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" [statisch]
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" [statisch]
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" [statisch]
A special value that specifies the HTTP request parameter key while requesting for a pin. | SecurityConfig | ||
PIN_RESPONSE_FORMAT : String = ".txt" [statisch]
A special value that specifies the HTTP response format of a create, update, or delete pin HTTP request. | SecurityConfig |
baseUrl | Eigenschaft |
baseUrl:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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
.
Implementierung
public function get baseUrl():String
public function set baseUrl(value:String):void
currentUserServiceDestination | Eigenschaft |
currentUserServiceDestination:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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.
Der Standardwert ist /dataservices/messagebroker/amf.
Implementierung
public function get currentUserServiceDestination():String
public function set currentUserServiceDestination(value:String):void
loginUrl | Eigenschaft |
loginUrl:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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.
Der Standardwert ist /j_security_check.
Implementierung
public function get loginUrl():String
public function set loginUrl(value:String):void
logoutUrl | Eigenschaft |
logoutUrl:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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.
Der Standardwert ist /system/sling/logout.
Implementierung
public function get logoutUrl():String
public function set logoutUrl(value:String):void
maxAge | Eigenschaft |
maxAge:int
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The duration in seconds for which a pin is valid.
Der Standardwert ist 7200.
Implementierung
public function get maxAge():int
public function set maxAge(value:int):void
maxUse | Eigenschaft |
maxUse:int
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The maximum number of times a pin can be used.
Der Standardwert ist 4.
Implementierung
public function get maxUse():int
public function set maxUse(value:int):void
operationName | Eigenschaft |
operationName:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The name of the operation invoked on the Remoting destination used to fetch the user details.
Der Standardwert ist getCurrentUserAsMap.
Implementierung
public function get operationName():String
public function set operationName(value:String):void
pinServletUrl | Eigenschaft |
pinServletUrl:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The URL of pin servlet which creates, updates, or deletes a pin.
Der Standardwert ist /libs/cq/security/content/pin.
Implementierung
public function get pinServletUrl():String
public function set pinServletUrl(value:String):void
securedServletChannelUrl | Eigenschaft |
securedServletChannelUrl:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The Data Services AMF channel URL used for secured connections.
Der Standardwert ist /dataservices/messagebroker/amfsecure.
Implementierung
public function get securedServletChannelUrl():String
public function set securedServletChannelUrl(value:String):void
servletChannelUrl | Eigenschaft |
servletChannelUrl:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The Data Services AMF channel URL.
Der Standardwert ist /dataservices/messagebroker/amf.
Implementierung
public function get servletChannelUrl():String
public function set servletChannelUrl(value:String):void
statusCheckUrl | Eigenschaft |
statusCheckUrl:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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.
Der Standardwert ist /system/sling/loginstatus.
Implementierung
public function get statusCheckUrl():String
public function set statusCheckUrl(value:String):void
SecurityConfig | () | Konstruktor |
public function SecurityConfig()
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Constructor.
toString | () | Methode |
PIN_ENABLED_PARAM_KEY | Konstante |
public static const PIN_ENABLED_PARAM_KEY:String = "enabled"
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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 | Konstante |
public static const PIN_MAXAGE_PARAM_KEY:String = "maxAge"
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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 | Konstante |
public static const PIN_MAXUSE_PARAM_KEY:String = "maxUse"
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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 | Konstante |
public static const PIN_REQUEST_PARAM_KEY:String = ":cqpin"
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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 | Konstante |
public static const PIN_RESPONSE_FORMAT:String = ".txt"
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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, 10:04 AM Z