Are you handling AuthorizeRequest?
How do the method look like?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Berkenbosch
Sent: Friday, August 04, 2006 10:17 PM
To: [email protected]
Subject: Re: [Castle-users] Getting IPrinciple as Model Object
Richard, Oren
You are hitting the nail on his head. I use Formbased authentication, based on
the sample Oren provided (MythicalBugTracking).
I need to have at some point the Models.User object to add it as a property to
another object.
Any advice howto approach that ? Add the current user into the session is not
really a neat solution i suppose ?
Thanks
Peter
2006/8/4, Ayende Rahien < [EMAIL PROTECTED]>:
That depends on the
authentication you have.
Hi List,
I suppose this is something rather trivial but I can;t seem te find it. I would
like to display the properties of the current logged in user. This is ofcourse
an IPrinciple.
Suppose I have an User model that simply implements the IPrinciple interface. I
then should be able to do something like :
MyModel.User user = Context.CurrentUser as MyModel.User
Or is the wine that I've been drinking the issue ? :)
Thanks
Peter
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users
|
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users