|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityGateway
A SecurityGateway will often be specific to a berkano subapplication?.. then the getRoles method would only return the roles of that app... And each app would register its own SecurityGateway in its own picocontainer?? that sounds interesting See the Gateway pattern in M.Fowler's book. It might also be seen as some sort of Adapter(GOF) Also check Mapper(Fowler) and ServiceStub(Fowler)
| Method Summary | |
|---|---|
boolean |
authenticate(Authenticator authenticator)
Deprecated. Mimics the JAAS authentication, with Callback and CallbackHandler. |
boolean |
hasPermission(User user,
java.lang.String permission)
Deprecated. |
boolean |
logout(Authenticator authenticator)
Deprecated. |
| Method Detail |
|---|
boolean authenticate(Authenticator authenticator)
boolean logout(Authenticator authenticator)
boolean hasPermission(User user,
java.lang.String permission)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||