Package com.microsoft.jenkins.azuread
Interface AuthorizationContainerDescriptor
- All Known Subinterfaces:
AuthorizationPropertyDescriptor<T>
- All Known Implementing Classes:
AuthorizationMatrixNodeProperty.DescriptorImpl
,AuthorizationMatrixProperty.DescriptorImpl
,AuthorizationMatrixProperty.DescriptorImpl
,AzureAdAuthorizationMatrixFolderProperty.DescriptorImpl
,AzureAdAuthorizationMatrixNodeProperty.DescriptorImpl
,AzureAdAuthorizationMatrixProperty.DescriptorImpl
,AzureAdMatrixAuthorizationStrategy.DescriptorImpl
,GlobalMatrixAuthorizationStrategy.DescriptorImpl
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public interface AuthorizationContainerDescriptor
Interface methods common to descriptors of authorization strategy and the various properties.
Mostly some methods used from the similar configuration UI for these (reuse there).
-
Method Summary
Modifier and TypeMethodDescriptiondefault FormValidation
doCheckName_
(String value, AccessControlled subject, Permission permission) default PermissionEntry
default List<PermissionGroup>
default String
default String
getTypeLabel
(String type) default boolean
hasAmbiguousEntries
(AuthorizationContainer container) default String
default boolean
-
Method Details
-
getPermissionScope
PermissionScope getPermissionScope() -
getDescription
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) default String getDescription(Permission p) -
getAllGroups
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) default List<PermissionGroup> getAllGroups() -
impliedByList
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) default String impliedByList(Permission p) -
showPermission
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) default boolean showPermission(Permission p) -
hasAmbiguousEntries
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) default boolean hasAmbiguousEntries(AuthorizationContainer container) -
entryFor
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) default PermissionEntry entryFor(String type, String sid) -
getTypeLabel
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) default String getTypeLabel(String type) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException -
doCheckName_
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) default FormValidation doCheckName_(@NonNull String value, @NonNull AccessControlled subject, @NonNull Permission permission)
-