Class KDCServerAnnotationProcessor
java.lang.Object
org.jboss.as.test.integration.security.common.KDCServerAnnotationProcessor
Annotation processor for creating Kerberos servers - based on original implementation in
Use this class together with
ServerAnnotationProcessor. This implementation only adds a workaround for
https://issues.apache.org/jira/browse/DIRKRB-85Use this class together with
ExtCreateKdcServer annotation.- Author:
- Josef Cacek
- See Also:
-
ExtCreateKdcServer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.directory.server.kerberos.kdc.KdcServergetKdcServer(org.apache.directory.server.core.api.DirectoryService directoryService, int startPort, String address) Creates and starts KdcServer based on configuration fromExtCreateKdcServerannotation.
-
Constructor Details
-
KDCServerAnnotationProcessor
public KDCServerAnnotationProcessor()
-
-
Method Details
-
getKdcServer
public static org.apache.directory.server.kerberos.kdc.KdcServer getKdcServer(org.apache.directory.server.core.api.DirectoryService directoryService, int startPort, String address) throws Exception Creates and starts KdcServer based on configuration fromExtCreateKdcServerannotation.- Parameters:
directoryService-startPort- start port number used for searching free ports in case the transport has no port number preconfigured.- Returns:
- Throws:
Exception
-