[RADIATOR] regex match in realm

Hugo Veiga hveiga at ubi.pt
Tue Jul 31 04:03:29 CDT 2012


Hi,


I tried addind the double quotes to surround the Realm but it still
doesn't beave as expected.


The realm ua.pt should be a match but with the ,4 it doesn't work !


Do you have more advice? They are very welcome.


Thanks,

Hugo Veiga



On 07/30/2012 05:44 PM, Hugo Veiga wrote:

>* I'm having trouble in a regex in realm Handler:*>* *>* <Handler User-Name=/^[a-zA-Z0-9][a-zA-Z0-9._-]/,*>* Realm=/^[a-zA-Z0-9\.-]*?\.([a-zA-Z]){2,4}$/,*>* Client-Identifier=/^(?!4ProxyServer$)/>*
Hello Hugo,

I tried the handler and got this:

  ERR: Bad attribute=value pair: 4}$/,
Client-Identifier=/^(?!4ProxyServer$)/

Try this instead:

<Handler User-Name=/^[a-zA-Z0-9][a-zA-Z0-9._-]/,
Realm="/^[a-zA-Z0-9\.-]*?\.([a-zA-Z]){2,4}$/",
Client-Identifier=/^(?!4ProxyServer$)/>

I added the double quotes to surround the Realm value since the value
contains a comma.

Thanks,
Heikki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20120731/042d4b37/attachment.html 


More information about the radiator mailing list