1 porsjon metter to sultne
- 1½ dl hvetemel
- 1½ dl sammalt hvetemel, fin
- 1 dl havregryn
- ½ ts salt
- ½ ts bakepulver
- 4 dl lettmelk (0.5%/0.7% aka ekstra lett)
<ehcache> | |
<diskStore path="java.io.tmpdir"/> | |
<defaultCache | |
name="name_of_cache" | |
maxEntriesLocalHeap="1000" | |
eternal="false" | |
timeToIdleSeconds="120" | |
timeToLiveSeconds="120" | |
overflowToDisk="true" | |
maxEntriesLocalDisk="10000000" |
public class SecureKeyGenerator implements KeyGenerator { | |
@Override | |
public Object generate(Object target, Method method, Object... params) { | |
Object keyPostFix = new DefaultKeyGenerator().generate(target, method, params); | |
if (target instanceof SecureKeyAware && ((SecureAware) target).getSecureKey() != null) { | |
return ((SecureKeyAware) target).getSecureKey() + keyPostFix; | |
} else { |