I am using JMS Security bundle to secure methods and controllers. When non previleged user access the secure page then i get this error
Token does not have the required roles.
Is there any way , i can make that custom page and more defined error message
If JMSSecurityExtraBundle answers you with a 403
error [and it should], you may customize it following Symfony guidelines.