public interface Application extends Serializable, Attributes
Directory
's which it can access.Modifier and Type | Method and Description |
---|---|
ApplicationDirectoryMapping |
getApplicationDirectoryMapping(long directoryId)
Returns a directory mapping of the directory specified by directory id.
|
List<ApplicationDirectoryMapping> |
getApplicationDirectoryMappings()
Returns the list of directory mappings ranked by directory priority as in perspective of the application.
|
Map<String,String> |
getAttributes()
Returns the attributes of the application.
|
Date |
getCreatedDate()
Returns the date the application was created.
|
PasswordCredential |
getCredential()
Returns the application password.
|
String |
getDescription()
Returns the description of the application.
|
DirectoryMapping |
getDirectoryMapping(long directoryId)
Deprecated.
Use
getApplicationDirectoryMapping(long) instead. Since 2.12. |
List<DirectoryMapping> |
getDirectoryMappings()
Deprecated.
Use
getApplicationDirectoryMappings() instead. Since 2.12. |
Long |
getId()
Returns the application ID.
|
String |
getName()
Returns the name of the application.
|
Set<RemoteAddress> |
getRemoteAddresses()
Returns the whitelist of addresses allowed to connect to Crowd as the application.
|
ApplicationType |
getType()
Returns the type of the application.
|
Date |
getUpdatedDate()
Returns the date the application was last updated.
|
Set<Webhook> |
getWebhooks()
Returns the Webhooks associated to the application.
|
boolean |
hasRemoteAddress(String remoteAddress)
Returns true if the remote address is already in the list of allowable remote addresses for the
application.
|
boolean |
isActive()
Returns whether the application is active.
|
boolean |
isAliasingEnabled()
Returns true if aliasing is enabled for the application.
|
boolean |
isLowerCaseOutput()
Returns true if the usernames and group names returned should be in lowercase.
|
boolean |
isMembershipAggregationEnabled() |
boolean |
isPermanent()
Returns whether the application is a permanent application and thus cannot be removed.
|
getKeys, getValue, getValues, isEmpty
Long getId()
String getName()
ApplicationType getType()
String getDescription()
PasswordCredential getCredential()
boolean isPermanent()
boolean isActive()
Map<String,String> getAttributes()
@Deprecated List<DirectoryMapping> getDirectoryMappings()
getApplicationDirectoryMappings()
instead. Since 2.12.@Nonnull List<ApplicationDirectoryMapping> getApplicationDirectoryMappings()
@Deprecated DirectoryMapping getDirectoryMapping(long directoryId)
getApplicationDirectoryMapping(long)
instead. Since 2.12.directoryId
- ID of the directory@Nullable ApplicationDirectoryMapping getApplicationDirectoryMapping(long directoryId)
directoryId
- ID of the directorySet<RemoteAddress> getRemoteAddresses()
boolean hasRemoteAddress(String remoteAddress)
remoteAddress
- RemoteAddress whose presence is to be testedSet<Webhook> getWebhooks()
boolean isLowerCaseOutput()
boolean isAliasingEnabled()
boolean isMembershipAggregationEnabled()
Date getCreatedDate()
Date getUpdatedDate()
Copyright © 2018 Atlassian. All rights reserved.