Constant** | Description | Default |
---|---|---|
kaptcha.border | Border around kaptcha. Legal values are yes or no.[kaptcha周圍的邊界。 合法值為是或否。] | yes |
kaptcha.border.color | Color of the border. Legal values are r,g,b (and optional alpha) or white,black,blue.[邊框的顏色。 合法值為r,g,b(和可選的alpha)或白色,黑色,藍色。] | black |
kaptcha.border.thickness | Thickness of the border around kaptcha. Legal values are > 0.[kaptcha周圍邊界的粗細。 合法值> 0。] | 1 |
kaptcha.image.width | Width in pixels of the kaptcha image.[kaptcha圖像的寬度(以像素為單位)。] | 200 |
kaptcha.image.height | Height in pixels of the kaptcha image.[kaptcha圖像的高度(以像素為單位)。] | 50 |
kaptcha.producer.impl | The image producer.[圖像制作人。] | com.google.code.kaptcha.impl.DefaultKaptcha |
kaptcha.textproducer.impl | The text producer.[文本生產者。] | com.google.code.kaptcha.text.impl.DefaultTextCreator |
kaptcha.textproducer.char.string | The characters that will create the kaptcha.[將創建kaptcha的字符。] | abcde2345678gfynmnpwx |
kaptcha.textproducer.char.length | The number of characters to display.[要顯示的字符數。] | 5 |
kaptcha.textproducer.font.names | A list of comma separated font names.[逗號分隔的字體名稱列表。] | Arial, Courier |
kaptcha.textproducer.font.size | The size of the font to use.[要使用的字體大小。] | 40px. |
kaptcha.textproducer.font.color | The color to use for the font. Legal values are r,g,b.[字體使用的顏色。 合法值為r,g,b。] | black |
kaptcha.textproducer.char.space | The space between the characters[字符之間的間隔] | 2 |
kaptcha.noise.impl | The noise producer.[噪音產生者。] | com.google.code.kaptcha.impl.DefaultNoise |
kaptcha.noise.color | The noise color. Legal values are r,g,b.[雜色。 合法值為r,g,b。] | black |
kaptcha.obscurificator.impl | The obscurificator implementation.[模糊化器的實現。] | com.google.code.kaptcha.impl.WaterRipple |
kaptcha.background.impl | The background implementation.[背景實現。] | com.google.code.kaptcha.impl.DefaultBackground |
kaptcha.background.clear.from | Starting background color. Legal values are r,g,b.[起始背景色。 合法值為r,g,b。] | light grey |
kaptcha.background.clear.to | Ending background color. Legal values are r,g,b.[結束背景色。 合法值為r,g,b。] | white |
kaptcha.word.impl | The word renderer implementation.[單詞渲染器實現。] | com.google.code.kaptcha.text.impl.DefaultWordRenderer |
kaptcha.session.key | The value for the kaptcha is generated and is put into the HttpSession. This is the key value for that item in the session.[生成kaptcha的值,並將其放入HttpSession中。 這是會話中該項目的鍵值。] | KAPTCHA_SESSION_KEY |
kaptcha.session.date | The date the kaptcha is generated is put into the HttpSession. This is the key value for that item in the session.[生成kaptcha的日期放入HttpSession中。 這是會話中該項目的鍵值。] | KAPTCHA_SESSION_DATE |