Interface SecuredEntityImplementation<C,​M>

  • Type Parameters:
    C - The type of the class-level config object. Use Void if no class security is defined.
    M - The type of the method-level config object. Use Void if no method security is defined.
    All Known Subinterfaces:
    AlarmJournalSecurityMarker, AuditProfileSecurityMarker, TagHistorySecurityMarker
    All Known Implementing Classes:
    TagHistoryStorageIntent, TagHistoryStorageServiceImpl

    public interface SecuredEntityImplementation<C,​M>
    This interface can be implement (it is not required) by services and intents that use the SecuredEntity annotation in order to gain access to some handy helper functions concerning security config.
    • Method Detail

      • getSecurityContext

        default com.inductiveautomation.metro.api.security.SecurityContext getSecurityContext()
      • getClassSecurityConfig

        default C getClassSecurityConfig()
      • getClassSecurityConfig

        default C getClassSecurityConfig​(com.inductiveautomation.metro.api.security.SecurityContext ctx)
      • getMethodSecurityConfig

        default M getMethodSecurityConfig()
      • getMethodSecurityConfig

        default M getMethodSecurityConfig​(com.inductiveautomation.metro.api.security.SecurityContext ctx)