Frank Otto wrote:
thanks for your fast answer, but I get following error:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'UserManager' is defined
Oh, I confused this with the Jetspeed Service Name.
Try again with:
UserManager userManager =
(UserManager)engine.getComponentManager().getComponent("org.apache.jetspeed.security.UserManager");
Note: these are the Spring bean names as configured in the Spring assembly
files (under WEB-INF/assembly)
Ate Douma schrieb:
Frank Otto wrote:
Hi,
I have an servlet in my jetspeed2 app and I can get the jetspeed engine.
Engine engine = Jetspeed.getEngine();
Is it possible to get the UserManager from the engine?
UserManager userManager =
(UserManager)engine.getComponentManager().getComponent("UserManager");
In other words, how can I get the UserManager in my servlet, because
I have access to jetspeed environment.
kind regards,
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]