Package org.artifactory.security
Interface User
public interface User
Available fields from the user in Artifactory DB,
or object provided by authenticate realms override to set user info data.
- Author:
- Fred Simon
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()String[]longgetRealm()getUserProperty(String key) booleanisAdmin()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidvoidsetEnabled(Boolean enabled) voidvoidsetPolicyManager(Boolean policyManager) voidsetPrivateKey(String privateKey) voidsetPublicKey(String publicKey) voidsetReportsManager(Boolean reportsManager) voidsetUpdatableProfile(Boolean updatableProfile) voidsetUserProperties(Map<String, String> userProperties) voidsetUserProperty(String key, String value) voidsetWatchManager(Boolean watchManager)
-
Method Details
-
getUsername
String getUsername() -
getEmail
String getEmail() -
isAdmin
boolean isAdmin() -
isPolicyManager
boolean isPolicyManager() -
isWatchManager
boolean isWatchManager() -
isReportsManager
boolean isReportsManager() -
isEnabled
boolean isEnabled() -
isUpdatableProfile
boolean isUpdatableProfile() -
getRealm
String getRealm() -
getPrivateKey
String getPrivateKey() -
getPublicKey
String getPublicKey() -
isTransientUser
boolean isTransientUser() -
getGroups
String[] getGroups() -
getLastLoginTimeMillis
long getLastLoginTimeMillis() -
getLastLoginClientIp
String getLastLoginClientIp() -
getUserProperty
-
isAnonymous
boolean isAnonymous() -
getUserProperties
-
setEmail
-
setAdmin
-
setPolicyManager
-
setWatchManager
-
setReportsManager
-
setEnabled
-
setUpdatableProfile
-
setPrivateKey
-
setPublicKey
-
setGroups
-
setUserProperty
-
setUserProperties
-