Go to main content
1/9
Contents
Title and Copyright Information
Preface
Intended Audience
How to Use This Guide
Documentation Accessibility
Related Documents
Conventions
What's New in This Guide
New and Changed Features for Release 12
c
(12.1.3)
New and Changed Features for Release 12
c
(12.1.2)
1
Understanding Policies and Assertions
Predefined Policies and Assertions
Creating Policies
About Custom Assertions
Policies, Assertions, Expressions, and Operators
Supported Custom Assertion Categories
Rules for Binding of Custom Assertions
Life Cycle of a Custom Assertion
Types of Custom Assertions
Simple Assertions
Multi-Element Simple Assertions
2
Creating Custom Assertions
Naming Conventions for Policies and Assertions
Developing Custom Assertions for Web Service
Step 1: Create the Custom Assertion Executor
Step 2: Create the Custom Policy File
Step 3: Specify the Custom Assertion Executor
Step 4: Create the JAR File
Step 5: Add the Custom Policy to the Policy Store
Step 6: Deploy the Custom Assertion
Step 7: Attach the Custom Policy to a Web Service
Testing the Web Service
3
Stepping Through Sample Custom Assertions
Overview
IP Address Validation Custom Assertion Sample
Code Samples
Running This Sample
Encryption and Decryption Custom Assertion Sample
Code Samples
Running the Sample
Authentication Custom Assertion Sample
Code Samples
Running the Sample
4
Implementing Advanced Features in Custom Assertions
Inputting Parameters to Custom Assertions
Accessing OWSM Context Properties
Accessing Request, Response, and Fault Message Objects
Accessing Parts of a Message Using XPath
Accessing Certificates Used by Container for SSL
Accessing Transport Properties
Accessing CSF Keys
Handling Exceptions in Custom Assertions
A
Schema Reference for Custom Assertions
Graphical Representation
Element Descriptions
wsp:Policy
Attributes
Example
orasp:Assertion
Attributes
Example
orawsp:bindings
Example
orawsp:Implementation
Example
orawsp:Config
Attributes
Example
orawsp:PropertySet
Attributes
Example
orawsp:Property
Attributes
Example
orawsp:Description
Example
orawsp:Value
Example
Scripting on this page enhances content navigation, but does not change the content in any way.