Simple security realm implementation