• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error getting SecurityCurrent from the ORB  RSS feed

 
Roman Pavlov
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I write LoginModule which creates Subject populated with WSPrincipal and WSCredential.
when I attempt to create ServerSideAuthenticator or LoginHelper I receive this exception
java.lang.IllegalStateException: Error getting EecurityCurrent from the ORB
at com.ibm.ws.security.util.LoginHelper.getSecurityCurrent(LoginHelper.java:183)
at com.ibm.ws.security.util.LoginHelper.<init>(LoginHelper.java:65)
at com.ibm.ws.security.util.ServerSideAuthenticator.<init>(ServerSideAuthenticator.java:28)
at login.HTTPSimpleLoginModule.commit(HTTPSimpleLoginModule.java:176)

GlobalSecutity is not activated. So I think CORBA (ORB) or SAS are not properly installed.
Can anybody explain how make it work, what I should write to sas.client.props and sas.server.props?
URLs to resources which can help to solve this problem are welcome.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!