199200201202203204205206
return Beans.getReference(SecurityConfig.class); } public void checkLoggedIn() throws NotLoggedInException { if (!isLoggedIn()) { throw new NotLoggedInException(getBundle().getString("user-not-authenticated")); } }
208209210211212213214215
} public void checkLoggedIn() throws NotLoggedInException { if (!isLoggedIn()) { ResourceBundle bundle = ResourceBundleProducer.create("demoiselle-core-bundle"); throw new NotLoggedInException(bundle.getString("user-not-authenticated")); } }
198199200201202203204205
203204205206207208209210
} private void checkLoggedIn() throws NotLoggedInException { if (!isLoggedIn()) { ResourceBundle bundle = ResourceBundleProducer.create("demoiselle-core-bundle"); throw new NotLoggedInException(bundle.getString("user-not-authenticated")); } }
227228229230231232233234
45464748495051
public class AuthenticationBean implements Serializable { private static final long serialVersionUID = 1L; public String getMsg() { throw new NotLoggedInException(""); }