|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Application
An Application in Crowd. This is the top level citizen in Crowd, where an application will have an ordered set
of associated Directory's which it can access.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Returns the attributes of the application. |
java.util.Date |
getCreatedDate()
Returns the date the application was created. |
PasswordCredential |
getCredential()
Returns the application password. |
java.lang.String |
getDescription()
Returns the description of the application. |
DirectoryMapping |
getDirectoryMapping(long directoryId)
Returns a directory mapping of the directory specified by directory id. |
java.util.List<DirectoryMapping> |
getDirectoryMappings()
Returns the list of directory mappings ranked by directory priority as in perspective of the application. |
java.lang.Long |
getId()
Returns the application ID. |
java.lang.String |
getName()
Returns the name of the application. |
java.util.Set<RemoteAddress> |
getRemoteAddresses()
Returns the whitelist of addresses allowed to connect to Crowd as the application. |
ApplicationType |
getType()
Returns the type of the application. |
java.util.Date |
getUpdatedDate()
Returns the date the application was last updated. |
boolean |
hasRemoteAddress(java.lang.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. |
| Methods inherited from interface com.atlassian.crowd.embedded.api.Attributes |
|---|
getKeys, getValue, getValues, isEmpty |
| Method Detail |
|---|
java.lang.Long getId()
java.lang.String getName()
ApplicationType getType()
java.lang.String getDescription()
PasswordCredential getCredential()
boolean isPermanent()
boolean isActive()
java.util.Map<java.lang.String,java.lang.String> getAttributes()
java.util.List<DirectoryMapping> getDirectoryMappings()
DirectoryMapping getDirectoryMapping(long directoryId)
directoryId - ID of the directory
java.util.Set<RemoteAddress> getRemoteAddresses()
boolean hasRemoteAddress(java.lang.String remoteAddress)
remoteAddress - RemoteAddress whose presence is to be tested
boolean isLowerCaseOutput()
boolean isAliasingEnabled()
java.util.Date getCreatedDate()
java.util.Date getUpdatedDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||