goverdata / usemon

Automatically exported from code.google.com/p/usemon
1 stars 0 forks source link

Usemon principal håndtering #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hallo!

Som jeg har mistenkt før så ser det ut som om det er en bug i usemon ang. 
håndtering av principal.

Query'en under forventer jeg viser pålogget bruker, da denne metoden er 
sikret, men anonymous vises, og ikke den relle brukeren.

/* show all principals for given package, class & method */
select
  distinct(principal),
  class,
  method
from
  method_measurement_fact as m
  join class on class.id = m.class_id
  join method on method.id = m.method_id
  join principal on principal.id = m.principal_id
  join package on package.id=m.package_id
where
  package like '%origo%'
    and class like 'ProfileServiceBean'
  and method like 'getContactPointByContactInfoType'

Query result:
principal       class                   method                           
 ------------   ------------------       --------------------------
------ 
 anonymous     ProfileServiceBean  getContactPointByContactInfoType 

 1 record(s) selected [Fetch MetaData: 0/ms] [Fetch Data: 0/ms] 

 [Executed: 06.03.08 10:22:02 GMT ] [Execution: 18748/ms] 

Original issue reported on code.google.com by lars-tor...@telenor.com on 6 Mar 2008 at 10:40