Class SupplementalGroupsStrategyOptions

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class SupplementalGroupsStrategyOptions
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.
    • Constructor Detail

      • SupplementalGroupsStrategyOptions

        public SupplementalGroupsStrategyOptions​(java.util.List<IDRange> ranges,
                                                 java.lang.String rule)
      • SupplementalGroupsStrategyOptions

        public SupplementalGroupsStrategyOptions()
    • Method Detail

      • getRanges

        public java.util.List<IDRange> getRanges()
        ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
      • getRule

        public java.lang.String getRule()
        rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
      • setRanges

        public void setRanges​(java.util.List<IDRange> ranges)
        ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
      • setRule

        public void setRule​(java.lang.String rule)
        rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object