Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Authenticatinig user with customer service providers

0 views
Skip to first unread message

simon

unread,
Jul 1, 2002, 1:01:13 PM7/1/02
to

please, please help...

I have posted this before but I have not been able to find out why it doesn't work.
Its extremely frustrating.

Trying to authenticate a user programmatically from a custom built authenticator
spi. I get the following error with this code.

Environment env = new Environment();
env.setProviderUrl(url);
env.setSecurityPrincipal(cardNumber);
env.setSecurityCredentials(passCode);

System.out.println("About to do new authentication");
try
{
Authenticate.authenticate( env,
new Subject() );
}


java.lang.IllegalAccessError: java.security.acl.NotOwnerException
at weblogic.security.acl.Realm.getRealm(Realm.java:94)
at weblogic.security.acl.Realm.getRealm(Realm.java:39)
at weblogic.security.acl.Realm.authenticate(Realm.java:196)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:246)
at weblogic.security.acl.internal.Security.authenticate(Security.java:13
8)
at weblogic.security.acl.internal.Security.authenticate(Security.java:10
7)
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:12
6)
at com.pwc.goldfish.web.application.businessObject.Bank.logon(Bank.java:
110)
at com.pwc.goldfish.web.handlers.LogonHandler.doLogon(LogonHandler.java:
121)
at com.pwc.efssc.web.presentation.action.LogonAction.performAction(Logon
Action.java:65)
at com.pwc.efssc.web.presentation.action.JaffaAction.perform(JaffaAction
java:127)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionSer
vlet.java:1756)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:156
0)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)

0 new messages