Skip to content

Instantly share code, notes, and snippets.

@sw-samuraj
Last active January 4, 2018 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sw-samuraj/efaed2fcb885fb533938a2203cd7511f to your computer and use it in GitHub Desktop.
Save sw-samuraj/efaed2fcb885fb533938a2203cd7511f to your computer and use it in GitHub Desktop.
@Bean
public MetadataGeneratorFilter metadataGeneratorFilter() {
MetadataGenerator metadataGenerator = new MetadataGenerator();
metadataGenerator.setEntityId("cz:swsamuraj:wicket:spring:sp");
metadataGenerator.setKeyManager(keyManager());
return new MetadataGeneratorFilter(metadataGenerator);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment