© materna gmbh 2012 materna ws4d-jmeds and explorer bastian schierbaum...
TRANSCRIPT
© MATERNA GmbH 2012 www.materna.com 1
MATERNA
WS4D-JMEDS
and
ExplorerBastian 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
© 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
© 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
l inf
o
signing + ssl
„LocalCertificateCredentialInfo“
(truststore, keystore, key alias)
„RemoteCertificateCredentialInfo“
(certificate)
username + password
(http authorization)
„LocalUserCredentialInfo“
„RemoteUserCredentialInfo“
© 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
© 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
© 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 to clients, 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
© 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“
© MATERNA GmbH 2012 www.materna.com 16
Explorer
© MATERNA GmbH 2012 www.materna.com 17
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
© MATERNA GmbH 2012 www.materna.com 18
Start and stop devices or classes
© MATERNA GmbH 2012 www.materna.com 19
Explorer: Security management
Operations on stores, certificates, keys generate import and export manage
Security management
© MATERNA GmbH 2012 www.materna.com 20
Explorer: Security Management
© MATERNA GmbH 2012 www.materna.com 21
Explorer: Security management
Edit Store
Key and Certificate Properties
© MATERNA GmbH 2012 www.materna.com 22
Explorer: Security management
© MATERNA GmbH 2012 www.materna.com 23
Future developments
Stack bugfixing interoperability test
Explorer improved modularization plugins for UPnP, Bluetooth properties via Memento explorer for Android