Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wmiaw
Copy link
Contributor

@wmiaw wmiaw commented Feb 11, 2016

Fixes #74.

  • Set ClientRequestMessageContext user ID, user auth data, and key request data at context creation.
  • Set CommonMslContext entity auth data at context creation.
  • Change Client to instantiate, and therefore reconfigure with the latest values, the MslContext just prior to calling MslControl.request(). This is OK for now because the MslStore is shared via the appCtx, and we don't really care about having the remote entity clock synchronized.

These changes together prevent RuntimeExceptions from being thrown as a result of the MslContext, MessageContext, or MslConfiguration being incomplete or unusable only after calling MslControl.request().

…est data at context creation.

Set CommonMslContext entity auth data at context creation.
Change Client to instantiate, and therefore reconfigure with the latest values, the MslContext just prior to calling MslControl.request(). This is OK for now because the MslStore is shared via the appCtx, and we don't really care about having the remote entity clock synchronized.
These changes together prevent RuntimeExceptions from being thrown as a result of the MslContext, MessageContext, or MslConfiguration being incomplete or unusable only after calling MslControl.request().
…nHandle.getUserAuthenticationData(), if there is no data.
@wmiaw wmiaw added the bug label Feb 11, 2016
@wmiaw wmiaw self-assigned this Feb 11, 2016
wmiaw added a commit that referenced this pull request Feb 11, 2016
Set configuration data at construction time to avoid runtime exceptions during MslControl.request()
@wmiaw wmiaw merged commit 7f46589 into master Feb 11, 2016
@wmiaw wmiaw deleted the mslcli-runtimeexceptions branch February 11, 2016 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants