org.apache.directory.server.annotations.CreateKdcServer Java Examples
The following examples show how to use
org.apache.directory.server.annotations.CreateKdcServer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: KDCServerAnnotationProcessor.java From wildfly-core with GNU Lesser General Public License v2.1 | 2 votes |
/** * Creates and starts KdcServer based on configuration from {@link ExtCreateKdcServer} annotation. * * @param directoryService * @param startPort start port number used for searching free ports in case the transport has no port number preconfigured. * @return * @throws Exception */ public static KdcServer getKdcServer(DirectoryService directoryService, int startPort, String address) throws Exception { final CreateKdcServer createKdcServer = (CreateKdcServer) AnnotationUtils.getInstance(CreateKdcServer.class); return createKdcServer(createKdcServer, directoryService, startPort, address); }