ibm mobilefirst - Disabling default security using @OAuthSecurity(enabled=false) -


the following link indicates security can disabled using @oauthsecurity(enabled=false) - see under "security configuration of jax-rs resource"

question:

  • does mean default security disabled?

i have scenario wherein javascript adapter (developed , being used in previous version of product) auto-deployed on upgraded server (from 6.1 7.0) - using in-place upgrade. js adapter had no security tests defined , such not protected.

question:

  • when adapter runs on 7.0 - out-of-the-box default security take effect? if so, how 1 disable it?

thanks, in anticipation.

starting mfpf 7.0 there two authentication models:

  • classic: know pre-7.0 versions
  • oauth-based

if adapter developed in classic way, continues work before. if want procedure have no security defined it, not default internal 1 (when not setting securitytest), use securitytest="wl_unprotected".

@oauthsecurity(enabled=false) refers java adapters whereas asking existing javascript adapter... or not?


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -