Skip to content

Instantly share code, notes, and snippets.

@sgaem
Created January 31, 2020 06:54
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 sgaem/5395c027d1c8c82504407cea449553ad to your computer and use it in GitHub Desktop.
Save sgaem/5395c027d1c8c82504407cea449553ad to your computer and use it in GitHub Desktop.
package aem.training.core.config;
import org.apache.sling.caconfig.annotation.Configuration;
import org.apache.sling.caconfig.annotation.Property;
/**
* Context Aware configuration for Google ReCaptcha.
*
* @author shivani Date Created: 31 January 2020
*/
@Configuration(label = "Recaptcha Based CA Config")
public @interface GoogleReCaptchaConfiguration {
@Property(label = "Site Key")
String siteKey();
@Property(label = "Secret Key")
String secretKey();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment