Interface HttpLoginSupport
-
- All Superinterfaces:
ServerExtension,TeamCityExtension
- All Known Implementing Classes:
BuildHttpLoginSupport,PresignedTokenHttpAuthenticationScheme
public interface HttpLoginSupport extends ServerExtension
Provides a specific way to login for some users.- Since:
- 7.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanlogin(ServerPrincipal principal)Tries to login the specified user.
-
-
-
Method Detail
-
login
boolean login(@NotNull ServerPrincipal principal) throws AuthenticationFailedExceptionTries to login the specified user.- Parameters:
principal- principal- Returns:
- true in case of successful login, false otherwise (or if the specified user cannot be logged in with this support)
- Throws:
AuthenticationFailedException
-
-