ibm-sbt

Can't set managed bean property


When I try to set a tokenstore property to my managed bean, I will get an error enter image description here

In my faces-config.xml I put my tokenstore Managed Bean and I refer to this managed bean in my Endpoint managed bean. I follow the example in the SDK Install guide on page 20. enter image description here

What do I do wrong? Or is the SDK Install guide not up to date.


Solution

  • Is there a bean called memoryStore defined as well? For example here is the Smart Cloud Store..

    <managed-bean>
        <managed-bean-name>SmartcloudStore</managed-bean-name>
        <managed-bean-class>com.ibm.sbt.security.authentication.oauth.consumer.store.MemoryTokenStore</managed-bean-class>
    
        <managed-bean-scope>application</managed-bean-scope>
    </managed-bean>