Class PrincipalUserMatchRule


  • public class PrincipalUserMatchRule
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PrincipalUserMatchRule​(java.util.regex.Pattern principalRegex, java.util.Optional<java.util.regex.Pattern> userRegex, java.util.Optional<java.lang.String> principalToUserSubstitution, boolean allow)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Boolean> match​(java.lang.String principal, java.lang.String user)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrincipalUserMatchRule

        public PrincipalUserMatchRule​(java.util.regex.Pattern principalRegex,
                                      java.util.Optional<java.util.regex.Pattern> userRegex,
                                      java.util.Optional<java.lang.String> principalToUserSubstitution,
                                      boolean allow)
    • Method Detail

      • match

        public java.util.Optional<java.lang.Boolean> match​(java.lang.String principal,
                                                           java.lang.String user)