las2peer icon indicating copy to clipboard operation
las2peer copied to clipboard

[ENH] Allow for oidc usernames starting with a non alphabetic character

Open Taeuber-hub opened this issue 2 years ago • 1 comments

Motivation: Allow for oidc usernames starting with a character that is not a-z or A-Z. This is caused by the "checkLoginNameValidity(String loginName) throws IllegalArgumentException" function in the UserAgentImpl.java class. This can be easily fixed by not throwing an exception in this case, since the username can be valid.

Taeuber-hub avatar May 11 '22 09:05 Taeuber-hub

https://github.com/rwth-acis/las2peer/blob/f9ba175c377a4f6c63558d6f1fc45016b1013c9b/core/src/main/java/i5/las2peer/security/UserAgentImpl.java#L85

lakhoune avatar May 11 '22 11:05 lakhoune