public class SneakyAutoLoginUtil extends Object
| Constructor and Description |
|---|
SneakyAutoLoginUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationUser |
logUserIn(String username,
javax.servlet.http.HttpServletRequest request) |
static ApplicationUser |
logUserInByName(String username,
javax.servlet.http.HttpServletRequest request)
Attempt to authenticate the user with JIRA and return their details if successful.
|
@Nullable public static ApplicationUser logUserInByName(String username, javax.servlet.http.HttpServletRequest request)
username - The name of the user to log in.request - The request where the user will attempt to add authentication toApplicationUser that was authenticated, or null if
something went wrong.@Nullable public static ApplicationUser logUserIn(String username, javax.servlet.http.HttpServletRequest request)
Copyright © 2002-2024 Atlassian. All Rights Reserved.