portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-817) Cannot login with username with .
Date Tue, 04 Dec 2007 00:01:58 GMT

    [ https://issues.apache.org/jira/browse/JS2-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548061
] 

David Sean Taylor commented on JS2-817:
---------------------------------------

Yes, we can override with a configurable setting,  add another value to the constructor
We are pretty close to releasing here and I think it may be better to wait
I really don't like this constructor with 36 values, I think there must be a better way like
properties?
Everytime I want to add a property I have to find all places where the constructor is used


IF you really want to this change to go in, send an email directly to the jetspeed-dev mailing
list and call for a vote on it
I can do it, I just want to make sure I don't destabilize things and we are all busy trying
to get the release out


> Cannot login with username with .
> ---------------------------------
>
>                 Key: JS2-817
>                 URL: https://issues.apache.org/jira/browse/JS2-817
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 2.1.2, 2.1.3
>            Reporter: Martin Petras
>
> There is an validator for username in
> org.apache.jetspeed.security.spi.impl.ldap.AbstractLdapDao.validateUid(String)
> I need to login with username:  name.surname but in the method there is a pattern for
validating which contains dot.
> String pattern = ".*\\(.*|.*\\[.*|.*\\{.*|.*\\\\.*|.*\\^.*|.*\\$.*|.*\\|.*|.*\\).*|.*\\?.*|.*\\*.*|.*\\+.*|.*\\..*";
> It is possible to externalize this string to a configuration file?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message