[jira] [Commented] (OAK-1124) OAK-938 incomplete: session refresh must also be reflected on derived interfaces

2013-12-16 Thread JIRA

[ 
https://issues.apache.org/jira/browse/OAK-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13848915#comment-13848915
 ] 

Michael Dürig commented on OAK-1124:


What about equality of {{Authorizable}} instances? On one hand there is 
{{org.apache.jackrabbit.oak.security.user.AuthorizableImpl}}, which overrides 
{{equals}} and then there is 
{{org.apache.jackrabbit.oak.security.user.autosave.AuthorizableImpl}}, which 
does not. 

When are to {{Authorizable}} instances considered {{equal}}? This matters in 
order to avoid schizophrenia when it comes to wrapping those instances into 
their delegator counterparts.  

 OAK-938 incomplete: session refresh must also be reflected on derived 
 interfaces
 

 Key: OAK-1124
 URL: https://issues.apache.org/jira/browse/OAK-1124
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: jcr
Reporter: angela
Assignee: Michael Dürig
 Fix For: 0.14


 OAK-938 only wraps the UserManager; what is required in order to fully 
 reflect the refresh was to also wrap:
 - Authorizable
 - User
 - Group
 - Impersonation



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (OAK-1124) OAK-938 incomplete: session refresh must also be reflected on derived interfaces

2013-12-15 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13848839#comment-13848839
 ] 

Tobias Bocanegra commented on OAK-1124:
---

afaik, {{Principal}} is immutable. and If not, we should define it as such 
(e.g. {{Authorizable.getPrincipal()}} always returns an immutable principal)

 OAK-938 incomplete: session refresh must also be reflected on derived 
 interfaces
 

 Key: OAK-1124
 URL: https://issues.apache.org/jira/browse/OAK-1124
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: jcr
Reporter: angela
Assignee: Michael Dürig
 Fix For: 0.14


 OAK-938 only wraps the UserManager; what is required in order to fully 
 reflect the refresh was to also wrap:
 - Authorizable
 - User
 - Group
 - Impersonation



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (OAK-1124) OAK-938 incomplete: session refresh must also be reflected on derived interfaces

2013-12-13 Thread JIRA

[ 
https://issues.apache.org/jira/browse/OAK-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13847646#comment-13847646
 ] 

Michael Dürig commented on OAK-1124:


[~anchela], what about {{Principal}}?

 OAK-938 incomplete: session refresh must also be reflected on derived 
 interfaces
 

 Key: OAK-1124
 URL: https://issues.apache.org/jira/browse/OAK-1124
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: jcr
Reporter: angela
Assignee: Michael Dürig
 Fix For: 0.14


 OAK-938 only wraps the UserManager; what is required in order to fully 
 reflect the refresh was to also wrap:
 - Authorizable
 - User
 - Group
 - Impersonation



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)


[jira] [Commented] (OAK-1124) OAK-938 incomplete: session refresh must also be reflected on derived interfaces

2013-10-29 Thread angela (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13808008#comment-13808008
 ] 

angela commented on OAK-1124:
-

[~mduerig] maybe you can take care of this? wdyt?

 OAK-938 incomplete: session refresh must also be reflected on derived 
 interfaces
 

 Key: OAK-1124
 URL: https://issues.apache.org/jira/browse/OAK-1124
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: jcr
Reporter: angela
Assignee: Michael Dürig

 OAK-938 only wraps the UserManager; what is required in order to fully 
 reflect the refresh was to also wrap:
 - Authorizable
 - User
 - Group
 - Impersonation



--
This message was sent by Atlassian JIRA
(v6.1#6144)