Not really, since the easiest way to do this is by using the
unreleased RIFE snapshots. Steven Grimm totally reworked the
authentication system and you can now plug in any factory you want by
just changing the element configuration.
You can get some info from here, for example:
http://rifers.org:8088/browse/rifers/rife/branches/terracotta/src/
framework/com/uwyn/rife/authentication/elements/
DatabaseAuthenticatedDeployer.java?r=3643
This class sets up the default properties of the authentication
element for database authentication. By using a property tag in your
authentication element with the same name a the ones used there, you
can just plug in another session manager factory by specifying its
class name.
Hope that helps.
Best regards,
Geert
On 01 Mar 2007, at 15:13, Maxim Grigoriev wrote:
i see.
is there any documentation or example how to integrate custom
sesion manager
to every place of my application.
Or how can i get default session manager in me element ?
Geert Bevin wrote:
No, you have to override purgeSessions since that causes sessions to
be removed. It's a bit more complex actually, since it's possible
that a session is expired and hasn't been purged yet. You will not
get notification, since when an authentication session will simply be
seen as not valid. Your best best actually, is to work with
SessionManager.listSessions I think. This will give you all the
active and valid sessions.
--
View this message in context: http://www.nabble.com/Access-to-Rife-
Rep-from-another-place-tf3305337.html#a9250310
Sent from the RIFE - users mailing list archive at Nabble.com.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users