Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-3910 HotRod authentication #2532

Conversation

tristantarrant
Copy link
Member

@tristantarrant tristantarrant changed the title ISPN-3910 + ISPN-3911 HotRod authentication ISPN-3910 HotRod authentication May 2, 2014
@tristantarrant
Copy link
Member Author

Remove the integration code from this PR (ISPN-3911). It will be readded when we rebase our server code to WildFly.

@@ -43,18 +45,29 @@ abstract class AbstractProtocolDecoder[K, V](transport: NettyTransport)
protected var cache: AdvancedCache[K, V] = null
protected var defaultLifespanTime: Long = _
protected var defaultMaxIdleTime: Long = _

var subject: Subject = null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to go here? This class is designed to contain stuff used for both memcached and Hot Rod. Since we're only adding Hot Rod stuff here, wouldn't it make more sense to add it to HotRodDecoder?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In future, when we move to a ProtocolServer for REST (using the Netty <> Resteasy bridge) I want to handle security in only one way

@galderz
Copy link
Member

galderz commented May 5, 2014

@tristantarrant Needs rebasing as indicated on IRC. Other than that it looks good :)

@galderz
Copy link
Member

galderz commented May 5, 2014

Oh, the org.infinispan.client.hotrod.SslTest is failing. Is it related to this?

@tristantarrant
Copy link
Member Author

Yeah, I saw that, let me check my tests if they cleanup correctly

@tristantarrant
Copy link
Member Author

@galderz Rebased and fixed the failing test by using UniquePort :)

@tristantarrant
Copy link
Member Author

Two minor updates: I had forgotten a configuration item for the client (serverName) and I've implemented a method for searching and caching all available SASL mechs

@galderz
Copy link
Member

galderz commented May 7, 2014

Integrated, thanks @tristantarrant :)

@galderz galderz closed this May 7, 2014
@tristantarrant tristantarrant deleted the ISPN-3910/hotrod_authentication branch September 1, 2014 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants