Application or ImmutableApplication instead. Since v2.12.@Deprecated public class ApplicationImpl extends InternalEntity implements Application
active, createdDate, id, name, updatedDate| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationImpl()
Deprecated.
|
|
ApplicationImpl(InternalEntityTemplate template)
Deprecated.
Used for importing via XML migration.
|
protected |
ApplicationImpl(String name,
long id,
ApplicationType type,
String description,
PasswordCredential credential,
boolean active,
Map<String,String> attributes,
List<DirectoryMapping> directoryMappings,
Set<RemoteAddress> remoteAddresses,
Set<Webhook> webhooks,
Date createdDate,
Date updatedDate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDirectoryMapping(Directory directory,
boolean allowAllToAuthenticate,
OperationType... operationTypes)
Deprecated.
|
void |
addGroupMapping(long directoryId,
String groupName)
Deprecated.
|
void |
addRemoteAddress(String remoteAddress)
Deprecated.
|
static ApplicationImpl |
convertIfNeeded(Application application)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
ApplicationDirectoryMapping |
getApplicationDirectoryMapping(long directoryId)
Deprecated.
|
List<ApplicationDirectoryMapping> |
getApplicationDirectoryMappings()
Deprecated.
|
Map<String,String> |
getAttributes()
Deprecated.
|
PasswordCredential |
getCredential()
Deprecated.
|
String |
getDescription()
Deprecated.
|
DirectoryMapping |
getDirectoryMapping(long directoryId)
Deprecated.
|
List<DirectoryMapping> |
getDirectoryMappings()
Deprecated.
|
Set<String> |
getKeys()
Deprecated.
|
String |
getLowerName()
Deprecated.
|
Set<RemoteAddress> |
getRemoteAddresses()
Deprecated.
|
ApplicationType |
getType()
Deprecated.
|
String |
getValue(String name)
Deprecated.
|
Set<String> |
getValues(String name)
Deprecated.
|
Set<Webhook> |
getWebhooks()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
hasRemoteAddress(String remoteAddress)
Deprecated.
|
boolean |
isAliasingEnabled()
Deprecated.
|
boolean |
isAuthenticationViaEmailEnabled()
Deprecated.
|
boolean |
isAuthenticationWithoutPasswordEnabled()
Deprecated.
|
boolean |
isCachedDirectoriesAuthenticationOrderOptimisationEnabled()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
boolean |
isFilteringGroupsWithAccessEnabled()
Deprecated.
|
boolean |
isFilteringUsersWithAccessEnabled()
Deprecated.
|
boolean |
isLowerCaseOutput()
Deprecated.
|
boolean |
isMembershipAggregationEnabled()
Deprecated.
|
boolean |
isPermanent()
Deprecated.
|
static ApplicationImpl |
newInstance(Application application)
Deprecated.
|
static ApplicationImpl |
newInstance(String name,
ApplicationType type)
Deprecated.
|
static ApplicationImpl |
newInstanceWithCredential(String name,
ApplicationType type,
PasswordCredential credential)
Deprecated.
|
static ApplicationImpl |
newInstanceWithIdAndCredential(String name,
ApplicationType type,
PasswordCredential credential,
long id)
Deprecated.
|
static ApplicationImpl |
newInstanceWithPassword(String name,
ApplicationType type,
String password)
Deprecated.
|
void |
removeAttribute(String name)
Deprecated.
|
boolean |
removeDirectoryMapping(long directoryId)
Deprecated.
|
boolean |
removeRemoteAddress(String remoteAddress)
Deprecated.
|
void |
setActive(boolean active)
Deprecated.
|
void |
setAliasingEnabled(boolean aliasingEnabled)
Deprecated.
|
void |
setAttribute(String name,
String value)
Deprecated.
|
void |
setAttributes(Map<String,String> attributes)
Deprecated.
Sets the attributes of the application.
|
void |
setAuthenticationOrderOptimizationForCachedDirectoriesEnabled(boolean authenticationOrderOptimizationForCachedDirectoriesEnabled)
Deprecated.
|
void |
setAuthenticationViaEmailEnabled(boolean authenticationViaEmailEnabled)
Deprecated.
|
void |
setAuthenticationWithoutPasswordEnabled(boolean authenticationWithoutPasswordEnabled)
Deprecated.
|
void |
setCredential(PasswordCredential credential)
Deprecated.
|
void |
setDescription(String description)
Deprecated.
|
void |
setFilterGroupsWithAccessEnabled(boolean filterGroupsWithAccessEnabled)
Deprecated.
|
void |
setFilterUsersWithAccessEnabled(boolean filterUsersWithAccessEnabled)
Deprecated.
|
void |
setLowerCaseOutput(boolean value)
Deprecated.
|
void |
setMembershipAggregationEnabled(boolean membershipAggregationEnabled)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setRemoteAddresses(Set<RemoteAddress> remoteAddresses)
Deprecated.
|
void |
setType(ApplicationType type)
Deprecated.
|
void |
setWebhooks(Set<Webhook> webhooks)
Deprecated.
This setter should only be called by hibernate and must replace the collection instance; compare with
updateDetailsFromApplication(Application). |
String |
toString()
Deprecated.
|
void |
updateAttributesFrom(Map<String,String> attributes)
Deprecated.
|
void |
updateDetailsFromApplication(Application application)
Deprecated.
Only to be used by the ApplicationDAO#update method
|
void |
validate()
Deprecated.
|
getCreatedDate, getId, getName, getUpdatedDate, isActive, setCreatedDate, setCreatedDateToNow, setUpdatedDate, setUpdatedDateToNowclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCreatedDate, getId, getName, getUpdatedDate, isActiveprotected ApplicationImpl()
protected ApplicationImpl(String name, long id, ApplicationType type, String description, PasswordCredential credential, boolean active, Map<String,String> attributes, List<DirectoryMapping> directoryMappings, Set<RemoteAddress> remoteAddresses, Set<Webhook> webhooks, Date createdDate, Date updatedDate)
public ApplicationImpl(InternalEntityTemplate template)
template - directory template.public static ApplicationImpl convertIfNeeded(Application application)
public static ApplicationImpl newInstance(Application application)
public static ApplicationImpl newInstance(String name, ApplicationType type)
public static ApplicationImpl newInstanceWithIdAndCredential(String name, ApplicationType type, PasswordCredential credential, long id)
public static ApplicationImpl newInstanceWithCredential(String name, ApplicationType type, PasswordCredential credential)
public static ApplicationImpl newInstanceWithPassword(String name, ApplicationType type, String password)
public void updateDetailsFromApplication(Application application)
public void validate()
public void setName(String name)
setName in class InternalEntitypublic void setActive(boolean active)
setActive in class InternalEntitypublic String getLowerName()
public ApplicationType getType()
getType in interface Applicationpublic void setType(ApplicationType type)
public String getDescription()
getDescription in interface Applicationpublic void setDescription(String description)
public PasswordCredential getCredential()
getCredential in interface Applicationpublic void setCredential(PasswordCredential credential)
public boolean isPermanent()
isPermanent in interface Applicationpublic Map<String,String> getAttributes()
getAttributes in interface Applicationpublic void setAttributes(Map<String,String> attributes)
attributes must be a mutable Map.attributes - new attributespublic List<DirectoryMapping> getDirectoryMappings()
getDirectoryMappings in interface Application@Nonnull public List<ApplicationDirectoryMapping> getApplicationDirectoryMappings()
getApplicationDirectoryMappings in interface Applicationpublic void addDirectoryMapping(Directory directory, boolean allowAllToAuthenticate, OperationType... operationTypes)
public void addGroupMapping(long directoryId,
String groupName)
public DirectoryMapping getDirectoryMapping(long directoryId)
getDirectoryMapping in interface Application@Nullable public ApplicationDirectoryMapping getApplicationDirectoryMapping(long directoryId)
getApplicationDirectoryMapping in interface Applicationpublic boolean removeDirectoryMapping(long directoryId)
public Set<RemoteAddress> getRemoteAddresses()
getRemoteAddresses in interface Applicationpublic void addRemoteAddress(String remoteAddress)
public void setRemoteAddresses(Set<RemoteAddress> remoteAddresses)
public boolean hasRemoteAddress(String remoteAddress)
hasRemoteAddress in interface Applicationpublic boolean removeRemoteAddress(String remoteAddress)
public Set<Webhook> getWebhooks()
getWebhooks in interface Applicationpublic void setWebhooks(Set<Webhook> webhooks)
updateDetailsFromApplication(Application).webhooks - new Set of webhookspublic Set<String> getValues(String name)
getValues in interface Attributesname - attribute name.null
if the directory does not have the attribute.public String getValue(String name)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributespublic void removeAttribute(String name)
public boolean isFilteringUsersWithAccessEnabled()
isFilteringUsersWithAccessEnabled in interface Applicationpublic void setFilterUsersWithAccessEnabled(boolean filterUsersWithAccessEnabled)
public boolean isFilteringGroupsWithAccessEnabled()
isFilteringGroupsWithAccessEnabled in interface Applicationpublic void setFilterGroupsWithAccessEnabled(boolean filterGroupsWithAccessEnabled)
public boolean isLowerCaseOutput()
isLowerCaseOutput in interface Applicationpublic void setLowerCaseOutput(boolean value)
public void setAliasingEnabled(boolean aliasingEnabled)
public boolean isAliasingEnabled()
isAliasingEnabled in interface Applicationpublic boolean isMembershipAggregationEnabled()
isMembershipAggregationEnabled in interface Applicationpublic void setMembershipAggregationEnabled(boolean membershipAggregationEnabled)
public boolean isCachedDirectoriesAuthenticationOrderOptimisationEnabled()
isCachedDirectoriesAuthenticationOrderOptimisationEnabled in interface Applicationpublic void setAuthenticationOrderOptimizationForCachedDirectoriesEnabled(boolean authenticationOrderOptimizationForCachedDirectoriesEnabled)
public boolean isAuthenticationWithoutPasswordEnabled()
isAuthenticationWithoutPasswordEnabled in interface Applicationpublic void setAuthenticationWithoutPasswordEnabled(boolean authenticationWithoutPasswordEnabled)
public boolean isAuthenticationViaEmailEnabled()
isAuthenticationViaEmailEnabled in interface Applicationpublic void setAuthenticationViaEmailEnabled(boolean authenticationViaEmailEnabled)
public boolean equals(Object o)
equals in class InternalEntitypublic int hashCode()
hashCode in class InternalEntityCopyright © 2023 Atlassian. All rights reserved.