© MATERNA GmbH 2012www.materna.com1 MATERNA WS4D-JMEDS and Explorer Bastian Schierbaum MATERNA GmbH
© MATERNA GmbH 2012www.materna.com2 Contents Introduction JMEDS Security Modularity Cleanup Network Management Android Explorer Start and stop devices or classes Security management Future developments
© MATERNA GmbH 2012www.materna.com3 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 2012www.materna.com4 JMEDS: Security Security It is now possible to sign discovery messages use secure communication over TLS/SSL authorize with username and password
© MATERNA GmbH 2012www.materna.com5 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 2012www.materna.com6 JMEDS: Security CredentialInfo main class for Security includes various credentials credential info signing + ssl „LocalCertificateCredentialInfo“ (truststore, keystore, key alias) „RemoteCertificateCredentialInfo“ (certificate) username + password (http authorization) „LocalUserCredentialInfo“ „RemoteUserCredentialInfo“
© MATERNA GmbH 2012www.materna.com7 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 2012www.materna.com8 JMEDS: Modularity Cleanup lesser dependencies between modules replaceability of modules some modules are usable independently Modularity Cleanup
© MATERNA GmbH 2012www.materna.com9 JMEDS: Modularity Cleanup comMan_DPWS SE Core ip_tcp_udp CDC CLDC security attachment eventing optional components SE CDC CLDC Android platform http_mime service_device client main modules Android communication JMEDS Modules
© MATERNA GmbH 2012www.materna.com10 JMEDS: Network Management Network Management Monitor monitor network interfaces announce changes Autobinding several settings automatic adjustment to network changings
© MATERNA GmbH 2012www.materna.com11 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 2012www.materna.com12 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 2012www.materna.com13 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 2012www.materna.com14 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 2012www.materna.com15 JMEDS: Others Others
© MATERNA GmbH 2012www.materna.com16 Explorer
© MATERNA GmbH 2012www.materna.com17 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 2012www.materna.com18 Start and stop devices or classes
© MATERNA GmbH 2012www.materna.com19 Explorer: Security management Operations on stores, certificates, keys generate import and export manage Security management
© MATERNA GmbH 2012www.materna.com20 Explorer: Security Management
© MATERNA GmbH 2012www.materna.com21 Explorer: Security management Edit Store Key and Certificate Properties
© MATERNA GmbH 2012www.materna.com22 Explorer: Security management
© MATERNA GmbH 2012www.materna.com23 Future developments Stack bugfixing interoperability test Explorer improved modularization plugins for UPnP, Bluetooth properties via Memento explorer for Android