Componet managed authentication & Container manged authentiction are the secutiy setting for authenticating the resources.
In Component mangaged authentication, authentication can be done at components i.e what we defined at J2C authentication.
In Container manged authentication, authentication can be done at continer level and it will happen when absence of Component managed authentication.