Midlet security

How does one access web resources which need basic authentication using a javax.microedition.io.HttpConnection?I would need Base64 encoder, right?I guess I could not use sun.misc.BASE64Decoder in J2ME, wrong?
[236 byte] By [arne] at [2007-9-26 6:26:37]
# 1

basic authentication, declared in RFC2617, needs an base64 encoder.

you guess right, unfortunaly you cant - but you can take advantage of

http://kobjects.org/src/org/kobjects/

i guess, thats exactly what you need, after understanding the rfc2617authentication scheme.

have fun

-michael

mikoehler at 2007-7-1 15:30:53 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
Base64 encoder/decoder with an example of basic authentication: http://ostermiller.org/utils/Base64.html
thedeadsea at 2007-7-1 15:30:53 > top of Java-index,Java Mobility Forums,Consumer and Commerce...