Package de.xima.fc.ldap
Class LdapConnectionConfig.TlsScope
- java.lang.Object
-
- de.xima.fc.ldap.LdapConnectionConfig.TlsScope
-
- Enclosing class:
- LdapConnectionConfig
public static final class LdapConnectionConfig.TlsScope extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLdapConnectionConfig.TlsScope.ScopeTypeThe type of TLS scope.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetSubject()The subject of the TLS scope.LdapConnectionConfig.TlsScope.ScopeTypegetType()The type of TLS scope.inthashCode()static LdapConnectionConfig.TlsScopesystem()Creates a TLS scope for the whole system.static LdapConnectionConfig.TlsScopetenant(Long tenantId)Creates a TLS scope for a specific tenant.StringtoString()
-
-
-
Method Detail
-
system
public static LdapConnectionConfig.TlsScope system()
Creates a TLS scope for the whole system.- Returns:
- A TLS scope for the whole system.
-
tenant
public static LdapConnectionConfig.TlsScope tenant(Long tenantId)
Creates a TLS scope for a specific tenant.- Parameters:
tenantId- The ID of the tenant.- Returns:
- A TLS scope for the specified tenant.
-
getType
public LdapConnectionConfig.TlsScope.ScopeType getType()
The type of TLS scope.
-
getSubject
public String getSubject()
The subject of the TLS scope. Depending on the type, this can be aLongas the ID of the tenant, or it may benullif the scope is system-wide.
-
-