c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith# openam-sts-example-code
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith*Example Code for Programatically Publishing and Consuming OpenAM Security Token Service (STS) Instances*
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithThe sample code in this repository provides examples of how to consume and publish REST and SOAP STS instances programmatically. Tailor these examples as required for your own REST STS instances.
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithThe sample code in this section is not compilable, due to the fact that it uses classes that are not available publicly. The code provides patterns to developers familiar with the problem domain and is intended only to assist developers who want to programmatically consume REST and SOAP STS instances.
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithFor more information about how to consume and publish REST and SOAP STS instances programmatically, see the OpenAM *Developer's Guide*. For conceptual information about STS in OpenAM, and for information about how to configure and manager STS instances in OpenAM, see the OpenAM *Administration Guide*.
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith* * *
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithThe contents of this file are subject to the terms of the Common Development and
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithDistribution License (the License). You may not use this file except in compliance with the
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithLicense.
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithYou can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmithspecific language governing permission and limitations under the License.
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithWhen distributing Covered Software, include this CDDL Header Notice in each file and include
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmiththe License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithHeader, with the fields enclosed by brackets [] replaced by your own identifying
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmithinformation: "Portions copyright [year] [name of copyright owner]".
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David Goldsmith
c1bef59b02d89a84c23d29663cc4e6d46148ebd2David GoldsmithCopyright 2016 ForgeRock AS.