Skip to content

Commit 5eb98cd

Browse files
committed
Add @SInCE tags
1 parent c4f912a commit 5eb98cd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

cloudplatform/connectivity-oauth/pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
<dependency>
4949
<groupId>com.sap.cloud.sdk.cloudplatform</groupId>
5050
<artifactId>connectivity-ztis</artifactId>
51-
<!-- ztis brings some dependencies we don't want for applications that don't need it -->
51+
<!-- connectivity-ztis brings some dependencies we don't want for applications that don't need it.
52+
Setting this to optional means ztis won't come transitively when including oauth.
53+
Users will have to include ztis manually. -->
5254
<optional>true</optional>
5355
</dependency>
5456
<dependency>

cloudplatform/connectivity-ztis/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/ZeroTrustIdentityService.java

+5
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040

4141
/**
4242
* Implementation to access X.509 certificates provided by the Zero Trust Identity Service (ZTIS).
43+
*
44+
* @since 5.7.0
4345
*/
4446
@Beta
4547
@Slf4j
@@ -137,6 +139,7 @@ X509Svid getX509Svid()
137139
* equivalent to calling {@link #getX509Svid()} with {@link X509Svid#getSpiffeId()}.
138140
*
139141
* @return The SPIFFE ID.
142+
* @since 5.7.0
140143
*/
141144
@Nonnull
142145
public String getSpiffeId()
@@ -148,6 +151,7 @@ public String getSpiffeId()
148151
* Returns the app identifier assigned to the app via the Zero Trust Identity service binding.
149152
*
150153
* @return The app identifier.
154+
* @since 5.7.0
151155
*/
152156
@Nonnull
153157
public Option<String> getAppIdentifier()
@@ -167,6 +171,7 @@ public Option<String> getAppIdentifier()
167171
* KeyStore is cached and will be reloaded if the certificate expires.
168172
*
169173
* @return a KeyStore containing the X.509 certificate and key.
174+
* @since 5.7.0
170175
*/
171176
@Nonnull
172177
public KeyStore getOrCreateKeyStore()

0 commit comments

Comments
 (0)