argus-authz / argus-pep-server

Argus PEP Server
5 stars 3 forks source link

Pool account resolution fails if pool account name contains numbers #28

Open andreaceccanti opened 4 years ago

andreaceccanti commented 4 years ago

When the pool account name contains numbers as the last digits of the name, the pool account resolution fails.

Example: example12 linked to pool accounts example1201, example1202 fails resolution.

This problem is likely caused by this regexp: https://github.com/argus-authz/argus-pep-server/blob/1_7/src/main/java/org/glite/authz/pep/obligation/dfpmap/DefaultPoolAccountResolver.java#L34