| You are viewing documentation of TeamCity 4.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version. |
Custom authentication API is based on Sun JAAS API. To provide your own authentication scheme, you should provide a login module class which must implement interface javax.security.auth.spi.LoginModule and register it in the jetbrains.buildServer.serverSide.auth.LoginConfiguration. For example: CustomLoginModule.java Now we should register this module in the server. To do so, we create a login module descriptor: CustomLoginModuleDescriptor.java Finally we should create build-server-plugin-ourUserAuth.xml and zip archive with plugin classes as it is described here and write there CustomLoginModuleDescriptor bean: Now you should be able to change authentication scheme by specifying name of your class in the main-config.xml file, read more. |