Jwang limit resource access

Check the authentication header of an HTTP request to see if it's from an admin with the correct password. Limit the "shutdown" REST API to be accessed by admin only. 
why beta 1 vs the 1.2 release? http://mvnrepository.com/artifact/javax.annotation/javax.annotation-api

1.2 is newer (April 2013) vs 1.2-b01 (Jan 2013).