Class ImmutableApplicationDirectoryMapping
java.lang.Object
com.atlassian.crowd.model.application.ImmutableApplicationDirectoryMapping
- All Implemented Interfaces:
ApplicationDirectoryMapping
public class ImmutableApplicationDirectoryMapping
extends Object
implements ApplicationDirectoryMapping
An immutable representation of a
ApplicationDirectoryMapping
- Since:
- v2.12
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder
(ApplicationDirectoryMapping applicationDirectoryMapping) boolean
from
(ApplicationDirectoryMapping applicationDirectoryMapping) Returns a set of operations that the application is allowed to perform on the directory.Returns a set of mappings to groups that are authorised to authenticate with the application.int
hashCode()
boolean
Returnstrue
if all the users in the directory are allowed to authenticate with the application.toString()
-
Method Details
-
builder
-
builder
public static ImmutableApplicationDirectoryMapping.Builder builder(ApplicationDirectoryMapping applicationDirectoryMapping) -
from
public static ImmutableApplicationDirectoryMapping from(ApplicationDirectoryMapping applicationDirectoryMapping) -
getDirectory
- Specified by:
getDirectory
in interfaceApplicationDirectoryMapping
- Returns:
- the directory mapped to the application
-
isAllowAllToAuthenticate
public boolean isAllowAllToAuthenticate()Description copied from interface:ApplicationDirectoryMapping
Returnstrue
if all the users in the directory are allowed to authenticate with the application. If the value is false, then the user is required to be in an authorised group.- Specified by:
isAllowAllToAuthenticate
in interfaceApplicationDirectoryMapping
- Returns:
true
if all the users in the directory are allowed to authenticate with the application- See Also:
-
getAuthorisedGroupNames
Description copied from interface:ApplicationDirectoryMapping
Returns a set of mappings to groups that are authorised to authenticate with the application. This set is not used ifApplicationDirectoryMapping.isAllowAllToAuthenticate()
returnstrue
.- Specified by:
getAuthorisedGroupNames
in interfaceApplicationDirectoryMapping
- Returns:
- set of mappings to groups that are authorised to authenticate with the application
-
getAllowedOperations
Description copied from interface:ApplicationDirectoryMapping
Returns a set of operations that the application is allowed to perform on the directory.- Specified by:
getAllowedOperations
in interfaceApplicationDirectoryMapping
- Returns:
- set of operations that the application is allowed to perform on the directory
-
equals
-
hashCode
public int hashCode() -
toString
-