Package de.elo.ix.client.imfs
Class AccessControlOptions
java.lang.Object
de.elo.ix.client.imfs.AccessControlOptions
Options for importing access control lists.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
Access control bitset that specifies the rights for the Everyone group.static final int
Unknown users should be created.protected String
Defines how to build an ELO user name from an OS principal name.protected String
User names must not match one of this filters.protected NameFilter
Defines, which users should be excluded.protected int
Defines, how to deal with unknown users.static final int
Unknown users should be ignored.protected String
User names must match one of this filters.protected NameFilter
Defines, which users should be included.protected MakeUserName
This function builds an ELO user name from the given principal name.protected MakeUserName
This function builds an OS user name from the given principal name.protected String
Defines how to build an OS user name for the user object in ELO.protected boolean
True, when access control lists should not be imported. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
isSkip()
void
setAccessForEveryone
(int accessForEveryone) void
setEloUserFormatPattern
(String eloUserFormatPattern) void
setExcludes
(String excludes) void
setExcludesUserNameFilter
(NameFilter excludesUserNameFilter) void
setHandleUnknownUser
(int handleUnknownUser) void
setIncludes
(String includes) void
setIncludesUserNameFilter
(NameFilter includesUserNameFilter) void
setMakeEloUserName
(MakeUserName makeEloUserName) void
setMakeOsUserName
(MakeUserName makeOsUserName) void
setOsUserFormatPattern
(String osUserFormatPattern) void
setSkip
(boolean v)
-
Field Details
-
IGNORE_UNKNOWN_USER
public static final int IGNORE_UNKNOWN_USERUnknown users should be ignored. This constant is use byhandleUnknownUser
- See Also:
-
CREATE_UNKNOWN_USER
public static final int CREATE_UNKNOWN_USERUnknown users should be created. This constant is use bygetHandleUnknownUser()
- See Also:
-
skip
protected boolean skipTrue, when access control lists should not be imported. -
includes
User names must match one of this filters. A semicolon separated list of filters. Users or groups that do not match one of this filters are ignored. This property is used in the default implementation ofincludesUserNameFilter
. -
excludes
User names must not match one of this filters. A semicolon separated list of filters. Users or groups that match one of this filters are ignored. By default, users that match "*\\SYSTEM" are ignored. This property is used in the default implementation ofexcludesUserNameFilter
. -
handleUnknownUser
protected int handleUnknownUserDefines, how to deal with unknown users. Unknown users are ignored by default.- See Also:
-
eloUserFormatPattern
Defines how to build an ELO user name from an OS principal name. The principal name is received byPrincipal.getName()
. This is a format pattern forFormat.format(Object)
. The domain name is passed as {0}. The user name is passed as {1}. This property is used in the default implementation ofmakeEloUserName
. -
osUserFormatPattern
Defines how to build an OS user name for the user object in ELO. The principal name is received byPrincipal.getName()
. This is a format pattern forFormat.format(Object)
. The domain name is passed as {0}. The user name is passed as {1}. This property is used in the default implementation ofmakeOsUserName
. -
makeEloUserName
This function builds an ELO user name from the given principal name. The principal name is received byPrincipal.getName()
. The default implementation useseloUserFormatPattern
. -
makeOsUserName
This function builds an OS user name from the given principal name. The principal name is received byPrincipal.getName()
. The default implementation usesosUserFormatPattern
. -
includesUserNameFilter
Defines, which users should be included. -
excludesUserNameFilter
Defines, which users should be excluded. -
accessForEveryone
protected int accessForEveryoneAccess control bitset that specifies the rights for the Everyone group.- See Also:
-
-
Constructor Details
-
AccessControlOptions
public AccessControlOptions()
-
-
Method Details
-
isSkip
public boolean isSkip() -
setSkip
public void setSkip(boolean v) -
getIncludes
-
setIncludes
-
getExcludes
-
setExcludes
-
getHandleUnknownUser
public int getHandleUnknownUser() -
setHandleUnknownUser
public void setHandleUnknownUser(int handleUnknownUser) -
getMakeEloUserName
-
setMakeEloUserName
-
getMakeOsUserName
-
setMakeOsUserName
-
getEloUserFormatPattern
-
setEloUserFormatPattern
-
getOsUserFormatPattern
-
setOsUserFormatPattern
-
getIncludesUserNameFilter
-
setIncludesUserNameFilter
-
getExcludesUserNameFilter
-
setExcludesUserNameFilter
-
getAccessForEveryone
public int getAccessForEveryone() -
setAccessForEveryone
public void setAccessForEveryone(int accessForEveryone)
-