Annotation Type TestSecurity

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      SecurityAttribute[] attributes  
      boolean authorizationEnabled
      If this is false then all security constraints are disabled.
      String[] roles
      Used in combination with user() to specify the users roles.
      String user
      If this is non-zero then the test will be run with a SecurityIdentity with the specified username.
    • Element Detail

      • authorizationEnabled

        boolean authorizationEnabled
        If this is false then all security constraints are disabled.
        Default:
        true
      • user

        String user
        If this is non-zero then the test will be run with a SecurityIdentity with the specified username.
        Default:
        ""
      • roles

        String[] roles
        Used in combination with user() to specify the users roles.
        Default:
        {}