Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. ·...

12
1 © MATERNA GmbH 2012 www.materna.com 1 Bastian Schierbaum [email protected] MATERNA GmbH © MATERNA GmbH 2012 www.materna.com 2 Contents Introduction JMEDS Security Modularity Cleanup Network Management Android Explorer Start and stop devices or classes Security management Future developments

Transcript of Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. ·...

Page 1: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

1

© MATERNA GmbH 2012 www.materna.com 1

Bastian Schierbaum

[email protected] GmbH

© MATERNA GmbH 2012 www.materna.com 2

Contents

Introduction

JMEDS

Security

Modularity Cleanup

Network Management

Android

Explorer

Start and stop devices or classes

Security management

Future developments

Page 2: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

2

© MATERNA GmbH 2012 www.materna.com 3

Contents

JMEDS modularity enables: Staying lightweight

Going beyond DPWS

Extensibility

This presentation: from improvements of the current (modularity)

over communication feature (network refreshing unit)

to solutions for more specific challenges

© MATERNA GmbH 2012 www.materna.com 4

JMEDS: Security

Security

It is now possible to sign discovery messages

use secure communication over TLS/SSL

authorize with username and password

Page 3: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

3

© MATERNA GmbH 2012 www.materna.com 5

JMEDS: Security

Signed Discovery using compact signature format

currently no canonicalization

Secure channel TLS/SSL with or without credentials

Authentication with X.509.v3 certificate

with username and password

© MATERNA GmbH 2012 www.materna.com 6

JMEDS: Security

CredentialInfo main class for Security

includes various credentials

cred

entia

linf

o

signing + ssl

„LocalCertificateCredentialInfo“

(truststore, keystore, key alias)

„RemoteCertificateCredentialInfo“

(certificate)

username + password

(http authorization)

„LocalUserCredentialInfo“

„RemoteUserCredentialInfo“

Page 4: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

4

© MATERNA GmbH 2012 www.materna.com 7

JMEDS: Security

Security key essential class for getting devices and services

includes discovery information (e.g. interface id and credential info)

credential info for secure channels

use to get device reference

service reference

© MATERNA GmbH 2012 www.materna.com 8

JMEDS: Modularity Cleanup

lesser dependencies between modules

replaceability of modules

some modules are usable independently

Modularity Cleanup

Page 5: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

5

© MATERNA GmbH 2012 www.materna.com 9

JMEDS: Modularity Cleanup

comMan_DPWS

SE

Core

ip_tcp_udpCDC

CLDC

security

attachment

eventing

optional components

SE

CDC

CLDC

Android

platform

http_mime

service_device

client

main modules

Android

communication

JMEDS Modules

© MATERNA GmbH 2012 www.materna.com 10

JMEDS: Network Management

Network Management

Monitor monitor network interfaces

announce changes

Autobinding several settings

automatic adjustment to network changings

Page 6: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

6

© MATERNA GmbH 2012 www.materna.com 11

JMEDS: Network Management

Updates automatically interfaces

addresses

discovery domains

Manage changes interface up, down, multicast status

address added, deleted

Announce changes toclients, devices, services, event sinks bindings

auto bindings

discovery domains

© MATERNA GmbH 2012 www.materna.com 12

JMEDS: Network Management

Autobindings generate and manage bindings

IP discovery autobinding input

interfaces

IP versions (v4 / v6)

credential info

output IP discovery bindings (unsecure / secure)

IP communication autobinding input

interfaces

IP versions (v4 / v6)

path

port

credential info

output http / https bindings

Page 7: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

7

© MATERNA GmbH 2012 www.materna.com 13

JMEDS: Android

Most of JMEDS is compatible with Android

Some modules have android specific implementations ip_tcp_udp_android

platform_android

security_android

Android

© MATERNA GmbH 2012 www.materna.com 14

JMEDS: Android

ip_tcp_udp_android to find your wifi address automatically

to receive events if addresses or interfaces have changed (network refreshing unit)

platform_android

to access the android context from JMEDS

to use android specific folders like: assets, int , ext

security_android to use keystores of type „BKS“ instead of „JKS“

Page 8: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

8

© MATERNA GmbH 2012 www.materna.com 15

Explorer

© MATERNA GmbH 2012 www.materna.com 16

Explorer: Start and stop devices or classes

Start and stop devices or classes Execute at run time

Start devices (uses constructor)

any classes (uses main method)

Stop devices

Page 9: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

9

© MATERNA GmbH 2012 www.materna.com 17

Start and stop devices or classes

© MATERNA GmbH 2012 www.materna.com 18

Explorer: Security management

Operations on stores, certificates, keys generate

import and export

manage

Security management

Page 10: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

10

© MATERNA GmbH 2012 www.materna.com 19

Explorer: Security Management

© MATERNA GmbH 2012 www.materna.com 20

Explorer: Security management

Edit Store

Key and Certificate Properties

Page 11: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

11

© MATERNA GmbH 2012 www.materna.com 21

Explorer: Security management

© MATERNA GmbH 2012 www.materna.com 22

Future developments

Stack bugfixing

interoperability test

Explorer improved modularization

plugins for UPnP, Bluetooth

properties via Memento

explorer for Android

Page 12: Contentsws4d.e-technik.uni-rostock.de/wp-content/uploads/2012/10/... · 2012. 12. 19. · refreshing unit) platform_android to access the android context from JMEDS to use android

12

© MATERNA GmbH 2012 www.materna.com 23

Questions

Questions ?