@staticmethod<EOL><INDENT>def requires_guest(fn):<DEDENT>
@functools.wraps(fn)<EOL>def wrap(*args, **kwargs):<EOL><INDENT>subject = WebYosai.get_current_subject()<EOL>if subject.identifiers is not None:<EOL><INDENT>msg = ("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>")<EOL>raise WebYosai.get_current_webregistry().raise_unauthorized(msg)<EOL><DEDENT>return fn(*args, **kwargs)<EOL><DEDENT>return wrap<EOL>
Requires that the calling Subject be NOT (yet) recognized in the system as
a user -- the Subject is not yet authenticated nor remembered through
RememberMe services.

This method essentially ensures that subject.identifiers IS None