Re: problem logging into webapp using acegi

2012-03-11 Thread harishpatarla

Here is the full stack trace. I have integrated it with our organisation’s
ldap server. I have given my username password in managerDn and
managerPassword property of initialDirContextFactory bean.
I am able to login.I have given the roles of the user as
@secured({role1,role2,role3}).If you say the user trying to login does not
have permissions for page then how do we provide that.

2012-03-08 12:26:36,826 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.providers.ProviderManager (ProviderManager.java:190) -
Authentication attempt using
org.acegisecurity.providers.ldap.LdapAuthenticationProvider
2012-03-08 12:26:36,826 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.providers.ldap.LdapAuthenticationProvider
(LdapAuthenticationProvider.java:220) - Retrieving user dubeys
2012-03-08 12:26:36,827 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.ldap.search.FilterBasedLdapUserSearch
(FilterBasedLdapUserSearch.java:110) - Searching for user 'dubeys', with
user search [ searchFilter: 'sAMAccountName={0}', searchBase:
'ou=IGGroup,ou=IG Users', scope: subtreesearchTimeLimit: 0derefLinkFlag:
false ]
2012-03-08 12:26:36,827 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.ldap.DefaultInitialDirContextFactory
(DefaultInitialDirContextFactory.java:176) - Creating InitialDirContext with
environment
{java.naming.provider.url=ldap://igdc.igi.ig.local:389/dc=igi,dc=ig,dc=local,
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.security.principal=CN=Harish
Patharla,OU=IGIndia,OU=IGGroup,OU=IG Users,DC=igi,DC=ig,DC=local,
com.sun.jndi.ldap.connect.pool=true,
java.naming.security.authentication=simple,
java.naming.security.credentials=**}
2012-03-08 12:26:36,993 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.ldap.DefaultInitialDirContextFactory
(DefaultInitialDirContextFactory.java:176) - Creating InitialDirContext with
environment
{java.naming.provider.url=ldap://igdc.igi.ig.local:389/dc=igi,dc=ig,dc=local,
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.security.principal=CN=Shubhang Dubey,OU=IGIndia,ou=IGGroup,ou=IG
Users,dc=igi,dc=ig,dc=local, java.naming.security.authentication=simple,
java.naming.security.credentials=**}
2012-03-08 12:26:37,476 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator
(DefaultLdapAuthoritiesPopulator.java:178) - Getting authorities for user
CN=Shubhang Dubey,OU=IGIndia,ou=IGGroup,ou=IG Users,dc=igi,dc=ig,dc=local
2012-03-08 12:26:37,478 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator
(DefaultLdapAuthoritiesPopulator.java:224) - Searching for roles for user
'dubeys', DN = 'CN=Shubhang Dubey,OU=IGIndia,ou=IGGroup,ou=IG
Users,dc=igi,dc=ig,dc=local', with filter (member={0}) in search base
'ou=Role,ou=Security Groups,ou=Administrative Area'
2012-03-08 12:26:37,479 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.ldap.DefaultInitialDirContextFactory
(DefaultInitialDirContextFactory.java:176) - Creating InitialDirContext with
environment
{java.naming.provider.url=ldap://igdc.igi.ig.local:389/dc=igi,dc=ig,dc=local,
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.security.principal=CN=Harish
Patharla,OU=IGIndia,OU=IGGroup,OU=IG Users,DC=igi,DC=ig,DC=local,
com.sun.jndi.ldap.connect.pool=true,
java.naming.security.authentication=simple,
java.naming.security.credentials=**}
2012-03-08 12:26:37,634 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator
(DefaultLdapAuthoritiesPopulator.java:232) - Roles from search:
[RLE-BLR-DEV-QA Engineer 4-staff]
2012-03-08 12:26:37,635 INFO  ["http-apr-8080"-exec-7]
uk.co.igindex.regression.web.pages.Login (Login.java:79) - authResult is :
org.acegisecurity.providers.UsernamePasswordAuthenticationToken@415cd0cc:
Username: org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@1679bb1;
Password: [PROTECTED]; Authenticated: true; Details: null; Granted
Authorities: ROLE_RLE-BLR-DEV-QA ENGINEER 4-STAFF
2012-03-08 12:26:37,641 DEBUG ["http-apr-8080"-exec-7]
org.slf4j.helpers.MarkerIgnoringBase (MarkerIgnoringBase.java:74) - Dispatch
event: ComponentEvent[passivate from (self)]
2012-03-08 12:26:37,642 DEBUG ["http-apr-8080"-exec-7]
org.acegisecurity.context.HttpSessionContextIntegrationFilter
(HttpSessionContextIntegrationFilter.java:411) - SecurityContext stored to
HttpSession: 'org.acegisecurity.context.SecurityContextImpl@415cd0cc:
Authentication:
org.acegisecurity.providers.UsernamePasswordAuthenticationToken@415cd0cc:
Username: org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@1679bb1;
Password: [PROTECTED]; Authenticated: true; Details: null; Granted
Authorities: ROLE_RLE-BLR-DEV-QA ENGINEER 4-STAFF'
2012-03-08 12:26:37,643 DEBUG ["http-apr-8080"-exec-7]
nu.localhost.tapestry.acegi.services.internal.AcegiExceptionTranslationFilter
(AcegiExceptionTranslationFilter.java:70) - Chain processed normally
2012-03-08 1

How do I pass values from one page to another using onSelected

2012-03-11 Thread karthi
Hi All,

   I have a page music.tml and in that page there is a button called
play, In the corresponding music.java there is a method

public String onSelectedFromPlay() {
return "Play";
}


When the user clicked on the button this above method will get invoked and I
return a name "Play" so the page Play will get invoked, here I want to send
a value (url to play the music) from music.tml to play.tml when the user
clicks on the button, how do I achieve that?

Normally I would have used http://tapestry.1045711.n5.nabble.com/How-do-I-pass-values-from-one-page-to-another-using-onSelected-tp5556685p5556685.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: html pentaho report missing some data

2012-03-11 Thread ram89
yes i did, please give me an solution for this problem.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/html-pentaho-report-missing-some-data-tp5550783p5556646.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: problem logging into webapp using acegi

2012-03-11 Thread Harish Patharla
Hi,

Here is the full stack trace. I have integrated it with our organisation's ldap 
server. I have given my username password in managerDn and managerPassword 
property of initialDirContextFactory bean.
Only I am able to login. I have given the roles of the user as 
@secured({role1,role2,role3}).If you say the user trying to login does not have 
permissions for page then how do we provide that.

2012-03-08 12:26:36,826 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.providers.ProviderManager (ProviderManager.java:190) - 
Authentication attempt using 
org.acegisecurity.providers.ldap.LdapAuthenticationProvider
2012-03-08 12:26:36,826 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.providers.ldap.LdapAuthenticationProvider 
(LdapAuthenticationProvider.java:220) - Retrieving user dubeys
2012-03-08 12:26:36,827 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.ldap.search.FilterBasedLdapUserSearch 
(FilterBasedLdapUserSearch.java:110) - Searching for user 'dubeys', with user 
search [ searchFilter: 'sAMAccountName={0}', searchBase: 'ou=IGGroup,ou=IG 
Users', scope: subtreesearchTimeLimit: 0derefLinkFlag: false ]
2012-03-08 12:26:36,827 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.ldap.DefaultInitialDirContextFactory 
(DefaultInitialDirContextFactory.java:176) - Creating InitialDirContext with 
environment 
{java.naming.provider.url=ldap://igdc.igi.ig.local:389/dc=igi,dc=ig,dc=local, 
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, 
java.naming.security.principal=CN=Harish Patharla,OU=IGIndia,OU=IGGroup,OU=IG 
Users,DC=igi,DC=ig,DC=local, com.sun.jndi.ldap.connect.pool=true, 
java.naming.security.authentication=simple, 
java.naming.security.credentials=**}
2012-03-08 12:26:36,993 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.ldap.DefaultInitialDirContextFactory 
(DefaultInitialDirContextFactory.java:176) - Creating InitialDirContext with 
environment 
{java.naming.provider.url=ldap://igdc.igi.ig.local:389/dc=igi,dc=ig,dc=local, 
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, 
java.naming.security.principal=CN=Shubhang Dubey,OU=IGIndia,ou=IGGroup,ou=IG 
Users,dc=igi,dc=ig,dc=local, java.naming.security.authentication=simple, 
java.naming.security.credentials=**}
2012-03-08 12:26:37,476 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator 
(DefaultLdapAuthoritiesPopulator.java:178) - Getting authorities for user 
CN=Shubhang Dubey,OU=IGIndia,ou=IGGroup,ou=IG Users,dc=igi,dc=ig,dc=local
2012-03-08 12:26:37,478 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator 
(DefaultLdapAuthoritiesPopulator.java:224) - Searching for roles for user 
'dubeys', DN = 'CN=Shubhang Dubey,OU=IGIndia,ou=IGGroup,ou=IG 
Users,dc=igi,dc=ig,dc=local', with filter (member={0}) in search base 
'ou=Role,ou=Security Groups,ou=Administrative Area'
2012-03-08 12:26:37,479 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.ldap.DefaultInitialDirContextFactory 
(DefaultInitialDirContextFactory.java:176) - Creating InitialDirContext with 
environment 
{java.naming.provider.url=ldap://igdc.igi.ig.local:389/dc=igi,dc=ig,dc=local, 
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, 
java.naming.security.principal=CN=Harish Patharla,OU=IGIndia,OU=IGGroup,OU=IG 
Users,DC=igi,DC=ig,DC=local, com.sun.jndi.ldap.connect.pool=true, 
java.naming.security.authentication=simple, 
java.naming.security.credentials=**}
2012-03-08 12:26:37,634 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator 
(DefaultLdapAuthoritiesPopulator.java:232) - Roles from search: [RLE-BLR-DEV-QA 
Engineer 4-staff]
2012-03-08 12:26:37,635 INFO  ["http-apr-8080"-exec-7] 
uk.co.igindex.regression.web.pages.Login (Login.java:79) - authResult is : 
org.acegisecurity.providers.UsernamePasswordAuthenticationToken@415cd0cc: 
Username: org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@1679bb1; 
Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: 
ROLE_RLE-BLR-DEV-QA ENGINEER 4-STAFF
2012-03-08 12:26:37,641 DEBUG ["http-apr-8080"-exec-7] 
org.slf4j.helpers.MarkerIgnoringBase (MarkerIgnoringBase.java:74) - Dispatch 
event: ComponentEvent[passivate from (self)]
2012-03-08 12:26:37,642 DEBUG ["http-apr-8080"-exec-7] 
org.acegisecurity.context.HttpSessionContextIntegrationFilter 
(HttpSessionContextIntegrationFilter.java:411) - SecurityContext stored to 
HttpSession: 'org.acegisecurity.context.SecurityContextImpl@415cd0cc: 
Authentication: 
org.acegisecurity.providers.UsernamePasswordAuthenticationToken@415cd0cc: 
Username: org.acegisecurity.userdetails.ldap.LdapUserDetailsImpl@1679bb1; 
Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: 
ROLE_RLE-BLR-DEV-QA ENGINEER 4-STAFF'
2012-03-08 12:26:37,643 DEBUG ["http-apr-8080"-exec-7] 
nu.localhost.tapestry.acegi.services.internal.AcegiExceptionTranslationFilter 
(Ace

Re: Serving Tapestry5 Assets As Static Resources

2012-03-11 Thread Paul Stanton
nice! i'd like to see the checksum approach in tapestry and since css is 
already modified on the way out, the checksum url 'could' be applied to 
relative paths in css? maybe...


On 12/03/2012 12:02 AM, Dmitry Gusev wrote:

FYI:

http://dmitrygusev.blogspot.com/2012/03/serving-tapestry5-assets-as-static.html



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



SXSW Meet Up

2012-03-11 Thread trsvax
Now that it stopped raining any Tapestry users in Austin for SXSW that would
like to meet up somewhere?

Barry

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/SXSW-Meet-Up-tp709p709.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Serving Tapestry5 Assets As Static Resources

2012-03-11 Thread Dmitry Gusev
FYI:

http://dmitrygusev.blogspot.com/2012/03/serving-tapestry5-assets-as-static.html

-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Simple CMS / content editor component

2012-03-11 Thread Dragan Sahpaski
Hi,
On Sun, Mar 11, 2012 at 10:54 AM, Ville  wrote:

> Hi,
>
> it is way cleaner, but essentially just provides the ckeditor. It is
> missing
> solution for proper file upload capabilities and associated security checks
> etc. Take a look at http://www.neele.name/filebrowser/ckeditor.php for an
> example. This is needed by us to provide "edit the whole page wysiwyg"
> functionality, so that users are able to embed images, flashes etc. from
> their machine to the web page without separate uploads etc.
>

Agree. Probably the cleanest solutions are:
1. Integrate CKFinder (by the same people that do CKEditor)
http://ckfinder.com/demo. This is very easy to integrate, the only thing I
don't like is the use of flash for file uploads, IDK if there is another
option except flash.
2. Provide only the file upload functionality with something like the
tapestry5-jquery fileupload component
http://tapestry5-jquery.com/components/docsajaxupload.

Cheers,
Dragan Sahpaski



>
> At the time I wrote the original ckeditor I couldn't find decent file
> browser and ended up doing a lot of work to get the file browser function
> right - it isn't pretty and needs a rewrite. (Now days that might be
> trivial
> too if there is proper solution for it.)
>
>  - Ville
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Simple-CMS-content-editor-component-tp5494712p5554345.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Simple CMS / content editor component

2012-03-11 Thread Ville
Hi,

it is way cleaner, but essentially just provides the ckeditor. It is missing
solution for proper file upload capabilities and associated security checks
etc. Take a look at http://www.neele.name/filebrowser/ckeditor.php for an
example. This is needed by us to provide "edit the whole page wysiwyg"
functionality, so that users are able to embed images, flashes etc. from
their machine to the web page without separate uploads etc.

At the time I wrote the original ckeditor I couldn't find decent file
browser and ended up doing a lot of work to get the file browser function
right - it isn't pretty and needs a rewrite. (Now days that might be trivial
too if there is proper solution for it.)

 - Ville

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Simple-CMS-content-editor-component-tp5494712p5554345.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Gird or DataTable add complex column

2012-03-11 Thread Emmanuel DEMEY
You can also check the demo on tapestry5-jquery website :
http://tapestry5-jquery.com/components/docsdatatables

2012/3/10 trsvax 

> see
> http://tapestry.apache.org/beaneditform-guide.html
>
> This is for editing you can also have display blocks that work in a grid
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Gird-or-DataTable-add-complex-column-tp5553061p5553319.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr

Twitter : @gillespie59