Re: Could Form Based Authentication 1.0.4 be released?

2013-04-19 Thread Fabian Christ
Hi,

I have also created https://issues.apache.org/jira/browse/SLING-2833
to update a dependency in the form based auth bundle.

Best,
 - Fabian

2013/4/19 Fabian Christ christ.fab...@googlemail.com:
 Hi,

 while working with Sling I came to some already resolved issues
 (SLING-1847, SLING-2165) for the form based authenticator.

 Would be great to have a release of the Form Based Authentication
 1.0.4 [1] soon if possible.

 [1] https://issues.apache.org/jira/browse/SLING/fixforversion/12315993

 Best,
  - Fabian

 --
 Fabian
 http://twitter.com/fctwitt



-- 
Fabian
http://twitter.com/fctwitt


Feature Request

2013-04-19 Thread mjkelleher

Hello,

Posted a new feature request: 
https://issues.apache.org/jira/browse/SLING-2834


Some of the standard EE taglibs support this feature, and would be nice 
if sling:include did also.


Thanks,

--mike


Re: Feature Request

2013-04-19 Thread Alexander Klimetschek
Could we have a helper method/service here as well? Not just for JSPs but for 
java code as well.

It's a common question that people want to render a request result into a 
string (or simply get the stream; internally a bytearrayoutputstream probably), 
and the answer yes, you can do that, just build your own dummy 
request/response wrappers and place your own outputstream in there is a bit 
difficult.

Two recent examples that could make use of that in Sling:
- Bertrand's health check which does script execution: 
http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck/hc-sling/src/main/java/org/apache/sling/hc/sling/impl/HttpResponse.java
 (see javadoc)
- web resources (from SLING-2805) that allow for compilers to be written as 
sling script engines (ok, that's just an idea)

Cheers,
Alex

On 19.04.2013, at 16:45, Felix Meschberger fmesc...@adobe.com wrote:

 Hi Mike
 
 I agree, that this would be a nice addition. I don't think this is too
 hard to implement, basically all it takes is wrap the response and
 overwrite the getWriter method to capture the output in a StringBuilder
 which can then be pumped into the variable or StringReader.
 
 Would you be able to come up with a patch ?
 
 Regards
 Felix
 
 On 19.04.13 13:55, mjkelleher mj.kelle...@gmail.com wrote:
 
 Hello,
 
 Posted a new feature request:
 https://issues.apache.org/jira/browse/SLING-2834
 
 Some of the standard EE taglibs support this feature, and would be nice
 if sling:include did also.
 
 Thanks,
 
 --mike