Hi There,

I have two relevant questions:


the first one is, I am using User Admin Service and BndTools in eclipse, an 
useradmin service is resolving the implementation to knoplerfish 
implementation. I do


@Reference

UserAdmin userAdmin


.....

@Activate

public void initSecurity(){

User peter = (User) userAdmin.createRole("peter", Role.USER);

}


"peter" return null. am i using it wrong?


as a secondary but relevant question, I am using "Http Whiteboard 
Specification" However I do not know how I can integrate it with simple 
authentication. can you give me some pointers?


thanks in advance

-daghan
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to