X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fimpl%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthorization%2FAnyUserCondition.java;h=c33eced369d533689c5c8079153d4bf1cb1801b8;hb=a0ce32a7a71799300bbf300cf71e76e1782392d3;hp=a9801cf05e2f4f41ab1d503c0687982ddc67240f;hpb=a11c373e6ef35e7fe540c95a94903ed848800612;p=utils diff --git a/security/impl/src/main/java/org/wamblee/security/authorization/AnyUserCondition.java b/security/impl/src/main/java/org/wamblee/security/authorization/AnyUserCondition.java index a9801cf0..c33eced3 100644 --- a/security/impl/src/main/java/org/wamblee/security/authorization/AnyUserCondition.java +++ b/security/impl/src/main/java/org/wamblee/security/authorization/AnyUserCondition.java @@ -16,7 +16,9 @@ package org.wamblee.security.authorization; -import org.wamblee.security.AbstractPersistent; +import javax.persistence.DiscriminatorValue; +import javax.persistence.Entity; + import org.wamblee.usermgt.User; /** @@ -24,8 +26,9 @@ import org.wamblee.usermgt.User; * * @author Erik Brakkee */ -public class AnyUserCondition extends AbstractPersistent implements - UserCondition { +@Entity +@DiscriminatorValue("ANYUSER") +public class AnyUserCondition extends AbstractUserCondition { /** * Constructs the condition. *