jetbrains.buildServer.users.UserModel Java Examples
The following examples show how to use
jetbrains.buildServer.users.UserModel.
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: UserTelegramSettingsExtension.java From teamcity-telegram-plugin with Apache License 2.0 | 6 votes |
public UserTelegramSettingsExtension(@NotNull WebControllerManager manager, @NotNull NotificationRulesManager rulesManager, @NotNull UserModel userModel, @NotNull PluginDescriptor descriptor, @NotNull TelegramSettingsManager settingsManager) { super(manager); this.rulesManager = rulesManager; this.userModel = userModel; this.settingsManager = settingsManager; setPluginName(TelegramSettingsPage.PLUGIN_NAME); setIncludeUrl(descriptor.getPluginResourcesPath("userTelegramSettings.jsp")); // This extension required by two places. Don't looks clear // but works... setPlaceId(PlaceId.NOTIFIER_SETTINGS_FRAGMENT); register(); setPlaceId(PlaceId.MY_SETTINGS_NOTIFIER_SECTION); register(); }
Example #2
Source File: AuthHelper.java From teamcity-symbol-server with Apache License 2.0 | 5 votes |
public AuthHelper(@NotNull LoginConfiguration loginConfiguration, @NotNull UserModel userModel, @NotNull HttpAuthenticationManager authManager) { myLoginConfiguration = loginConfiguration; myUserModel = userModel; myAuthManager = authManager; }
Example #3
Source File: PluginConfiguration.java From teamcity-oauth with Apache License 2.0 | 4 votes |
@Bean public ServerPrincipalFactory serverPrincipalFactory(UserModel userModel) { return new ServerPrincipalFactory(userModel); }
Example #4
Source File: ServerPrincipalFactory.java From teamcity-oauth with Apache License 2.0 | 4 votes |
public ServerPrincipalFactory(@NotNull UserModel userModel) { this.userModel = userModel; }