Close

NoSQL – MongoDB

Key / Valye (HashMap)Tabular (BigTable)Document Oriented no Joinsno Complex Transactionsno SQL databasse -> databasetable -> collectionrow -> document JSON style document (BSON on the mongoDB servers) no predefined schematable has schemacollection does not have schema we do not need to pre-create the collection, first insertion will create the collection _id : timestamp+machine id+process id+counter db.posts.find$gt…

JBoss and security

JBoss implementaiton of security is JBossSX. It both supports declarative J2EE (JEE) and role-based security model. Default implementation for declarative security model is JAAS. Declarative: you declare the security roles and permissions using a standard XML message, rather than embedding in your code. Secure access to EJBs and web components using ejb-jar.xml and web.xml deployment…

JAAS Notes

Java Authentication and Authorization Service, or JAAS, pronounced “Jazz” Configuration files for JAAS *.login.conf (e.g. form login) *.policy (which identity grant which permission) LoginModule (interface) LoginContext (Class) Kick off authentication process by creating a subject (if no subject passed to it will create a new one) Subject e.g. user, resource, system, … Principal Face of…