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) booleanfrom(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.inthashCode()booleanReturnstrueif 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:
getDirectoryin interfaceApplicationDirectoryMapping- Returns:
- the directory mapped to the application
-
isAllowAllToAuthenticate
public boolean isAllowAllToAuthenticate()Description copied from interface:ApplicationDirectoryMappingReturnstrueif 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:
isAllowAllToAuthenticatein interfaceApplicationDirectoryMapping- Returns:
trueif all the users in the directory are allowed to authenticate with the application- See Also:
-
getAuthorisedGroupNames
Description copied from interface:ApplicationDirectoryMappingReturns a set of mappings to groups that are authorised to authenticate with the application. This set is not used ifApplicationDirectoryMapping.isAllowAllToAuthenticate()returnstrue.- Specified by:
getAuthorisedGroupNamesin interfaceApplicationDirectoryMapping- Returns:
- set of mappings to groups that are authorised to authenticate with the application
-
getAllowedOperations
Description copied from interface:ApplicationDirectoryMappingReturns a set of operations that the application is allowed to perform on the directory.- Specified by:
getAllowedOperationsin interfaceApplicationDirectoryMapping- Returns:
- set of operations that the application is allowed to perform on the directory
-
equals
-
hashCode
public int hashCode() -
toString
-