public interface Application extends Serializable, Attributes
Directory
's which it can access.Modifier and Type | Method and Description |
---|---|
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)
Returns a directory mapping of the directory specified by directory id.
|
List<DirectoryMapping> |
getDirectoryMappings()
Returns the list of directory mappings ranked by directory priority as in perspective of the application.
|
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.
|
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 |
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()
List<DirectoryMapping> getDirectoryMappings()
DirectoryMapping getDirectoryMapping(long directoryId)
directoryId
- ID of the directorySet<RemoteAddress> getRemoteAddresses()
boolean hasRemoteAddress(String remoteAddress)
remoteAddress
- RemoteAddress whose presence is to be testedboolean isLowerCaseOutput()
boolean isAliasingEnabled()
Date getCreatedDate()
Date getUpdatedDate()
Copyright © 2013 Atlassian. All Rights Reserved.