Example: com.ibm.wsspi.security.token.PropagationToken implementation
Use this file to see an example of a PropagationToken implementation. The following sample code does not extend an abstract class, but rather implements the com.ibm.wsspi.security.token.PropagationToken interface directly. You can implement the interface directly, but it might cause you to write duplicate code. However, you might choose to implement the interface directly if there are considerable differences between how you handle the various token implementations.
For information on how to implement a custom PropagationToken, see Implementing a custom PropagationToken.
Implementing a custom PropagationToken