Class ManagedCreateLdapServer
java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<org.apache.directory.server.annotations.CreateLdapServer>
org.jboss.as.test.integration.security.common.ManagedCreateLdapServer
- All Implemented Interfaces:
Annotation
public class ManagedCreateLdapServer
extends jakarta.enterprise.util.AnnotationLiteral<org.apache.directory.server.annotations.CreateLdapServer>
implements org.apache.directory.server.annotations.CreateLdapServer
A helper implementation of
CreateLdapServer annotation which allows to configure values.- Author:
- Josef Cacek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManagedCreateLdapServer(org.apache.directory.server.annotations.CreateLdapServer createLdapServer) Create a new ManagedCreateLdapServer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<?>[]Class<?>factory()keyStore()longintname()Class<?>saslHost()org.apache.directory.server.annotations.SaslMechanism[]String[]voidsetAllowAnonymousAccess(boolean allowAnonymousAccess) Set the allowAnonymousAccess.voidsetCertificatePassword(String certificatePassword) Set the certificatePassword.voidsetExtendedOpHandlers(Class<?>[] extendedOpHandlers) Set the extendedOpHandlers.voidsetFactory(Class<?> factory) Set the factory.voidsetKeyStore(String keyStore) Set the keyStore.voidsetMaxSizeLimit(long maxSizeLimit) Set the maxSizeLimit.voidsetMaxTimeLimit(int maxTimeLimit) Set the maxTimeLimit.voidSet the name.voidsetNtlmProvider(Class<?> ntlmProvider) Set the ntlmProvider.voidsetSaslHost(String saslHost) Set the saslHost.voidsetSaslMechanisms(org.apache.directory.server.annotations.SaslMechanism[] saslMechanisms) Set the saslMechanisms.voidsetSaslPrincipal(String saslPrincipal) Set the saslPrincipal.voidsetTransports(org.apache.directory.server.annotations.CreateTransport[] transports) Set the transports.org.apache.directory.server.annotations.CreateTransport[]Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Constructor Details
-
ManagedCreateLdapServer
public ManagedCreateLdapServer(org.apache.directory.server.annotations.CreateLdapServer createLdapServer) Create a new ManagedCreateLdapServer.- Parameters:
createLdapServer-
-
-
Method Details
-
name
- Returns:
- See Also:
-
CreateLdapServer.name()
-
transports
public org.apache.directory.server.annotations.CreateTransport[] transports()- Returns:
- See Also:
-
CreateLdapServer.transports()
-
factory
- Returns:
- See Also:
-
CreateLdapServer.factory()
-
maxSizeLimit
public long maxSizeLimit()- Returns:
- See Also:
-
CreateLdapServer.maxSizeLimit()
-
maxTimeLimit
public int maxTimeLimit()- Returns:
- See Also:
-
CreateLdapServer.maxTimeLimit()
-
allowAnonymousAccess
public boolean allowAnonymousAccess()- Returns:
- See Also:
-
CreateLdapServer.allowAnonymousAccess()
-
keyStore
- Returns:
- See Also:
-
CreateLdapServer.keyStore()
-
certificatePassword
- Returns:
- See Also:
-
CreateLdapServer.certificatePassword()
-
extendedOpHandlers
- Returns:
- See Also:
-
CreateLdapServer.extendedOpHandlers()
-
saslMechanisms
public org.apache.directory.server.annotations.SaslMechanism[] saslMechanisms()- Returns:
- See Also:
-
CreateLdapServer.saslMechanisms()
-
ntlmProvider
- Returns:
- See Also:
-
CreateLdapServer.ntlmProvider()
-
saslHost
- Returns:
- See Also:
-
CreateLdapServer.saslHost()
-
saslPrincipal
- Returns:
- See Also:
-
CreateLdapServer.saslPrincipal()
-
saslRealms
-
setName
Set the name.- Parameters:
name- The name to set.
-
setTransports
public void setTransports(org.apache.directory.server.annotations.CreateTransport[] transports) Set the transports.- Parameters:
transports- The transports to set.
-
setFactory
Set the factory.- Parameters:
factory- The factory to set.
-
setMaxSizeLimit
public void setMaxSizeLimit(long maxSizeLimit) Set the maxSizeLimit.- Parameters:
maxSizeLimit- The maxSizeLimit to set.
-
setMaxTimeLimit
public void setMaxTimeLimit(int maxTimeLimit) Set the maxTimeLimit.- Parameters:
maxTimeLimit- The maxTimeLimit to set.
-
setAllowAnonymousAccess
public void setAllowAnonymousAccess(boolean allowAnonymousAccess) Set the allowAnonymousAccess.- Parameters:
allowAnonymousAccess- The allowAnonymousAccess to set.
-
setKeyStore
Set the keyStore.- Parameters:
keyStore- The keyStore to set.
-
setCertificatePassword
Set the certificatePassword.- Parameters:
certificatePassword- The certificatePassword to set.
-
setExtendedOpHandlers
Set the extendedOpHandlers.- Parameters:
extendedOpHandlers- The extendedOpHandlers to set.
-
setSaslMechanisms
public void setSaslMechanisms(org.apache.directory.server.annotations.SaslMechanism[] saslMechanisms) Set the saslMechanisms.- Parameters:
saslMechanisms- The saslMechanisms to set.
-
setNtlmProvider
Set the ntlmProvider.- Parameters:
ntlmProvider- The ntlmProvider to set.
-
setSaslHost
Set the saslHost.- Parameters:
saslHost- The saslHost to set.
-
setSaslPrincipal
Set the saslPrincipal.- Parameters:
saslPrincipal- The saslPrincipal to set.
-