hi mike

can't help you with spring security but with the second question:

the TokenLoginModule will issue a new login token during the commit
phase if the shared state contains credentials that are supported by
the configured token provider. see doCreateToken(Credentials) for
details.

the default impl of the token provider handles the default jcr
simplecredentials and issues a new token if the latter contains
an empty ".token" attribute. that should provide a backwards
compatible behaviour to jackrabbit 2.x.

hope that helps
angela


On 01/04/15 05:46, "Mike Nimer" <[email protected]> wrote:

>I'm looking for some help configuring the TokenLoginModule with Spring
>Security and I'm hoping someone has some sample code or documentation to
>share.
>
>I have added the TokenLoginModule using the spring
>DefaultJaasAuthenticationProvider & InMemoryConfiguration however I'm
>getting this error on startup and I'm not sure how to get past it.
>
>authorityGranters cannot be null or empty
>
>A second question, if I wanted to use a REST service endpoint for login
>how
>can I create a new Token, for future requests,  since the TokenProvider
>class is not public.
>
>Thanks,
>--mike

Reply via email to