I am trying to create a Java only client to be used for testing purposes. I
am using Stormpath. I'm attempting to create a SecurityManager from a
shiro.ini file. Here is the code:

        Factory<SecurityManager> factory = new
IniSecurityManagerFactory("classpath:shiro.ini");
        SecurityManager securityManager = factory.getInstance();
        SecurityUtils.setSecurityManager(securityManager);

When executed, I get :

java.lang.ClassNotFoundException: com.stormpath.sdk.client.ApiKeys

I have searched for this class, and I have only found it in older versions
of stormpath-sdk-api, so it seems to either have been obsoleted or
relocated.

I am using :
shiro-core 1.3.1
stormpath-shiro-core 0.6.0

I'm new to this, so I'm not sure if I'm going about this the wrong way, or
if I just have a configuration mismatch?

Any guidance would be appreciated.




--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Java-only-client-tp7581253.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to