[jira] [Commented] (SLING-2349) [Authentication] Osgi event creation for successful login

2012-01-24 Thread Justin Edelson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13192833#comment-13192833
 ] 

Justin Edelson commented on SLING-2349:
---

applied patch more or less as-is in r1235610. Removed logout event. Logout 
event could be revisited later.

 [Authentication] Osgi event creation for successful login
 -

 Key: SLING-2349
 URL: https://issues.apache.org/jira/browse/SLING-2349
 Project: Sling
  Issue Type: New Feature
  Components: Authentication
Affects Versions: Auth Core 1.0.6
Reporter: Nicolas Peltier
Assignee: Justin Edelson
Priority: Minor
 Fix For: Auth Core 1.1.0

 Attachments: SLING-2349-fmeschbe.patch


 Successful authentication (with credentials only?) should create an a logged 
 in osgi event mentionning userid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2349) [Authentication] Osgi event creation for successful login

2012-01-11 Thread Justin Edelson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13184199#comment-13184199
 ] 

Justin Edelson commented on SLING-2349:
---

re: #1, good point. this is done in r1230154

re: #2, I'd contemplated calling the login event ResourceResolverCreated as 
that's really the intent.

Regarding load, this warrants testing. My expectation is that the impact would 
be minimal if there were no listeners for these events.

 [Authentication] Osgi event creation for successful login
 -

 Key: SLING-2349
 URL: https://issues.apache.org/jira/browse/SLING-2349
 Project: Sling
  Issue Type: New Feature
  Components: Authentication
Affects Versions: Auth Core 1.0.6
Reporter: Nicolas Peltier
Assignee: Justin Edelson
Priority: Minor
 Fix For: Auth Core 1.1.0


 Successful authentication (with credentials only?) should create an a logged 
 in osgi event mentionning userid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2349) [Authentication] Osgi event creation for successful login

2012-01-11 Thread Felix Meschberger (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13184779#comment-13184779
 ] 

Felix Meschberger commented on SLING-2349:
--

re #2: As I understand Nicolas' wish it is about getting an initial event when 
someone authenticates for the first time. ResourceResolverCreated events are 
not that useful and I seriously doubt whether Sling Authentication is the 
appropriate place to fire them (this would rather be the task of the 
ResourceResolverFactory sending the created event and the ResourceResolver 
itself sending the closed event when the close() method is called).

I agree, that it might be desirable to have login (when the user first presents 
credentials) and logout events (when Authenticator.logout() is called). Due to 
the asynchronous, stateless design of HTTP (and Sling), it is not easy to track 
the login event on a generic basis. So this must, as I said, be left to the 
AuthenticationHandler and Sling Auth Core might at best provide API to send the 
login and logout events on behalf of the supporting AuthenticationHandler 
service.

 [Authentication] Osgi event creation for successful login
 -

 Key: SLING-2349
 URL: https://issues.apache.org/jira/browse/SLING-2349
 Project: Sling
  Issue Type: New Feature
  Components: Authentication
Affects Versions: Auth Core 1.0.6
Reporter: Nicolas Peltier
Assignee: Justin Edelson
Priority: Minor
 Fix For: Auth Core 1.1.0


 Successful authentication (with credentials only?) should create an a logged 
 in osgi event mentionning userid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (SLING-2349) [Authentication] Osgi event creation for successful login

2012-01-10 Thread Justin Edelson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13183551#comment-13183551
 ] 

Justin Edelson commented on SLING-2349:
---

added Login and Logout events in r1229715

 [Authentication] Osgi event creation for successful login
 -

 Key: SLING-2349
 URL: https://issues.apache.org/jira/browse/SLING-2349
 Project: Sling
  Issue Type: New Feature
  Components: Authentication
Affects Versions: Auth Core 1.0.6
Reporter: Nicolas Peltier
Assignee: Justin Edelson
Priority: Minor
 Fix For: Auth Core 1.1.0


 Successful authentication (with credentials only?) should create an a logged 
 in osgi event mentionning userid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira