Finaly i find my mistake.
"CallerPrinciple" is a key
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167248#4167248
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167248
___
j
And ...
May i not define a new security domain, but reconfigure JBossWS
May this be the source of strange SimplePrincipal instead of my own.
I wirote a commit method as you example, but still get the SimplePrincipal ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=vie
"ragavgomatam" wrote : Nope...Seperate jar file...Put it in the
$JBOSS/server/lib directory OR add it to the classpath in the
run.sh/run.bat...It picks ity up from there
You sure?
looks like it pick it from my project ear. Or may it not work as good ?
View the original post :
http://www.jboss
I think I found the answer to my problem: (thanks to JBoss test suite!)
I was missing a SecurityDomain annotation on my session beans.
@Stateless
| @SecurityDomain("MyCustomSecurityDomain")
| public class MyStatelessBean implements IMyStatelessBean
| {
|@Resource
|SessionContext
Ragav: Are you able to get ejbContext.getCallerPrincipal to return your
CustomPrincipal ?
For example:
@Stateless
| public class MyStatelessBean implements IMyStatelessBean
| {
|@Resource
|SessionContext ejbContext;
|
|public void testMethod()
|{
| My
Hi Kidda,
Can you give me the configuration of this login module.
Where i have to define this login module.
I am using Jboss federated SSO with two application. when i define say
DemoLoginProvider given by Jboss federated SSO it doesn't call this provider
for login it searches for users.propert
Nope...Seperate jar file...Put it in the $JBOSS/server/lib directory OR add it
to the classpath in the run.sh/run.bat...It picks ity up from there
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128514#4128514
Reply to the post :
http://www.jboss.com/index.ht
How to deploy this custom login module? Which jar file should it become part
of? Should it be part of applicartion ear file?
-Kidda
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128508#4128508
Reply to the post :
http://www.jboss.com/index.html?module=bb&
I have a custom login module that is working fine with jboss 4.2.1 and jboss 5
Beta 3. Caveat is I extend the AbstractServerLoginModule NOT
UsernamePasswordLoginModule. But this should not a big issue as
UsernamePasswordLoginModule extends AbstractServerLoginModule. So enjoy...
Code
package c