Try add @SecurityDomain at your bean definition:
| @SecurityDomain("esf")
| @Stateless
| @Remote({IMySecuredBean.class})
| public class MySecuredBean implements IMySecuredBean
| {
| ...
| }
|
it works for me.
regards
koper
View the original post :
http://www.jboss.com/index.h
Hi.
As much as I know - You can't. SecurityAssociation is only container for
credentials. But, in your ServerLoginModule You have method getIdentity() which
return logged principal.
On client side try to get this info from LoginContext, with method getSubject().
koper
View the original post
I think JBoss stores password in cache. Try to clear cache after changing
password.
piotr.koper
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152871#4152871
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
g.xml because it uses some bean
which is deployed with AppA.ear.
Any suggestions or critics :-)
sincere
piotr.koper
usefull informations:
* os: windows xp sp2
* jboss version: 4.2.2.GA
* jdk: 1.5.0_u11
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41
|
| jboss.security:service=XMLLoginConfig
|
|
| jboss.security:service=JaasSecurityManager
|
|
|
|
I hope this helps :-)
piotr.koper
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
specific for my login module. Now it works exactly as I
expected.
Many thanks for answer.
piotr.koper
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099448#4099448
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
| {
| // implementations of Local and Remote interfaces
| }
* In my servlet:
LoginContext lc = new LoginContext("sec-domain", instanceOfCallbackHandler);
| lc.login();
Thanks for any help or suggestions
piotr.koper
View the original post :
http://www.jboss.com/index.html
er to LoginModule through InitialContext environment params. Now i have
my own Callback, that implements Callback interface... But in login method i
have an exception: UnsupportedCallbackException. Even when I'm trying to logg
in with LoginContext - the same problem.
piotr.koper
View the original po
loginContext.login();
callbackHandler fills NameCallback and PasswordCallback.
Any suggestion will be appreciate :-)
Regards
piotr.koper
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085356#4085356
Reply to the post :
http://w