Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active November 23, 2019 14:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/2735e9c8845fe1eba40720281d9c2c09 to your computer and use it in GitHub Desktop.
Save AdamBien/2735e9c8845fe1eba40720281d9c2c09 to your computer and use it in GitHub Desktop.
68thAirhacksQ&A.md

Ask questions and see you at November, 1st, 6.PM. CET: http://www.ustream.tv/channel/adambien

Also checkout recent episode:

67th airhacks.tv

Please keep the questions Java EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.

@ggam
Copy link

ggam commented Nov 23, 2019

@mhrnr You can use Expression Language in order to get configuration value from a CDI bean. See an example: https://github.com/eclipse-ee4j/soteria/blob/master/test/app-custom-rememberme/src/main/java/org/glassfish/soteria/test/TestAuthenticationMechanism.java#L40

That's part of the spec and so is totally portable. A future version of the spec will probably add MicroProfile Config support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment