Class ConnectionProperties.TlsScope
java.lang.Object
de.xima.fc.persistence.ConnectionProperties.TlsScope
- Enclosing class:
ConnectionProperties
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of TLS scope. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(String serialized) Deserializes a TLS scope from a String representation.booleanThe subject of the TLS scope.getType()The type of TLS scope.inthashCode()Returns a serialized representation of the TLS scope in the format "TYPE:SUBJECT".system()Creates a TLS scope for the whole system.Creates a TLS scope for a specific tenant.toString()
-
Method Details
-
deserialize
Deserializes a TLS scope from a String representation.- Parameters:
serialized- The serialized TLS scope in the format "TYPE:SUBJECT".- Returns:
- The deserialized
ConnectionProperties.TlsScope.
-
system
Creates a TLS scope for the whole system.- Returns:
- A TLS scope for the whole system.
-
tenant
Creates a TLS scope for a specific tenant.- Parameters:
tenantId- The ID of the tenant.- Returns:
- A TLS scope for the specified tenant.
-
serialize
Returns a serialized representation of the TLS scope in the format "TYPE:SUBJECT".- Returns:
- The serialized TLS scope.
-
getType
The type of TLS scope. -
getSubject
-
equals
-
hashCode
-
toString
-