Thanks Kalle -- you've made it easy for me!!!
I added this to my AppModule and it works perfectly:
@Startup
public static void
specifyAuthenticationStrategy(@InjectService("ModularRealmAuthenticator") ModularRealmAuthenticator
mra)
{
mra.setAuthenticationStrategy(new F
se; both will use username/password
> authentication, and thus the same authentication token type. They are
> mutually exclusive - any given user will be found in one realm and not
> found in the other, so I will always have one realm that fails to
> authenticate.
> I see that in Tynamo the
I'm using Tynamo Tapestry-Security 0.6.0 with Tapestry 5.4, and finding
it a very useful tool!!
I am implementing two realms for two different classes of users that are
stored in different tables in the database; both will use
username/password authentication, and thus the same authentic
Hi,
thanks for your advise.
I'll check if I can change to tapestry-security.
>>> "Thiago H de Paula Figueiredo" 10.04.2014 15:10 >>>
On Thu, 10 Apr 2014 09:40:56 -0300, Marco Wulf wrote:
Hi all,
Hi!
I use shiro-1.2.1 for web security implementations.
Are you using tapestry-security
On Thu, 10 Apr 2014 09:40:56 -0300, Marco Wulf wrote:
Hi all,Hi!I use shiro-1.2.1 for web security implementations.Are you using tapestry-security (Tapestry-Shiro integration)? If not, the problem is probably not in Tapestry, as your Tapestry code is just using Shiro and very probably wouldn't ha
Hi all,
I've an webapplication with a loginform. The user has to authenticate and
authorize agains the LDAP system.
...
Subject subj = SecurityUtils.getSubject();
subj.getSession(true);
UsernamePasswordToken token =
new UsernamePasswordToken(userName, password, true);
token.setRememberMe(true)
Hi all,
I've an webapplication with a loginform. The user has to authenticate and
authorize agains the LDAP system.
...
Subject subj = SecurityUtils.getSubject();
subj.getSession(true);
UsernamePasswordToken token =
new UsernamePasswordToken(userName, password, true);
token.setRememberMe(true)
Hi,
thanks Lenny for your suggestion. I already saw this project yesterday.
As it does more than i need, i decided me against it. Maybe i will have
a look on it when i have more time.
Thanks Kalle, overriding the SubjectFactory works perfectly. I will have
a look on the RollingToken, it sounds in
On Tue, Jul 9, 2013 at 10:55 AM, D.R. wrote:
> i want to use the rememberme for a failover. I have overridden the
> org.apache.shiro.web.mgt.CookieRememberMeManager to build my rememberme
> cookies the way i want. As shiro does not support login on rememberme
> out of the box, i want to ask where
The FlowLogix library supports Tapestry-Security login with remember me out of
the box:
http://code.google.com/p/flowlogix
On Jul 9, 2013, at 1:55 PM, D.R. wrote:
> Hi @all,
>
> i want to use the rememberme for a failover. I have overridden the
> org.apache.shiro.web.mgt.CookieRememberMeManager
Hi @all,
i want to use the rememberme for a failover. I have overridden the
org.apache.shiro.web.mgt.CookieRememberMeManager to build my rememberme
cookies the way i want. As shiro does not support login on rememberme
out of the box, i want to ask where the best place is to do the
subject.login()?
Thanks for your answer
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/CAS-authentication-and-Form-tp5718453p5718476.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To
On 12/03/2012 03:08 AM, rere16 wrote:
Hello,
I would like to secure a Spring application. For now, the authentication
works perfectly with the CAS. However, I would add the ability to
authenticate with a separate form. In the applicationContext file, I use a
casAuthenticationProvider
Hello,
I would like to secure a Spring application. For now, the authentication
works perfectly with the CAS. However, I would add the ability to
authenticate with a separate form. In the applicationContext file, I use a
casAuthenticationProvider
t 6:50 AM, Paul Stanton wrote:
>
>> Hi group,
>>
>> Is it recommended to use a security module such as tynamo's
>> tapestry-security when all you require is username/password authentication
>> to a couple of pages?
>>
>
> If the project is go
Hi
On Mar 19, 2012, at 6:50 AM, Paul Stanton wrote:
> Hi group,
>
> Is it recommended to use a security module such as tynamo's tapestry-security
> when all you require is username/password authentication to a couple of pages?
>
If the project is going to stay at &
Hi group,
Is it recommended to use a security module such as tynamo's
tapestry-security when all you require is username/password
authentication to a couple of pages?
Is there a simpler add-on module?
Is 'roll-your-own' a generally accepted practice for a simple
implementa
here, but the framework repeatedly sets it up for each
request. The purpose of the (Simple)[AuthenticationInfo][3] is to
represent "a Subject's (aka user's) stored account information
relevant to the authentication/log-in process only". The realm's
responsibility is to
UserAccount user = findByUsername(username);
return new SimpleAuthenticationInfo(username,
user.getEncodedPassword(),
new SimpleByteSource(user.getPasswordSalt()), getName());
}
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/shiro-authenticati
On Tue, 22 Nov 2011 07:46:40 -0200, Jens Reufsteck
wrote:
Ok, seems logical. Now, I'm probably totally stupid and stuck at a
different edge:
The ApplicationStateManager throws
java.lang.ClassCastException: stb.admin2.base.SessionStoredUser cannot
be cast to stb.admin2.base.SessionStoredU
ubject: Re: Tynamo: Store additional user data during authentication
On Mon, Nov 21, 2011 at 4:44 AM, Jens Reufsteck <
jens.reufst...@staufenbiel.de> wrote:
> Hi, sorry if this has been asked before, though I couldn’t find
> anything about it.
>
> I’ve just started to use
On Mon, Nov 21, 2011 at 4:44 AM, Jens Reufsteck <
jens.reufst...@staufenbiel.de> wrote:
> Hi, sorry if this has been asked before, though I couldn’t find anything
> about it.
>
> I’ve just started to use Tapestry security instead of our own light weigth
> authentication
Hi, sorry if this has been asked before, though I couldnt find anything
about it.
Ive just started to use Tapestry security instead of our own light weigth
authentication system. Works fine so far thanks to the developers!
Now, I want to display the real name for logged in users. Its
://tapestry.1045711.n5.nabble.com/Custom-error-page-for-HTTP-error-401-with-basic-authentication-tp2421869p4461144.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
I already did what you tell me Mark, I think I will have to use OAuth
authentication.
2011/1/21 Mark :
> It seems unlikely that this is a Tapestry issue. Best I can tell you
> are saying that when you run your unit tests you can connect, but
> when you try to do it from withint a Tapes
sts don't need to pass username/password but
> you do in Tapestry? That sounds fishy.
>
> Josh
>
> On Fri, Jan 21, 2011 at 2:14 AM, AlbertoAlmagro
> wrote:
>>
>> I can't believe that nobody knows the solution or even a hint for this
>> issue...
&g
ve that nobody knows the solution or even a hint for this
> issue...
>
> Any help please?
>
> Thank you so much...
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Http-Basic-authentication-with-Tapestry-tp3348700p3351113.html
> S
s message in context:
> http://tapestry.1045711.n5.nabble.com/Http-Basic-authentication-with-Tapestry-tp3348700p3351113.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe,
could be a good alternative to use OAuth, Can you help me with the
problem of the variable address and the one of the
tutorial/documentation?
Thank you so much,
Alberto
2011/1/21 Werner Keil :
> Have you considered OpenId or OAuth for authentication, or are those not
> supported by OpenStreetM
Have you considered OpenId or OAuth for authentication, or are those not
supported by OpenStreetMap so far?
On Fri, Jan 21, 2011 at 3:44 PM, AlbertoAlmagro wrote:
>
> I can't believe that nobody knows the solution or even a hint for this
> issue...
>
> Any help please?
&
I can't believe that nobody knows the solution or even a hint for this
issue...
Any help please?
Thank you so much...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Http-Basic-authentication-with-Tapestry-tp3348700p3351113.html
Sent from the Tapestry - User ma
ginMail(), cuentaOsm
.getOsmClearPassword()));
Thank you in advance,
Alberto
2011/1/20 Josh Canfield :
>> I'm developing an application that needs to connect to OpenStreetMap API
>> with Http basic authentication.
>
> It doesn't seem
> I'm developing an application that needs to connect to OpenStreetMap API
> with Http basic authentication.
It doesn't seem to make sense that Tapestry would have anything to do with this.
You are getting a 401 Unauthorized error, are you sure you are
providing valid credentials
Hello,
I'm developing an application that needs to connect to OpenStreetMap API
with Http basic authentication.
I use Hibernate, Spring, Tapestry and maven. When I run the maven tests it
uses the Spring test support and it does the authentication successfully via
HttpClient. The problem is
ching to 5.0.19 it is not working any more. It simply shows the
> components of the page including data!
>
You mean, authentication is bypassed ? That would mean Acegi is not called,
thus check mappings in your acegi configuration files
>
> I have no clue where to start digging. I wen
Hi all,
I am currently facing a nasty issue that is haunting me for the past
couple of days. When a user tries to access a specific URL he should be
forwarded to the login page. This was working before (Tapestry 5.0.11)
but after switching to 5.0.19 it is not working any more. It simply
show
ves the user from DB, have a look
the stack in eclipse debug mode, identifiy the Authentication Spring Filter,
go into this stackframe and debug step by step to see what's happening after
user retrieval.
Note that we use spring-security (w/o tapestry-spring-security) at
http://github.co
My advice is to debug your application to check if the password encoding at
login time is the same as the one you provided at creation time.
Put a break point in the method that retrieves the user from DB, have a look
the stack in eclipse debug mode, identifiy the Authentication Spring Filter,
go
The way I encode the password is using the following create method in
UserServiceImpl:
...
public UserServiceImpl(PasswordEncoder encoder, SaltSource salt, UserDAO
userDao, Logger logger, IRoleService roleService) {
this.encoder = encoder;
this.salt = salt;
this.userDao
Have you checked that the encoder used by Spring filter is the same you use
to encode it in your DB ?
Password Encoding is made of a salt and an algorithm.
2010/6/10 Daniel Henze
> Thanks for your reply.
>
> Yes, I did check that. And it's ok, lovely long and encrypted passwords.
>
> Daniel
>
Thanks for your reply.
Yes, I did check that. And it's ok, lovely long and encrypted passwords.
Daniel
Am 10.06.2010 09:51, schrieb Christophe Cordenier:
Hi
I guess you already did it but have you checked if the password is stored in
SHA1 ?
2010/6/10 Daniel Henze
Hi there,
I installed
Hi
I guess you already did it but have you checked if the password is stored in
SHA1 ?
2010/6/10 Daniel Henze
> Hi there,
>
> I installed Tapestry-Spring-Security and followed the installation and
> configuration advise. But I have no luck as the login does not work for me
> and always returns
Hi there,
I installed Tapestry-Spring-Security and followed the installation and
configuration advise. But I have no luck as the login does not work for
me and always returns "Username and/or password was wrong!". There was a
recent post about the "Bad credentials" and it was the wrong SaltSer
Hi folks,
I'm trying to configure a custom error page for the HTTP error 401
(authentication failed).
See appenix for my web.xml. Without the error-page-Tag everything works
fine. This means
that an authentication window pops up. The HTTP response containt the
following line:
Em Thu, 16 Jul 2009 15:28:16 -0300, Pete Poulos
escreveu:
Hi,
Hi!
A partial answer . . .
I'm very new to web development in general and tapestry in particular,
Welcome to the Tapestry mailing list! :)
Database Connectivity (preferably with Hibernate, as I've already
invested some tim
approaches for the following things:
Security
Authentication and Role based authentication
Credit Card transaction processing and other billing methods (such as PayPal).
Database Connectivity (preferably with Hibernate, as I've already
invested some time learning this API).
- I have seen th
timer start again every
>> time the client accesses the session?,
>
> This is a servlet container issue.
>
>
--
View this message in context:
http://www.nabble.com/T5.1-User-authentication%2C-session-expiring-even-though-sso-is-accessed-every-request-tp24475080p24490
Em Tue, 14 Jul 2009 04:44:40 -0300, kartweel
escreveu:
Hi,
Hi!
I'm scratching my head a bit with my "user" object expiring in the
session. I'm using the dispatcher method for setting up access control
as in the wiki (
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 )
Have a look at chenillekit-access source code, there could be hints for you.
Cheers
--
Massimo
http://meridio.blogspot.com
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h.
ew this message in context:
http://www.nabble.com/T5.1-User-authentication%2C-session-expiring-even-though-sso-is-accessed-every-request-tp24475080p24475080.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
T
On Mon, Jul 13, 2009 at 7:15 PM, Sergey Didenko wrote:
> Is it true that the only ways to have "remember me" feature for
> authentication are
>
> 1) to use spring security
> 2) to implement it manually (and call it in Dispatcher or RequestFilter)
>
> As I underst
Is it true that the only ways to have "remember me" feature for
authentication are
1) to use spring security
2) to implement it manually (and call it in Dispatcher or RequestFilter)
As I understand chenillekit-access does not support it, right?
Regar
Beirut, Bucharest,
Istanbul
Subject: Re: Pause after successfull authentication
Ok let me try to explain my scenario in detail:
I have custom filter extending AuthenticationProcessingFilter. So as user
tries to logon i call attemptAuthentication method of custome class. After
user is authentica
pestry.apache.org
> Sent: Friday, 8 May, 2009 07:58:17 GMT +02:00 Athens, Beirut, Bucharest,
> Istanbul
> Subject: Re: Pause after successfull authentication
>
>
> First sorry peter for late reply. Actually i have done almost same by
> adding
> dummy loop but that work ra
r answer by posting to the appropriate list.
>
> Kind regards,
> Peter
>
>
> - Original Message -
> From: "aahsanJamshaid"
> To: users@tapestry.apache.org
> Sent: Friday, 8 May, 2009 07:58:17 GMT +02:00 Athens, Beirut, Bucharest,
> Istanbul
>
Subject: Re: Pause after successfull authentication
First sorry peter for late reply. Actually i have done almost same by adding
dummy loop but that work randomly. Sometime it works and sometime not. Is
there any configuration in acegi/spring to wait until request fwded manually
or adding some d
rest, Istanbul
> Subject: Pause after successfull authentication
>
>
> I have a application with acegi configured through spring. It uses Spring,
> Tapestry, Hivemodule. I do manul authentication in tapestry java file by
> ProcessingFilterClassObject.attemptAuthentication( user
Hi everyone,
Basically my question is a very broad one about integrating Tapestry with
remote authentication and authorization protocols, if this question is a little
off topic I apologize in advance... I have an upcoming project to think about,
and thought I should get some expert opinions
Ahhh, just as I wanted to go home after deploying the app to the
tomcat server and baaammm - the app crashes. So if it works on Jetty
6.1.14 and crashes on Tomcat 6.0.14, can the web.xml be the bad guy? I
am using T5.0.18
http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/
Found a solution. The login is now protected as google account is -
with captcha after 5 failed retries.
The thing that bothers me is this stack trace in the console which is
triggered by pressing the login submit button:
2009-03-26 16:44:51.494::WARN: /login.lform
java.lang.NullPointerException
Hello,
I would like to display a CAPTCHA challenge to a user after 3 failed
login attempts. If using tapestry5-spring-security 2.0.1 the form
looks like:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
action="${loginCheckUrl}" method="POST">
Username and/or password was wrong!
Us
How about:
while(taskInProgress){
Thread.sleep(SLEEP_INTERVAL);
}
- Original Message -
From: "aahsanJamshaid"
To: users@tapestry.apache.org
Sent: Friday, 27 February, 2009 15:45:35 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Pause after successfull authenticatio
I have a application with acegi configured through spring. It uses Spring,
Tapestry, Hivemodule. I do manul authentication in tapestry java file by
ProcessingFilterClassObject.attemptAuthentication( username, password ).
Everything works good, and after successfull authentication user is
e a
> security module. I'd be happy, if you want to help though. Just email me and
> I'll set you up.
>
> Stephan
>
> -
> --
> http://www.caimito.net - Caimito One Team - Agile Collaboration and Planning
> tool
> http://www.stephan-schwab.com - Personal blog
&g
://www.stephan-schwab.com - Personal blog
http://code.google.com/p/tapestry-sesame - Authentication extension for
Tapestry 5
--
View this message in context:
http://www.nabble.com/Security---Authentication-extension-for-Tapestry-5-tp19920327p21963378.html
Sent from the Tape
-
>>> --
>>> Caimito One Team - Agile Collaboration and Planning tool
>>> http://www.caimito.net
>>> http://www.stephan-schwab.com
>>> --
>>> View this message in context:
>>>
>>> http://www.nabble.com/Security---Authenticatio
llaboration and Planning tool
http://www.caimito.net
http://www.stephan-schwab.com
--
View this message in context:
http://www.nabble.com/Security---Authentication-extension-for-Tapestry-5-tp19920327p19921453.html
Sent from the Tapestry - User mailing list archiv
Em Wed, 11 Feb 2009 15:17:42 -0300, Kalle Korhonen
escreveu:
Anything came out of this or any other jsecurity integration with T5? I
see tapestry-sesame project hasn't gotten out of the starting block. I'm
going to start using jsecurity but wouldn't mind using/borrowing code
from others.
/www.stephan-schwab.com
> --
> View this message in context:
> http://www.nabble.com/Security---Authentication-extension-for-Tapestry-5-tp19920327p19921453.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> --
Ups, that was beers :-)
2009/1/23 Borut Bolčina
> 100 bears for Ulrich!
>
> It works. You made my day. Thanks,
>
> -Borut
>
> 2009/1/23 Ulrich Stärk
>
> Hi Borut,
>>
>> the problem was that both the OpenIdProcessingFilter and the filter used
>
100 bears for Ulrich!
It works. You made my day. Thanks,
-Borut
2009/1/23 Ulrich Stärk
> Hi Borut,
>
> the problem was that both the OpenIdProcessingFilter and the filter used
> for form-based authentication both were configured for the same url, namely
> spring-security.check
Hi Borut,
the problem was that both the OpenIdProcessingFilter and the filter used
for form-based authentication both were configured for the same url,
namely spring-security.check.url. Therefore both filters tried to
process the credentials entered, which had to fail. I updated the wiki
e
"disable" configuration entry?
The Reference documentation for Spring security on page 53 says:
If you are familiar with the topics discussed in the chapter on namespace
configuration, you can enable
remember-me authentication just by adding the element:
...
It is automatic
Normally, authentication providers are called in order (as in:
OrderedConfiguration). I've never tried using
OpenID, though.
> -Original Message-
> From: Borut Bolčina [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 25, 2008 10:32
> To: Tapestry users
> Subject
Regards,
Borut
2008/11/25 Jonathan Barker <[EMAIL PROTECTED]>:
>
> It's ugly, but you could build one of the two UserDetailServices in the
> contributeProviderManager method, so only one UserDetailsService is visible
> to the RememberMe s
25, 2008 07:29
> To: Tapestry users
> Subject: Re: Authentication
>
> Hi,
>
> only now have I returned to this task. I get http error 500:
>
> Exception constructing service 'RememberMeServices': Error invoking
> service builder method
> nu.localhost.tapestr
uthenticationProvider")
>> AuthenticationProvider openIdAuthenticationProvider) {
>>
>>configuration.add("openIDAuthenticationProvider",
>> openIdAuthenticationProvider);
>>}
>>
>> The above method is part of
>>
, Nov 18, 2008 at 6:47 AM, Michal Hlavac <[EMAIL PROTECTED]> wrote:
hello,
it is possible to use form based authentication with tapestry login
template?
I tryied j2ee security with tapestry 5 and basic auth and it works:
web.xml
Protected Area
dtd'>
Protected
*group name from ldap*
Then in your login page, include:
...
...
...
...
On Tue, Nov 18, 2008 at 6:47 AM, Michal Hlavac <[EMAIL PROTECTED]> wrote:
> hello,
>
> it is possible to use form based authentication with tapestry login
> template?
&g
hello,
it is possible to use form based authentication with tapestry login template?
I tryied j2ee security with tapestry 5 and basic auth and it works:
web.xml
Protected Area
/secured/*
LW_USER
BASIC
; >> Now this method in AppModule is where I am stuck:
> >>
> >>public static void contributeProviderManager(
> >>OrderedConfiguration configuration,
> >>@InjectService("OpenIDAuthenticationProvider")
> >> Auth
dAuthenticationProvider) {
>>
>>configuration.add("openIDAuthenticationProvider",
>> openIdAuthenticationProvider);
>>}
>>
>> The above method is part of
>>
>> http://www.localhost.nu/java/tapestry-spring-security/apidocs/nu/lo
urity/apidocs/nu/localhost/tapestry5/springsecurity/services/SecurityModule.html
.
It allows only one authentication provider, but I need another one:
public static void contributeProviderManager(
OrderedConfiguration configuration,
@InjectService( "DaoAuthenticationPro
ingsecurity/services/SecurityModule.html
.
It allows only one authentication provider, but I need another one:
public static void contributeProviderManager(
OrderedConfiguration configuration,
@InjectService( "DaoAuthenticationProvider" )
AuthenticationProv
Dearest Users,
I am extremely pleased to announce, that a new HowTo article describing
the integration of OpenID authentication with Tapestry, has been added to
the wiki. Please find below [1] the link to the wiki article.
Your most humble, most obedient servant
Uli
[1] http://wiki.apache.org
://www.nabble.com/Security---Authentication-extension-for-Tapestry-5-tp19920327p19921453.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Em Fri, 10 Oct 2008 12:54:49 -0300, Jonathan Barker
<[EMAIL PROTECTED]> escreveu:
I'm a little married to Spring / Acegi but I have looked at jsecurity
(jsecurity.org) and it seems to have a lot less baggage than Acegi.
Perhaps it could provide some of your core functionality?
Code reuse
t; From: Massimo Lusetti [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 10, 2008 11:32
> To: Tapestry users
> Subject: Re: Security / Authentication extension for Tapestry 5
>
> On Fri, Oct 10, 2008 at 5:16 PM, Stephan Schwab <[EMAIL PROTECTED]> wrote:
>
> >
> > H
Em Fri, 10 Oct 2008 12:16:01 -0300, Stephan Schwab <[EMAIL PROTECTED]>
escreveu:
Hi!
Hi! :)
I've created a new project at Google Code and would like to bring it to
your attention for comment and, if you like, collaboration.
The project is called "tapestry-sesame" and will provide someth
On Fri, Oct 10, 2008 at 5:16 PM, Stephan Schwab <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I've created a new project at Google Code and would like to bring it to your
> attention for comment and, if you like, collaboration.
>
> The project is called "tapestry-sesame" and will provide something simila
to join, please
drop me a line.
Greetings,
Stephan Schwab
-
--
Caimito One Team - Agile Collaboration and Planning tool
http://www.caimito.net
http://www.stephan-schwab.com
--
View this message in context:
http://www.nabble.com/Security---Authentication-extension-for-Tapestry-5-tp19920327p199203
I'm implementing security in a Dispatcher. No need to keep security
logic in a page.
On Thu, May 22, 2008 at 4:17 AM, Ulrich Stärk <[EMAIL PROTECTED]> wrote:
> I'd use the pageAttached method.
>
> Uli
>
> Am Do, 22.05.2008, 11:00, schrieb Leon Derks:
>> Hello
>>
>> Is the SetupRender method the co
I'd use the pageAttached method.
Uli
Am Do, 22.05.2008, 11:00, schrieb Leon Derks:
> Hello
>
> Is the SetupRender method the correct place to check if the user has the
> priviliges to view the page?
>
> For example something like this:
>
> @SetupRender
> boolean setupRender() {
> if(user has
Hello,
IMHO, I would have used @OnEvent("activate") phase. No need to wait for
rendering process.
Christophe.
-Message d'origine-
De : Leon Derks [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 22 mai 2008 11:00
À : Tapestry users
Objet : Setup render for authentication check?
Hello
Is the SetupRender method the correct place to check if the user has the
priviliges to view the page?
For example something like this:
@SetupRender
boolean setupRender() {
if(user has priviliges) {
return true;
}
return false;
}
Leon
y 5 - Acegi ,, using LDAP authentication provider
>
>
> Hi Jonathan,
> A quick question, how do you get the authenticationManager object into
> that
> page that you are using???
>
> thanks,
> Jacob
> --
> View this message in context: http://www.nabble.com/T
Hi Jonathan,
A quick question, how do you get the authenticationManager object into that
page that you are using???
thanks,
Jacob
--
View this message in context:
http://www.nabble.com/Tapestry-5---Acegi-%2C%2C-using-LDAP-authentication-provider-tp16330496p16361117.html
Sent from the Tapestry
You do not need to write a UserDetails implementation for LDAP. Acegi
already did it. In fact, the only time I've hit where I needed to implement
a UserDetails object and UserDetailsService was creating my own custom
DAO-based authentication.
Now, if you're needing to save informati
:[EMAIL PROTECTED]
Sent: 28 March 2008 14:34
To: 'Tapestry users'
Subject: RE: Tapestry 5 - Acegi ,, using LDAP authentication provider
All of the classes are from Acegi. The LdapAuthenticationProvider
returns a
LdapUserDetails object.
There are a number of ways to get Acegi to authen
: Tapestry 5 - Acegi ,, using LDAP authentication provider -
other half
I realized I may not have answered your second question.
The configuration built up using
configuration.add("ldapAuthenticationProvider",ldapAuthenticationProvide
r);
is used in the SecurityModule of tapestry5-ac
1 - 100 of 142 matches
Mail list logo