https://mywebspace.wisc.edu/dalquist/web/JA-SIG/patches/pags/
There are some custom testers we wrote here @ UW. I believe the NegatedStringTester is what you want.
Dan, Feel free to include these in the stand-alone GAPS package. -Eric Dan Ellentuck wrote:
Hi Tim,I played around a little and came up with this ugly thing, which I'm sure can be improved by someone who knows what they're doing with regular expressions.^guest.+$|^.+guest$|^[^g].*$|^g[^u].*$|^gu[^e].*$|^gue[^s].*$|^gues[^t].*$|^g$|^gu$|^gue$|^gues$But you've made your point. No one should have to code something like this to do String NOT EQUALS. I will add a string not equals tester to the pags tester package and also post the code in jira. Give me a day or two.Dan Timothy Carroll wrote:I'm no REGEX guru, but I enlisted one locally. Neither of us could figure out a way to resolve the example case I documented. Would you mind sharing how you would accomplish this using the example? Thanks, Tim On Apr 14, 2008, at 1:04 PM, Dan Ellentuck wrote: Hi Tim, You can do most anything with Strings out of the box with the RegexTester, including testing an attribute for NOT EQUALS. Dan Timothy Carroll wrote:Hi All. Is anyone aware of an easy way to accomplish a NOT EQUAL operation in PAGS. Basically, we have a personDirectory attribute setup, and we want to createa PAGS group that evaluates membership based on that attribute being NOT EQUAL to a specific string. Anexample would be: A user is a member of "Authenticated Users" when attribute "username" is not equal to "guest" So far as I can tell, this is not really possible with PAGS out of the box. However, it seems like a perfectly reasonable thing to do, so I'm hoping someone has overcome this hurdle already. Thanks in advance, Tim
smime.p7s
Description: S/MIME Cryptographic Signature
