This plugin is outdated and might not be supported anymore
Simple Require Login

Simple Require Login

Details
View on WordPress

WordPress plugin that adds a metabox to posts, pages, and custom post types where you can select if the content requires a login and what role is allowed to view the content. The native auth_redirect function is used to redirect users to the login page.

Details

Plugin code:
simple-require-login
Plugin version:
0.2
Outdated:
Yes
WP version:
3.5 or higher
PHP version:
or higher
Test up to WP version:
4.3.34
Total installations:
100
Last updated:
2016-07-06
Rating:
Times rated:
1
admin
authentication
login
password
roles