Uses of Class
hudson.model.User
-
Packages that use User Package Description hudson hudson.console Beef up the plain text console output by adding HTML markup.hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins.hudson.scm Jenkins's interface with source code management systems.hudson.search QuickSilver-like search/jump capability for better navigation around Jenkins.hudson.security Security-related code.hudson.slaves Code related to agents.hudson.tasks jenkins.console jenkins.model jenkins.model.experimentalflags jenkins.scm jenkins.security jenkins.security.apitoken jenkins.security.seed jenkins.util -
-
Uses of User in hudson
Methods in hudson with parameters of type User Modifier and Type Method Description static StringFunctions. getAvatar(User user, String avatarSize)Returns an avatar image URL for the specified user and preferred image sizeStringFunctions. getUserAvatar(User user, String avatarSize)Deprecated.as of 1.451 UseFunctions.getAvatar(hudson.model.User, java.lang.String) -
Uses of User in hudson.console
Methods in hudson.console with parameters of type User Modifier and Type Method Description static StringModelHyperlinkNote. encodeTo(User u)static StringModelHyperlinkNote. encodeTo(User u, String text) -
Uses of User in hudson.model
Fields in hudson.model declared as User Modifier and Type Field Description protected UserUserProperty. userThe user object that owns this property.Methods in hudson.model that return User Modifier and Type Method Description static UserUser. current()Gets theUserobject representing the currently logged-in user, or null if the current user is anonymous.static UserUser. get(String idOrFullName)Deprecated.This method is deprecated, because it causes unexpectedUsercreation by API usage code and causes performance degradation of used to retrieve users by ID.static UserUser. get(String idOrFullName, boolean create)Deprecated.static UserUser. get(String idOrFullName, boolean create, Map context)Gets theUserobject by its id or full name.static UserUser. get(Authentication a)Deprecated.static UserUser. get2(org.springframework.security.core.Authentication a)Gets theUserobject representing the suppliedAuthenticationornullif the suppliedAuthenticationis either anonymous ornullstatic UserUser. getById(String id, boolean create)Gets theUserobject by itsidstatic UserUser. getOrCreateByIdOrFullName(String idOrFullName)Get the user by ID or Full Name.static UserUser. getUnknown()Gets the fallback "unknown" user instance.UserMyViewsProperty. getUser()Methods in hudson.model that return types with arguments of type User Modifier and Type Method Description Set<User>AbstractBuild. calculateCulprits()static Collection<User>User. getAll()Gets all the users.Set<User>AbstractBuild. getCulprits()Methods in hudson.model with parameters of type User Modifier and Type Method Description intUser. compareTo(User that)Collection<? extends Action>TransientUserActionFactory. createFor(User target)Creates actions for the given user.ListBoxModelTimeZoneProperty.DescriptorImpl. doFillTimeZoneNameItems(User user)booleanAbstractProject. hasParticipant(User user)Returns true if this user has made a commit to this project.UserPropertyMyViewsProperty.DescriptorImpl. newInstance(User user)UserPropertyPaneStatusProperties.DescriptorImpl. newInstance(User user)UserPropertyTimeZoneProperty.DescriptorImpl. newInstance(User user)abstract UserPropertyUserPropertyDescriptor. newInstance(User user)Creates a default instance ofUserPropertyto be associated withUserobject that wasn't created from a persisted XML data.protected voidUserProperty. setUser(User u) -
Uses of User in hudson.scm
Methods in hudson.scm that return User Modifier and Type Method Description abstract UserChangeLogSet.Entry. getAuthor()The user who made this change. -
Uses of User in hudson.search
Methods in hudson.search with parameters of type User Modifier and Type Method Description UserPropertyUserSearchProperty.DescriptorImpl. newInstance(User user) -
Uses of User in hudson.security
Methods in hudson.security that return User Modifier and Type Method Description UserHudsonPrivateSecurityRealm. createAccount(String userName, String password)Creates a new user account by registering a password to the user.UserHudsonPrivateSecurityRealm. createAccountByAdmin(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String addUserView, String successView)Creates a user account.UserHudsonPrivateSecurityRealm. createAccountFromSetupWizard(org.kohsuke.stapler.StaplerRequest req)Creates a user account.UserHudsonPrivateSecurityRealm. createAccountWithHashedPassword(String userName, String hashedPassword)Creates a new user account by registering a Hashed password with the user.UserHudsonPrivateSecurityRealm. doCreateAccount(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Creates an user account.UserHudsonPrivateSecurityRealm. doCreateAccountWithFederatedIdentity(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)Creates an account and associates that with the given identity.UserHudsonPrivateSecurityRealm. getUser(String id)This is to map users under the security realm URL.UserFederatedLoginService.FederatedIdentity. locateUser()Locates the user who owns this identifier.UserFederatedLoginService.FederatedIdentity. signin()Call this method to authenticate the user when you confirmed (via your protocol specific work) that the current HTTP request indeed owns this identifier.Methods in hudson.security that return types with arguments of type User Modifier and Type Method Description List<User>HudsonPrivateSecurityRealm. getAllUsers()All users who can login to the system.Methods in hudson.security with parameters of type User Modifier and Type Method Description abstract booleanPermissionAdder. add(AuthorizationStrategy strategy, User user, Permission perm)Called to try to give a user global permission.voidFederatedLoginService.FederatedIdentity. addTo(User u)Adds this identity to the specified user.static ACLContextACL. as(User user)Changes theAuthenticationassociated with the current thread to the specified one and returns anAutoCloseablethat restores the previous security context.ACLAuthorizationStrategy. getACL(User user)Implementation can choose to provide different ACL per user.UserPropertyHudsonPrivateSecurityRealm.Details.DescriptorImpl. newInstance(User user) -
Uses of User in hudson.slaves
Methods in hudson.slaves that return User Modifier and Type Method Description UserOfflineCause.UserCause. getUser()Constructors in hudson.slaves with parameters of type User Constructor Description UserCause(User user, String message) -
Uses of User in hudson.tasks
Methods in hudson.tasks with parameters of type User Modifier and Type Method Description abstract StringUserAvatarResolver. findAvatarFor(User u, int width, int height)Finds an avatar image URL string for a user.abstract StringUserNameResolver. findNameFor(User u)Finds full name of the given user.static StringUserAvatarResolver. resolve(User u, String avatarSize)Resolve an avatar image URL string for the user.static StringUserNameResolver. resolve(User u)static StringUserAvatarResolver. resolveOrNull(User u, String avatarSize)LikeUserAvatarResolver.resolve(hudson.model.User, java.lang.String)but returns null rather than a fallback URL in case there is no special avatar. -
Uses of User in jenkins.console
Methods in jenkins.console with parameters of type User Modifier and Type Method Description UserPropertyConsoleUrlProviderUserProperty.DescriptorImpl. newInstance(User user) -
Uses of User in jenkins.model
Methods in jenkins.model that return User Modifier and Type Method Description UserJenkins. getMe()Exposes the current user to/meURL.UserCauseOfInterruption.UserInterruption. getUser()Gets user, who caused the interruption.UserJenkins. getUser(String name)Gets the user of the given name.UserCauseOfInterruption.UserInterruption. getUserOrNull()Gets user, who caused the interruption.Constructors in jenkins.model with parameters of type User Constructor Description UserInterruption(User user) -
Uses of User in jenkins.model.experimentalflags
Methods in jenkins.model.experimentalflags with parameters of type User Modifier and Type Method Description TUserExperimentalFlag. getFlagValue(User user)UserPropertyUserExperimentalFlagsProperty.DescriptorImpl. newInstance(User user) -
Uses of User in jenkins.scm
Methods in jenkins.scm that return types with arguments of type User Modifier and Type Method Description default Set<User>RunWithSCM. calculateCulprits()Method used for actually calculating the culprits from scratch.default Set<User>RunWithSCM. getCulprits()List of users who committed a change since the last non-broken build till now.Methods in jenkins.scm with parameters of type User Modifier and Type Method Description default booleanRunWithSCM. hasParticipant(User user)Returns true if this user has made a commit to this build. -
Uses of User in jenkins.security
Methods in jenkins.security that return User Modifier and Type Method Description static UserBasicApiTokenHelper. isConnectingUsingApiToken(String username, String tokenValue)Methods in jenkins.security with parameters of type User Modifier and Type Method Description org.kohsuke.stapler.HttpResponseApiTokenProperty.DescriptorImpl. doAddFixedToken(User u, String newTokenName, String newTokenPlainValue)This method is dangerous and should not be used without caution.org.kohsuke.stapler.HttpResponseApiTokenProperty.DescriptorImpl. doChangeToken(User u, org.kohsuke.stapler.StaplerResponse rsp)Deprecated.org.kohsuke.stapler.HttpResponseApiTokenProperty.DescriptorImpl. doGenerateNewToken(User u, String newTokenName)org.kohsuke.stapler.HttpResponseApiTokenProperty.DescriptorImpl. doRename(User u, String tokenUuid, String newName)org.kohsuke.stapler.HttpResponseApiTokenProperty.DescriptorImpl. doRevoke(User u, String tokenUuid)org.kohsuke.stapler.HttpResponseApiTokenProperty.DescriptorImpl. doRevokeAll(User u)org.kohsuke.stapler.HttpResponseApiTokenProperty.DescriptorImpl. doRevokeAllExcept(User u, String tokenUuid)booleanApiTokenProperty.DescriptorImpl. hasCurrentUserRightToGenerateNewToken(User propertyOwner)booleanApiTokenProperty.DescriptorImpl. mustDisplayLegacyApiToken(User propertyOwner)ApiTokenPropertyApiTokenProperty.DescriptorImpl. newInstance(User user)New approach: API Token are generated only when a user request a new one.UserPropertyLastGrantedAuthoritiesProperty.DescriptorImpl. newInstance(User user)protected voidApiTokenProperty. setUser(User u) -
Uses of User in jenkins.security.apitoken
Methods in jenkins.security.apitoken that return types with arguments of type User Modifier and Type Method Description List<User>LegacyApiTokenAdministrativeMonitor. getImpactedUserList()Methods in jenkins.security.apitoken with parameters of type User Modifier and Type Method Description ApiTokenProperty.TokenInfoAndStatsLegacyApiTokenAdministrativeMonitor. getLegacyStatsOf(User user, ApiTokenStore.HashedToken legacyToken)ApiTokenStore.HashedTokenLegacyApiTokenAdministrativeMonitor. getLegacyTokenOf(User user)booleanLegacyApiTokenAdministrativeMonitor. hasFreshToken(User user, ApiTokenProperty.TokenInfoAndStats legacyStats)Determine if the user has at least one "new" token that was created after the last use of the legacy tokenbooleanLegacyApiTokenAdministrativeMonitor. hasMoreRecentlyUsedToken(User user, ApiTokenProperty.TokenInfoAndStats legacyStats)Determine if the user has at least one "new" token that was used after the last use of the legacy tokenstatic ApiTokenStatsApiTokenStats. load(User user)Loads the data from the user folder into the new object. -
Uses of User in jenkins.security.seed
Methods in jenkins.security.seed with parameters of type User Modifier and Type Method Description org.kohsuke.stapler.HttpResponseUserSeedProperty.DescriptorImpl. doRenewSessionSeed(User u)static voidUserSeedChangeListener. fireUserSeedRenewed(User user)Will notify all the registered listeners about the eventbooleanUserSeedProperty.DescriptorImpl. isCurrentUser(User target)UserSeedPropertyUserSeedProperty.DescriptorImpl. newInstance(User user)abstract voidUserSeedChangeListener. onUserSeedRenewed(User user)Called after a seed was changed but before the user is saved. -
Uses of User in jenkins.util
Methods in jenkins.util with parameters of type User Modifier and Type Method Description static voidScriptListener. fireScriptExecution(String script, groovy.lang.Binding binding, Object feature, Object context, String correlationId, User user)static voidScriptListener. fireScriptOutput(String output, Object feature, Object context, String correlationId, User user)voidDefaultScriptListener. onScriptExecution(String script, groovy.lang.Binding binding, Object feature, Object context, String correlationId, User user)default voidScriptListener. onScriptExecution(String script, groovy.lang.Binding binding, Object feature, Object context, String correlationId, User user)Called just before scripts are executed.voidDefaultScriptListener. onScriptOutput(String output, Object feature, Object context, String correlationId, User user)default voidScriptListener. onScriptOutput(String output, Object feature, Object context, String correlationId, User user)Called when a script produces output.Constructors in jenkins.util with parameters of type User Constructor Description ListenerOutputStream(OutputStream os, Charset charset, Object feature, Object context, String correlationId, User user)ListenerWriter(Writer writer, Object feature, Object context, String correlationId, User user)
-