public static boolean loginAtStart ( ) { boolean loginAtStart = Application . getInstance ( ) . isLoginRequired ( ) || Configuration . get ( "MjLoginAtStart" , "false" ) . equals ( "true" ) ; if ( loginAtStart && ! Backend . getInstance ( ) . isAuthenticationActive ( ) ) { throw new IllegalStateException ( "Login required but authorization is not configured!" ) ; } return loginAtStart ; }
just a helper method for all frontends . Is it at the right place here?