class SecurityEntryPoint {

    public void onPolicySaved(@Observes AuthorizationPolicySavedEvent event) {
        AuthorizationPolicy policy = event.getPolicy();
        permissionManager.setAuthorizationPolicy(policy);
    }

}