greptilian logo

IRC log for #friendlyjava, 2014-08-04

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:26 aditsu joined ##friendlyjava
02:27 firebird1 joined ##friendlyjava
02:29 firebird1 still i havent started using java 8 features
03:40 firebird1 joined ##friendlyjava
08:34 cem__ joined ##friendlyjava
08:34 cem__ hey philbot
08:34 cem__ hey pdurbin
08:35 cem__ why sessionscope key must be string only
08:35 cem__ disabled="#{empty sessionScope['ACTION_MAP'][sessionSco​pe.LOOKUP_ACTION_MAP['24']]['Edit']}"
08:35 cem__ works
08:35 cem__ disabled="#{empty sessionScope['ACTION_MAP'][sessionSc​ope.LOOKUP_ACTION_MAP[24]]['Edit']}"
08:35 cem__ doesnt work
08:36 cem__ got it
08:37 cem__ still didnt get it :(
08:38 cem__ all it does is session access a attribute and it has map of map Object
12:53 aditsu_ joined ##friendlyjava
13:18 pdurbin what's better for a security framework? role-based or permission-based?
13:18 pdurbin I'm looking at http://javaeesquad.blogspot.be/2014/03/octopus-framework.html
14:10 aditsu joined ##friendlyjava
16:15 firebird1 joined ##friendlyjava
18:19 aditsu joined ##friendlyjava
18:22 aditsu pdurbin: I don't really get it.. how is role-based different from permission-based and why would it require recompilation?
20:13 pdurbin aditsu: I guess in what he's calling "role-based" there are explicit checks in the code for user.isManager or whatever
20:18 aditsu oh ok.. that works in simple cases, but in a more complex system you'd probably want permissions for actions and assign permissions to roles using a database
20:32 pdurbin yeah, that's what we're doing... assigning permissions to roles... and assigning roles to users or groups
20:35 pdurbin we assign a role to an Assignee... because we can't think of a better word for something that can be a user or a group
20:36 pdurbin well, I guess we're calling it a RoleAssignee (to be even more clear about what it is)
20:36 pdurbin but it means a user or a group

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode