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
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 Summary
Modifier and TypeMethodDescriptiondefault C
default C
getClassSecurityConfig
(com.inductiveautomation.metro.api.security.SecurityContext ctx) default M
default M
getMethodSecurityConfig
(com.inductiveautomation.metro.api.security.SecurityContext ctx) default com.inductiveautomation.metro.api.security.SecurityContext
-
Method Details
-
getSecurityContext
default com.inductiveautomation.metro.api.security.SecurityContext getSecurityContext() -
getClassSecurityConfig
-
getClassSecurityConfig
-
getMethodSecurityConfig
-
getMethodSecurityConfig
-