Data Power
Data Power
4
Datapower Appliance
• INPUT:
Data entering the processing rule.
• OUTPUT:
Data exiting the processing rule
• PIPE:
Identifies a context whose output is used as the input of the next action.
• NULL:
When used in output context, silently discards any data generated by the
action.
when used in Input context passes no message to the action. Such empty
input can be useful when executing a style sheet that does not require input.
Service Types
Encryption Decryption
plain text cipher text plain text
Asymmetric Key Encryption
• Two keys
• Public key: Published keys known to everyone
• Private key : Secret key known only by the recipient
• To set up SSL between client and appliance you need to perform the
following:
• Data power appliance needs to supply a cryptographic certificate
• Matching private key for certificate is maintained by appliance
• Configure an SSL server crypto profile with cryptographic objects linking
to certificate key pair
• verify the settings in the SSL proxy profile
• Client will validate the certificate presented by the appliance
• Appliance may request a certificate from client and validate
• Appliance may use certificate authority certificates to validate client
Verify SSL server proxy profile settings
• Authentication methods:
• Accept a SAML assertion with a valid signature
• Retrieve SAML assertions corresponding to a SAML browser
artifact
• Contact a SAML server for a SAML authentication statement
• Authorize methods:
• Generate a SAML authorization query
• Generate a SAML attribute query
LDAP
• LDAP : Lightweight Directory access protocol
• It is a networking protocol for communicating with directory
services over TCP/IP
• The LDAP protocol allows the storage and retrieval of
information on people, groups or objects from a centralized
X.500 directory server
• Based on the client/server model of computing
• X.500 enable information to be organized and queried using
LDAP from multiple web servers using a variety of attributes
• LDAP reduces system resources by including only a
functional subset of the original X.500 Directory Access
Protocol (DAP)
LDAP operations
• Bind to the LDAP server specified in the Host and port settings
• select or create an SSL Proxy profile
• Specify the Group DN of which the identity is a member
• Set the Bind DN, Bind Password for an LDAP query
• Use the Load Balancer Group to specify a cluster of LDAP
servers
• The LDAP Group Attribute is a string used to check for
membership in the Group DN of the identity
• The LDAP Search Scope and LDAP Search Filter are used to
refine the search in a LDAP query.
SLM
• SLM – Service Level Monitoring
• SLM is the process of measuring service quality
• Performance and availability relative to customer
expectations
• Reporting results and taking action ensure the quality
stays within agreed upon parameters defined by SLA
(service Level Agreement)
• Incoming traffic is filtered based on predefined criteria
• Policy is applied to selected messages
SLM in Data Power
• Service-level monitors (SLM) : Allows administrative
control over users and resource groups
• SLM Policy : Consists of one or more statements consisting
of restrictions
• Action can be taken when a restriction is violated
• An SLM is implemented by an SLM policy
• SLM Statement : Counts messages or measures message
execution duration
• Statements are processed sequentially in the order they are
configured
• SLM policy consists of one or more statements
Two Ways to configure SLM
• Method 1: During the configuration of a document processing
policy
• The SLM Rule action is configured as part of the document
policy
• In the web service proxy the SLM Rule action is a separate
icon in the policy editor
• In the multi protocol gateway, the SLM rule action is selected
from the advanced tab
Action Types
• Notify
Creates log message when action is fired
• Shape
Buffers requests to meet traffic threshold up to limit otherwise it will
reject
• Throttle
Reject outright
• New SLM actions can be defined to change log priority of logged message
SLM Schedule
An SLM schedule specifies a time period during which the
associated SLM policy statement is enforced
select Objects > Monitoring > SLM Schedule
Schedule Elements
• Week Days
Specifies days of the week when the SLM policy is
enforced
• Start Time
Start time is expressed in HH:MM:SS format
• Duration
Number of minutes that the schedule is enforced
SLM Policy
• Execute all statements : This causes the policy to execute all policy
statements regardless of what action those statements take
• Terminate all first action : This causes the policy to stop executing any
statement after the first statement that takes any action.
• Terminate at first reject : This causes the policy to stop executing any
statement after the first statement that rejects a message
Web sphere MQ Fundamentals
• A queue manager manages a container for messages sent
over a web sphere MQ network
• In a publish/subscribe model, queues represent a message
destination for messages organized in FIFO order
• Queue managers send messages over a communications link
known as a channel
• An MQ client such as FSH must poll the queue manager for
new messages
• The queue manager itself does not initiate connections to the
clients
Web sphere MQ message
Web sphere MQ message are divided into two parts:
• Message descriptor
contains message ID and control information
• Application data
Message payload
• Data contained within the message descriptor is encapsulated within
an <mqmd> header
Message metadata: contains information about the message
• Application data
Contains application- specific data such as an XML message
Transactions
• A transaction is a sequence of operations that either commit or
rollback their work
• A transaction rolls back if any one of the operations in the
transaction fails
• A transaction commits if all the operations in the transaction
succeed
• A local unit of work is defined as when only the queue
manager resources are being updated
• A global unit of work is defined as when resources of other
resource managers are also being updated
Provide Web sphere MQ Access
• dpwasjms://EastAddressSearchJMS/?RequestQ
ueue=BACK.PUT&ReplyQueue=BACK.GET
TIBCO EMS JMS support
• Data power supports JMS messaging to the
messaging support in TIBCO EMS
• The Back end URL also uses the TIBCO EMS object
to manage communication to a back end JMS service
Communicating to TIBCO EMS
• dptibems://EastAddressSearchTIBCO/?RequestQueu
e=BACK.GET&ReplyQueue=BACK.PUT
XSL
• <xsl:stylesheet version=“1.0”
• xmlns:xsl=http://www.w3.org/1999/XSL/Transform
• xmnls:dp=http://www.datapower.com/extensions
• xmnls:dpconfig=http://www.datapower.com/param/config
• extension-element-prefixes=“dp”
• exclude-result-prefixes=“dp dpconfig”>
ESB
• An enterprise service bus (ESB) is a software
architecture model used for designing and implementing the
interaction and communication between mutually interacting
software applications in service-oriented architecture (SOA).
As a software architecture model for distributed computing it
is a specialty variant of the more general client server software
architecture model and promotes agility and flexibility with
regards to communication and interaction between
applications
ESB
• An ESB transports the design concept of modern operating
systems to networks of disparate and independent computers. Like
concurrent operating systems an ESB caters for commodity services
in addition to adoption, translation and routing of a client request
to the appropriate answering service.
• The prime duties of an ESB are:
• Monitor and control routing of message exchange between services
• Resolve contention between communicating service components
• Control deployment and versioning of services
• Marshal use of redundant services
• Cater for commodity services like event handling, data
transformation and mapping, message and event queuing and
sequencing, security or exception handling, protocol conversion and
enforcing proper quality of communication service