org.zodiac.autoconfigure.security.condition.ConditionalOnSecurityJwtEnabled Maven / Gradle / Ivy
package org.zodiac.autoconfigure.security.condition;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@ConditionalOnClass(name = {"org.zodiac.security.jwt.config.SecurityJwtInfo", "org.springframework.security.jwt.Jwt"})
@ConditionalOnProperty(value = org.zodiac.security.constants.SecuritySystemPropertiesConstants.SPRING_SECURITY_TOKEN_JWT_ENABLED, havingValue = "true", matchIfMissing = true)
public @interface ConditionalOnSecurityJwtEnabled {
}