[jira] [Created] (COCOON3-89) Add feature to limit invalid login attempts

2012-02-14 Thread Ajay Deshwal (Created) (JIRA)
Add feature to limit invalid login attempts
---

 Key: COCOON3-89
 URL: https://issues.apache.org/jira/browse/COCOON3-89
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-shiro
Affects Versions: 3.0.0-beta-1
Reporter: Ajay Deshwal


cocoon-shiro module should provide:
1)  Feature to record invalid login attempts count. On exceeding the predefined 
maximum allowed attempts, its should flag the state that maximum login attempts 
exceeded.
2)  A method in AbstractShiroLogin class to validate some data, which extending 
classes can implement and will be invoked prior to initiating actual login, 
like captcha etc.

--
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] [Updated] (COCOON3-89) Add feature to limit invalid login attempts

2012-02-14 Thread Ajay Deshwal (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ajay Deshwal updated COCOON3-89:


Attachment: COCOON3-89.patch

The attached patch enables AbstractShiroLogin to record invalid login attempts 
in same session and flag it in error response map by setting value of key 
'loginAttemptExceeded' to boolean true. On the basis of this flag, application 
developer can do things like display separate error page or adapt other 
security mechanisms like captcha etc. Maximun number of allowed wrong attempts 
can be configured by overriding getAllowedWrongAttempts() method and returning 
allowed attempts in extending class.

The patch also adds a method validatePreLogin() in AbstractShiroLogin which is 
invoked before initiating login. If this method returns a non-empty map, then 
login is skipped and map data is added to UrlResponse. It can be overridden in 
extending classes to perform validations before login like captcha etc.



 Add feature to limit invalid login attempts
 ---

 Key: COCOON3-89
 URL: https://issues.apache.org/jira/browse/COCOON3-89
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-shiro
Affects Versions: 3.0.0-beta-1
Reporter: Ajay Deshwal
 Attachments: COCOON3-89.patch


 cocoon-shiro module should provide:
 1)  Feature to record invalid login attempts count. On exceeding the 
 predefined maximum allowed attempts, its should flag the state that maximum 
 login attempts exceeded.
 2)  A method in AbstractShiroLogin class to validate some data, which 
 extending classes can implement and will be invoked prior to initiating 
 actual login, like captcha etc.

--
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] [Updated] (COCOON3-89) Add feature to limit invalid login attempts

2012-02-14 Thread Ajay Deshwal (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ajay Deshwal updated COCOON3-89:


Attachment: COCOON3-89.patch

Attaching again as forgot to check 'Grant license to ASF for inclusion' in last 
attachment.

 Add feature to limit invalid login attempts
 ---

 Key: COCOON3-89
 URL: https://issues.apache.org/jira/browse/COCOON3-89
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-shiro
Affects Versions: 3.0.0-beta-1
Reporter: Ajay Deshwal
 Attachments: COCOON3-89.patch, COCOON3-89.patch


 cocoon-shiro module should provide:
 1)  Feature to record invalid login attempts count. On exceeding the 
 predefined maximum allowed attempts, its should flag the state that maximum 
 login attempts exceeded.
 2)  A method in AbstractShiroLogin class to validate some data, which 
 extending classes can implement and will be invoked prior to initiating 
 actual login, like captcha etc.

--
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] [Created] (COCOON3-90) Migrate CSVGenerator

2012-02-14 Thread Thorsten Scherler (Created) (JIRA)
Migrate CSVGenerator


 Key: COCOON3-90
 URL: https://issues.apache.org/jira/browse/COCOON3-90
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
Assignee: Thorsten Scherler
 Fix For: 3.0.0-beta-1


Please migrate the 
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/CSVGenerator.html

--
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] [Closed] (COCOON3-90) Migrate CSVGenerator

2012-02-14 Thread Thorsten Scherler (Closed) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Scherler closed COCOON3-90.


Resolution: Fixed

Committed revision 1243911.

 Migrate CSVGenerator
 

 Key: COCOON3-90
 URL: https://issues.apache.org/jira/browse/COCOON3-90
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
Assignee: Thorsten Scherler
 Fix For: 3.0.0-beta-1


 Please migrate the 
 http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/CSVGenerator.html

--
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] [Assigned] (COCOON3-89) Add feature to limit invalid login attempts

2012-02-14 Thread Thorsten Scherler (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Scherler reassigned COCOON3-89:


Assignee: Thorsten Scherler

 Add feature to limit invalid login attempts
 ---

 Key: COCOON3-89
 URL: https://issues.apache.org/jira/browse/COCOON3-89
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-shiro
Affects Versions: 3.0.0-beta-1
Reporter: Ajay Deshwal
Assignee: Thorsten Scherler
 Attachments: COCOON3-89.patch, COCOON3-89.patch


 cocoon-shiro module should provide:
 1)  Feature to record invalid login attempts count. On exceeding the 
 predefined maximum allowed attempts, its should flag the state that maximum 
 login attempts exceeded.
 2)  A method in AbstractShiroLogin class to validate some data, which 
 extending classes can implement and will be invoked prior to initiating 
 actual login, like captcha etc.

--
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] [Closed] (COCOON3-89) Add feature to limit invalid login attempts

2012-02-14 Thread Thorsten Scherler (Closed) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thorsten Scherler closed COCOON3-89.


Resolution: Fixed

Committed revision 1243917.

 Add feature to limit invalid login attempts
 ---

 Key: COCOON3-89
 URL: https://issues.apache.org/jira/browse/COCOON3-89
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-shiro
Affects Versions: 3.0.0-beta-1
Reporter: Ajay Deshwal
Assignee: Thorsten Scherler
 Attachments: COCOON3-89.patch, COCOON3-89.patch


 cocoon-shiro module should provide:
 1)  Feature to record invalid login attempts count. On exceeding the 
 predefined maximum allowed attempts, its should flag the state that maximum 
 login attempts exceeded.
 2)  A method in AbstractShiroLogin class to validate some data, which 
 extending classes can implement and will be invoked prior to initiating 
 actual login, like captcha etc.

--
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] (COCOON3-89) Add feature to limit invalid login attempts

2012-02-14 Thread Ajay Deshwal (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13207709#comment-13207709
 ] 

Ajay Deshwal commented on COCOON3-89:
-

Thanks you

 Add feature to limit invalid login attempts
 ---

 Key: COCOON3-89
 URL: https://issues.apache.org/jira/browse/COCOON3-89
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-shiro
Affects Versions: 3.0.0-beta-1
Reporter: Ajay Deshwal
Assignee: Thorsten Scherler
 Attachments: COCOON3-89.patch, COCOON3-89.patch


 cocoon-shiro module should provide:
 1)  Feature to record invalid login attempts count. On exceeding the 
 predefined maximum allowed attempts, its should flag the state that maximum 
 login attempts exceeded.
 2)  A method in AbstractShiroLogin class to validate some data, which 
 extending classes can implement and will be invoked prior to initiating 
 actual login, like captcha etc.

--
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] (COCOON3-89) Add feature to limit invalid login attempts

2012-02-14 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13207727#comment-13207727
 ] 

Hudson commented on COCOON3-89:
---

Integrated in Cocoon-trunk #140 (See 
[https://builds.apache.org/job/Cocoon-trunk/140/])
COCOON3-89
Reporter:
Ajay Deshwal 
Add feature to limit invalid login attempts

Thanks Ajay for your patch (Revision 1243917)

 Result = SUCCESS
thorsten : http://svn.apache.org/viewvc/?view=revrev=1243917
Files : 
* 
/cocoon/cocoon3/trunk/cocoon-shiro-sample/src/main/java/org/apache/cocoon/shiro/sample/rest/LoginUser.java
* 
/cocoon/cocoon3/trunk/cocoon-shiro/src/main/java/org/apache/cocoon/shiro/rest/AbstractShiroLogin.java


 Add feature to limit invalid login attempts
 ---

 Key: COCOON3-89
 URL: https://issues.apache.org/jira/browse/COCOON3-89
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-shiro
Affects Versions: 3.0.0-beta-1
Reporter: Ajay Deshwal
Assignee: Thorsten Scherler
 Attachments: COCOON3-89.patch, COCOON3-89.patch


 cocoon-shiro module should provide:
 1)  Feature to record invalid login attempts count. On exceeding the 
 predefined maximum allowed attempts, its should flag the state that maximum 
 login attempts exceeded.
 2)  A method in AbstractShiroLogin class to validate some data, which 
 extending classes can implement and will be invoked prior to initiating 
 actual login, like captcha etc.

--
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] (COCOON3-90) Migrate CSVGenerator

2012-02-14 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13207728#comment-13207728
 ] 

Hudson commented on COCOON3-90:
---

Integrated in Cocoon-trunk #140 (See 
[https://builds.apache.org/job/Cocoon-trunk/140/])
COCOON3-90
Migrating CSVGenerator fom 2.2 to c3.
Extending the generator to work as well with string input and not only with url.
Adding basic test case. (Revision 1243911)

 Result = SUCCESS
thorsten : http://svn.apache.org/viewvc/?view=revrev=1243911
Files : 
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/csv
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/csv/CSVGenerator.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/pipeline/components/parameters/Parameters.java
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/main/resources/META-INF/cocoon/spring-optional/cocoon-optional-generators.xml
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/csv
* 
/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/csv/CSVGeneratorTest.java


 Migrate CSVGenerator
 

 Key: COCOON3-90
 URL: https://issues.apache.org/jira/browse/COCOON3-90
 Project: Cocoon 3
  Issue Type: New Feature
  Components: cocoon-optional
Affects Versions: 3.0.0-beta-1
Reporter: Thorsten Scherler
Assignee: Thorsten Scherler
 Fix For: 3.0.0-beta-1


 Please migrate the 
 http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/CSVGenerator.html

--
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