AuthenticationContext bean definition moved to security context.
Seperated spring security context for flexible enabling/disabling of security.
Implemented permission evaluator for authorization logic.