Interface SecurityRule


  • @Internal
    public interface SecurityRule
    Copy of class io.micronaut.security.rules.SecurityRule from micronaut-security.
    Since:
    4.8.7
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DENY_ALL
      The token to represent no security roles are allowed.
      static java.lang.String IS_ANONYMOUS
      The token to represent allowing anonymous access.
      static java.lang.String IS_AUTHENTICATED
      The token to represent allowing any authenticated access.
    • Field Detail

      • IS_ANONYMOUS

        static final java.lang.String IS_ANONYMOUS
        The token to represent allowing anonymous access.
        See Also:
        Constant Field Values
      • IS_AUTHENTICATED

        static final java.lang.String IS_AUTHENTICATED
        The token to represent allowing any authenticated access.
        See Also:
        Constant Field Values
      • DENY_ALL

        static final java.lang.String DENY_ALL
        The token to represent no security roles are allowed.
        See Also:
        Constant Field Values