[ 
https://issues.apache.org/jira/browse/QPID-7352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15608803#comment-15608803
 ] 

Lorenz Quack edited comment on QPID-7352 at 10/26/16 3:39 PM:
--------------------------------------------------------------

The parsing Pattern in GenericPrincipal is too strict.
For the AuthenticationProviderType it only allows \w*
\w only contains \[a-zA-Z_0-9\]. Namely it does not contain the dash/hyphen 
\(-) character which does appear in AuthenticationProviderTypes like SCRAM-SHA-1


was (Author: lorenz.quack):
The parsing Pattern in GenericPrincipal is too strict.
For the AuthenticationProviderType it only allows \w*
\w only contains \[a-zA-Z_0-9\]. Namely it does not contain the dash/hyphen (-) 
character which does appear in AuthenticationProviderTypes like SCRAM-SHA-1

> [Java Broker] Principal serialisation
> -------------------------------------
>
>                 Key: QPID-7352
>                 URL: https://issues.apache.org/jira/browse/QPID-7352
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>             Fix For: qpid-java-6.1
>
>
> Implement a Jackson serialiser for Principals and add a corresponding 
> {{AttributeValueConverter}} that takes the serialised form any produces 
> Generic Principals. The serialised form is to include the reference to the 
> AuthenticationProvider (name and type). Group Providers need the 
> corresponding change.
> Update the preference store and preference store recoverer to store the 
> principal's serialised form for {{owner}} and {{visibilityList}}, and recover 
> generic principal objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to