@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class UserAttributesHelper extends Object
| Constructor and Description |
|---|
UserAttributesHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIfAccountNonExpired(Attributes user) |
static boolean |
checkIfAccountNonLocked(Attributes user) |
static boolean |
checkIfCredentialsAreNonExpired(Attributes user) |
static boolean |
checkIfUserIsEnabled(Attributes user) |
public static boolean checkIfUserIsEnabled(@Nonnull Attributes user)
public static boolean checkIfAccountNonExpired(@Nonnull Attributes user)
public static boolean checkIfCredentialsAreNonExpired(@Nonnull Attributes user)
public static boolean checkIfAccountNonLocked(@Nonnull Attributes user)
Copyright © 2016–2019. All rights reserved.