Lines Matching defs:instance

25  * Interface defining the act of persisting, removing, or reading state corresponding to a published STS instance so that
26 * this instance may be reconstituted following a server restart, and so that the single token-generation-service can
27 * issue tokens with STS-instance-specific state (e.g. SAML2 configurations and crypto context).
36 * STS instance
37 * @param stsId The unique identifier for the STS instance. Currently obtained by calling RestSTSInstanceConfig#getDeploymentSubPath.
38 * @param realm The realm in which the sts instance should be deployed
39 * @param instance The to-be-persisted state.
41 void persistSTSInstance(String stsId, String realm, T instance) throws STSPublishException;
47 * @param realm the realm in which the sts instance was deployed. Necessary for SMS lookup.
52 * This method is called by the token generation service to obtain the STS-instance specific configurations -
53 * notably the SAML2Config and the KeystoreConfig - which allows it to issue STS-instance-specific tokens.
55 * @param stsId The identifier for the STS instance. Currently obtained by calling RestSTSInstanceConfig#getDeploymentSubPath.
58 * a particular Rest STS instance to the TokenGenerationService as well as constitute the most discriminating
59 * element in the DN referencing the STS instance state in the SMS/LDAP.
60 * @param realm the realm in which the sts instance was deployed. Necessary for SMS lookup.
66 * Updates attributes corresponding to the existing STS instance.
67 * @param stsInstanceId the identifier for the to-be-updated sts instance
68 * @param realm The realm of the sts instance
69 * @param instance the instance with the updated attributes
72 void updateSTSInstance(String stsInstanceId, String realm, T instance) throws STSPublishException;
95 * This method returns whether STS instance config referenced by the realm and id is present in the SMS. It is called
97 * to a previously-published instance
100 * @param realm the realm in which the sts instance was deployed. Necessary for SMS lookup.
101 * @return true if the instance is present