use of io.joynr.jeeintegration.api.security.JoynrCallingPrincipal in project joynr by bmwcarit.
the class ProviderWrapper method copyMessageCreatorInfo.
private void copyMessageCreatorInfo() {
JoynrMessageCreator joynrMessageCreator = injector.getInstance(JoynrMessageCreator.class);
JoynrCallingPrincipal reference = getUniqueBeanReference(JoynrCallingPrincipal.class);
String messageCreatorId = joynrMessageCreator.getMessageCreatorId();
LOG.trace("Setting user '{}' for message processing context.", messageCreatorId);
reference.setUsername(messageCreatorId);
}
Aggregations